Skip to content

Cross-repo fails with failed to load PR info #283

Description

@bkhouri

There are occasions where the enable_cross_pr_testing: true setting on the swift_pacakge_test.yml fails with the following.

Run cat /__w/swift-package-manager/swift-package-manager/github-workflows/.github/workflows/scripts/cross-pr-checkout.swift > /tmp/cross-pr-checkout.swift
  cat /__w/swift-package-manager/swift-package-manager/github-workflows/.github/workflows/scripts/cross-pr-checkout.swift > /tmp/cross-pr-checkout.swift
  swift /tmp/cross-pr-checkout.swift "swiftlang/swift-package-manager" "10208"
  shell: sh -e {0}
Failed to load PR info from https://api.github.com/repos/swiftlang/swift-package-manager/pulls/10208: keyNotFound(CodingKeys(stringValue: "base", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"base\", intValue: nil) (\"base\").", underlyingError: nil))
Error: Process completed with exit code 1.

Here are some workflows runs:

Activity

  1. added a commit that references this issue on Jun 15, 2026
    aa1bf5c
  2. added a commit that references this issue on Jun 24, 2026
    9abcbf2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions