Repository navigation
ci: fix runtime patch profiles and Go smoke fixtures - #287
Merged
Merged
Conversation
There was a problem hiding this comment.
More details
The exact-path exclusions preserve consumers’ Bazel configuration while retaining runtime changes and rejection of unknown paths. The completed static review found no reportable defects.
🤖 Bits Code Review · Commit 33057eb
|
This comment will be updated automatically if new data arrives. 🔗 Commit SHA: 467145c | Docs | View more details | Give us feedback! |
The fixture intentionally imports a nonexistent module. Isolate Go module and toolchain settings so metadata lookup does not depend on public proxies or host configuration. Keep the original assertions and timeout; synchronize all four maintained fork test files and canonical patch series.
juan-fernandez
approved these changes
Oct 29, 2026
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.
Stack: #287 → #286. This base PR combines the CI fixes previously split between #287 and #288, plus a test-only follow-up found in the new CI run. The Windows-fix commit was incorporated by fast-forward; #286 keeps its existing head and is based directly on this branch.
Two CI paths were out of sync after the Bazel 8.8.2 security update in #284. Both failures already occur on
mainand block unrelated changes, including the release work in #286.Runtime patch profiles
The patch generator rejects changed files that a profile does not classify. The security update changed five development-only paths that neither runtime profile listed:
Both profiles now exclude those exact paths. They configure development of the vendored fork; consumers keep their own Bazel settings. Runtime changes still enter the patch, and unknown paths still fail generation. The original failure is visible on main.
WORKSPACE Go fixtures
The generated WORKSPACE made
rules_shellavailable throughgo_rules_dependencies()but never registered its shell toolchains. On Windows, Bazel'scollect_coveragehelper then failed before the Go test ran withNo suitable shell toolchain found. Main has this failure too.Call the public
rules_shell_dependencies()andrules_shell_toolchains()macros aftergo_rules_dependencies(). Both local and archive fixtures use this path. The regression executes the actual WORKSPACE writer in both modes and checks initialization order and exactly one toolchain registration.Offline builder fixture
TestLoadModulePackageMetadataBatchSkipsBrokenTransitiveDepsdeliberately imports the nonexistentexample.com/missing. It inherited the host's Go module settings, so metadata lookup could contact public module servers. In the new CI run, the test reached its 60-second limit while resolving that dependency.The fixture now disables module and checksum lookup, clears private-module overrides and ambient Go flags, and uses the installed toolchain. The original metadata assertions and timeout are unchanged. The same test is maintained in all four fork trees; their canonical full-delta patches are regenerated alongside it.
Bazel remains at 8.8.2. Security pins, lockfiles and production fork sources are unchanged. There are no instrumentation, target-selection or payload-handling changes.
Validation
--skip-functional-smoke; the functional coverage below comes from CI.467145c0passes all 55 jobs on merge revisionbcb6b45c, including both runtime profiles for every maintained upstream on x86-64 and ARM64, all eight native Windows Go bootstrap combinations, and the Ubuntu/macOS/Windows main suites. All 62 current head checks pass, including security, documentation and mergegate.compilepkg_testcompleting in 0.1 seconds. Six consumer/profile jobs needed one failed-only retry after HTTP/2 dependency-download errors; the 45 successful first-attempt results were retained. No test timeout, assertion, network setting or security pin was changed to make those retries pass.GitHub automatically marked #288 as merged when its exact commit became part of this base branch. Nothing has been merged into
main; no merge commit or history rewrite was needed. The latest automated review predates the follow-ups; human review and normal merge gates still apply.