Repository navigation
Conversation
Collaborator
|
I don't know if we want this for all hackbot agents. It makes sense for CI agents, but not so much for generic ones? For generic ones, I imagine only sccache, etc. |
Contributor
Author
Makes sense, didn't know what other agents were doing in relation to building similar to how it's done in CI, so we can focus sccache and faster checkouts. |
jwmossmoz
force-pushed
the
relops/hackbot-firefox-ci-build
branch
from
November 19, 2026 20:11
cca7097 to
5e0973c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Share build preparation so bug-fix bootstraps its toolchain before its first native build, and build-repair selects CI task settings explicitly.
Why
Downloaded Oct 3–Nov 2 logs show missing-Rust build results in 78 of 133 bug-fix runs and 16 ignored-directory results. Autowebcompat's artifact builds succeeded in 49 of 51 calls, so its build configuration stays unchanged. These are logged tool results, not a complete audit of builds run through Bash.
Changes
bootstrap_before_build.build_firefoxthen runsmach bootstraponce before the first build and keeps the mozconfig. Triage-only runs do no setup. An explicitbootstrap_firefoxcall counts, so artifact and Android selection still work. A setup failure stops the build.agent_tools.firefox.ci_buildbehindconfigure_ci_build(). A CI setup counts as bootstrapped, so bootstrap never runs over CI's toolchains. The CI environment goes to the build process only, not toos.environ.build_firefoxreturns failure when mach ignores the requested directory, even if mach exits 0.Validation
test_bootstrap_runs_without_controlling_terminalneeds Linux/proc); build-repair 56 passed; bug-fix 12 passed, 4 skipped.51761d4.Other
No full-agent Firefox or Cloud Run run validates this update. Remote sccache comes in a follow-up. Keep this PR draft until the native preparation path has an end-to-end Firefox check.