You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
engine-free fails on main since #1342: the transport bindings' identity reaches two new modules #1494
Since #1342 merged (2d41a20c3, 2026-11-03), both engine-free jobs on main fail on one test (run 41675059077):
packages/microcosm-build/tests/engine_free/shared/test_transport_evidence_kernels.py::TestImplementationHashes::test_the_batterys_binding_identity_adds_only_the_leaf_and_its_imports
E AssertionError: assert 222 == (197 + 23)
On the merge before it (c8984c44b, run 41657650273) both engine-free jobs passed.
The test collects the modules whose source digests enter the identity of every binding in TRANSPORT_GATE_REGISTRY (binding_identity.describe, which follows import statements from source). It pins that set's size as 197 modules reached without microcosm.build.transport.evidence_contract, plus the 23 modules in LEAF_ADDED_MODULES that evidence_contract adds. On main the set has 222 modules.
microcosm.calibrate.hierarchy_labels: microcosm/calibrate/diagnostics.py now has from microcosm.calibrate.hierarchy_labels import hierarchy_label_choices.
microcosm.diagnostics.catalogs: microcosm/diagnostics/__init__.py now has from microcosm.diagnostics.catalogs import (...).
The bindings already reached both packages before #1342: transport/gate_bindings.py imports microcosm.calibrate.solve, and the microcosm.calibrate package __init__ imports microcosm.calibrate.diagnostics and microcosm.diagnostics. Without following evidence_contract, the bindings now reach 199 modules (197 before #1342), and evidence_contract still adds exactly the 23 listed modules.
engine-us also fails on main (test_spec_engine_coverage_tool.py::test_us_coverage_is_exact_complete_and_honest). That failure started earlier, with #1052 to #1060, and is not part of this issue.
Wanted
engine-free passes on main again, with the test still checking that evidence_contract adds only itself and its own imports to the bindings' identity, and not microcosm.build.transport.registry or microcosm.build.transport.evidence_kernels.
Activity