Skip to content

Map git revisions of GitHub-checkout tasks to hg in build-repair and test-repair - #7522

Open
evgenyrp wants to merge 1 commit into
masterfrom
agents-git-head-rev-7521
Open

evgenyrp wants to merge 1 commit into
masterfrom
agents-git-head-rev-7521

Conversation

@evgenyrp

@evgenyrp evgenyrp commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #7521.

Build tasks now check out the GitHub mirror, so their GECKO_HEAD_REV is a git SHA. The agents passed it to the hg pushlog as is, which returns 404. The pulse listener got the same fix in #7274.

  • build-repair and test-repair map the revision to hg with lando git2hg when GECKO_HEAD_REPOSITORY is on GitHub.
  • build-repair uses the git SHA directly as the failure commit.

Tested locally with docker compose on the failing task Ix6EEJ4VSG-IoywJMMNEtw: the push and Treeherder job resolved and the run completed.

@evgenyrp
evgenyrp requested a review from a team as a code owner November 16, 2026 20:47
@evgenyrp
evgenyrp enabled auto-merge (squash) November 16, 2026 21:40

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build repair agent fails with HTTPError: 404 Client Error: Not Found for url:

1 participant