Repository navigation
Say what to do when the toolchain refuses to disable linker param files - #46
Open
anakanemison wants to merge 1 commit into
Open
anakanemison wants to merge 1 commit into
anakanemison wants to merge 1 commit into
Conversation
anakanemison
force-pushed
the
mschaller/u11-linker-param-file-refusal
branch
from
October 26, 2026 13:30
cad08b7 to
17e0f69
Compare
anakanemison
force-pushed
the
mschaller/u11-linker-param-file-refusal
branch
from
November 2, 2026 17:51
17e0f69 to
48188bc
Compare
anakanemison
force-pushed
the
mschaller/u11-linker-param-file-refusal
branch
from
November 9, 2026 18:45
48188bc to
6893c01
Compare
SKILL.md says to always call aquery with --features=-linker_param_file. The toolchain that rules_cc 0.2.22 autodetects on Linux implies that feature unconditionally, so analysis fails. In any2bazel-lab's migration runs, 8 of 10 agents hit the error and retried without the flag, one to three calls each, and none of the aquery outputs then held a param file reference (four runs checked). The text now names the error, says to drop the flag, and gives the check that keeps the instruction's purpose: no @....params entry in any action's arguments. Written after the runs, so no run has used it yet. Lab-Proposal: P29 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
anakanemison
force-pushed
the
mschaller/u11-linker-param-file-refusal
branch
from
November 18, 2026 20:15
6893c01 to
f4cf51d
Compare
armandomontanez
requested changes
Nov 30, 2026
armandomontanez
left a comment
Contributor
There was a problem hiding this comment.
We need to investigate this further and have a more satisfactory answer. IIRC when I first investigated this, with some recent fixes to Bazel the param files properly materialize, but that's not the case for every version. For all versions of Bazel that do not properly materialize param files during aquery, we must disable param files for the aquery calls or the aquery will point to missing or stale data (see original PR).
This one might deserve filing an issue if the answer isn't one-size-fits-all.
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.
SKILL.md says to call aquery with
--features=-linker_param_file, but the toolchain rules_cc 0.2.22 autodetects on Linux implies that feature, so analysis fails. The text now names the error, says to drop the flag, and gives the check that keeps its purpose: no@….paramsentry in any action's arguments.In any2bazel-lab, 8 of 10 agents hit the error and retried; none of the four outputs checked then held a param file reference. Written after those runs, so no run has used it yet.
Stacked on #45 (tracking issue: #35).
pytest tests/: 186 passed (132 onmain). Lab proposal: P29.🤖 Generated with Claude Code