Repository navigation
instrument-dispatch: declare the memory demand of whole-tree instruments - #13162
Merged
Merged
Conversation
…nstruments Census labels carry a 20 GiB demand, admitted at generation against gunbc.ci_runner_target ci_runner_target_ram_speed_budget and refused at run time by a label-bound cgroup guard before the prelude. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…the witness byte count from the row Addresses review 75124: the guard is bash_build statements emitted by bash_emit_stmts with its own refusal arm, one script bound per label with the row's byte count in the step env; the witness reads the demand row rather than restating the literal. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…step model, not on YAML quoting Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This was referenced Oct 4, 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.
Follow-up from #13141, raised by silent-stag-648.
What
gunbc.instrument_dispatch_workflowgetsInstrumentDispatchMemoryDemandrows, one per label.dependency-demand-censusandv2-native-censuseach declare 20 GiB.gunbc.ci_runner_targetci_runner_target_ram_speed_budget(selected_ci_runner_target()). That is the existingRunnerMemoryRegimevocabulary; no new memory class is minted. If a row doesn't fit, or names a label that isn't dispatchable, the generator refuses and no workflow is emitted.inputs.label == '<label>', placed before checkout. It takes the least of every numericmemory.high/memory.maxalong the job's cgroup path andMemTotal. If that is below the demand, it fails with::error::InstrumentMemoryBudgetUnmet. There is no env toggle.Why per label
A single job-wide number would refuse every smaller subject (
a_gate_sized_for_the_largest_subject_refuses_every_smaller_one). The round-trip battery and self-host-equivalence labels carry no row, so they have no memory wall. That is a known gap, not an oversight.Evidence / limits — read before approving
memory.highis 25 GiB, so it fits.HostBudgetUnreadablebefore evaluating anything. Parse and type correctness, the claims, and the YAML are left to CI.expected_instrument_dispatch_yml.🤖 Generated with Claude Code