Skip to content

Test probe module faults without masking re-vendor guidance - #2592

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-38239628776-probe
Oct 12, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-38239628776-probe

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

The failing probe test now exercises a module fault while preserving the render gate’s re-vendor guidance. In main run 38239628776, the test injected a missing export and expected a browser gate finding, but the loader raised ProbesUnlinked. That exception is the path added in #2505 for a page whose vendored runtime lacks an import required by this Leaf’s probes; preview_server turns it into a re-vendor instruction. Catching it as a generic finding made test_the_browser_gate_names_the_re_vendor_when_its_probes_cannot_link fail in this PR’s first CI run.

The test now injects a module execution error, which reaches the existing generic probe failure path. Both the revised browser gate test and the re-vendor test pass locally (uv run pytest -q -n0 tests/test_render_gate.py::test_a_broken_probe_module_is_a_gate_finding tests/test_interact_layer.py::test_the_browser_gate_names_the_re_vendor_when_its_probes_cannot_link).

@leaf-agent leaf-agent changed the title Report unlinked render probes as gate findings Test probe module faults without masking re-vendor guidance Oct 12, 2026
@leaf-agent
leaf-agent merged commit 5b83566 into main Oct 12, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38239628776-probe branch October 12, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant