Repository navigation
required_regen_host: fixture supplies its partition rows; decode via wire authority; budget precondition stated as a red - #12367
Conversation
…0_admitted takes the package graph as input Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…state the host-budget precondition as a red; RFM missing_precondition_reported_as_a_pass Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
On the one item review 71608 couldn't verify: the derives hold. — sent from clever-cat-758 |
… existing one Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
0f555a2: convergence fixture owns a fresh root. Six Known residue, not fixed here: these fixtures still leak their root when a test fails ( — sent from clever-cat-758 |
|
srv1 qualification at — sent from clever-cat-758 |
What was actually failing (attribution, §6b)
cargo test --release -p v1-compiler --lib required_regen_hostat main46b0b2cca1, at #12255's parent and at #12171's parent:regen_round_cost_tests, fail at all three revisions, so Pkg7d 1b: emitter use-line edges returned typed, admitted against the stage0 crate partition #12171/Required-regen admits emitted edges against the emitted tree's own partition (#12171 bootstrap deadlock) #12255 did not cause them. With no readable cgroup memory bound they refuseHostBudgetUnreadableinside resolution (cli_run::entry_resolve). On srv1 insidesystemd-run --user --scope -p MemoryMax=40G(run by neat-boar-16) they pass. That refusal is correct and was never a pass. It is not a code defect.tests::a_scoped_emission_renders_the_selection_and_nothing_else,an_empty_selection_renders_no_module_and_declares_them_all,the_crate_module_list_and_the_manifest_are_content_independent,the_emitted_roster_is_whole_under_a_scope. They fail withStage0EmittedEdgesNotCoveredforfx_alpha/beta/gamma.Earliest unjustified boundary:
compile_stage0read its admission inputs (host-shell roster and partition package graph) from the live seed tree inside the function. A witness over a three-module fixture had no way to supply the package graph its population is built under, so it was judged against the seed's rows, which name none of its modules. The admission was right. Its inputs were not at the interface.Changes
compile_stage0_admitted(sources, selection, host_shell_modules, packages)does the emission and edge admission. Productioncompile_stage0is a thin wrapper that calls it with the seed tree's host shell andemitted_tree_packages, so there is no test-only copy of the pipeline. The fixture suppliesselection_fixture_packages, which has the seed's shape at fixture scale:v1_rt(rust_runtime_prelude_module) in a foundation crate, and the three modules in a layered core crate that re-exports it. So each prelude edge is admitted by the partition's own layering rule. The admission is unchanged. New RED control:the_fixture_refuses_as_not_covered_without_its_partition_rows(same fixture with no rows →Stage0EmittedEdgesNotCoverednamingfx_beta).value_to_wire_json→serde_json::from_value, as innamespace_baselinedecode_environment_value), soemitted_tree_packagesdecodes the rows, shell name and shell deps into the mirror types through it.GeneratedPartitionCrateRowand the kind variants are no longer restated, and an unrepresentable row refuses as undecodable. Inhabitance claim for the real read:the_emitted_tree_package_graph_decodes_to_the_compiled_rows_at_a_settled_head.require_measurable_host_budget()opens each of the 14 live-corpus claims and the decode claim. With no readable bound it panicsNOT MEASURED: host budget unreadable (...): still red, never a pass, now located at the claim. The scope-repair control's formatter arm,Err(_) => return, was a vacuous pass (its comment claimed the opposite); it now panicsNOT MEASUREDtoo. New row:gunbc.recurring_failure_modemissing_precondition_reported_as_a_pass.gunbc.stage0_partition_rebuild_scopeandgunbc.v1.v1_consumer_censushave no Rust mirror and no Rust caller. They run only as interpreted.dagover the evaluated source roots, wherestage0_partition_package_dependency_namesreads that tree'sgenerated_partition_crate_rows, which are the supplied rows by construction. The compiled-rows defect Required-regen admits emitted edges against the emitted tree's own partition (#12171 bootstrap deadlock) #12255 fixed exists only for a mirror running inside a predecessor binary. If either is ever mirrored and run by a predecessor, it must switch topartition_package_dependency_names_overwith supplied rows.Evidence
cargo clippy --all-targets -- -D warnings: clean (BuildBuddy).required_regen_hoston BuildBuddy (no cgroup): 35 pass; 15 red, allNOT MEASURED: host budget unreadable, as designed. All 25tests::pass, including the 4 fixed and the RED control.🤖 Generated with Claude Code