Repository navigation
ci: run every integration test in CI instead of a hand-kept list - #287
Merged
Merged
Conversation
The test matrix ran --lib --bins plus a few integration targets by name and the tier-2 job a second name list, so 21 of the 37 tests/*.rs files ran in no job at all: the support_matrix and witness_registry honesty gates, the JSON schema contracts, binary_inventory, fuzz_regressions, proptest_parsers and every CLI test. Both jobs now run cargo test --no-fail-fast --test '*' (matrix: every OS, family corpus where fetched; tier 2: against the magnetar project corpus), so a new target is gated the moment it exists. Running them surfaced one stale assertion: rvt_ifc_diagnostics_cli pinned the strict-mode rejection to confidence scaffold, while the 2024 sample family has exported at typed_no_geometry since its typed elements began to export. It now asserts any below-geometry level, which is what the test is about.
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_28622144-5d56-45aa-a2e4-b14a110f4add) |
…pipe The first Windows run of tests/cli_ergonomics.rs (now that CI runs every integration test) showed a write into a closed pipe panics there with "The pipe has been ended. (os error 109)", which the closed-pipe matcher did not recognise, so the CLI still printed a panic. Match 109 alongside EPIPE (32) and ERROR_NO_DATA (232).
DrunkOnJava
enabled auto-merge (squash)
September 22, 2026 19:47
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.
Summary
CI now runs every
tests/*.rsfile. Until this PR, 21 of the 37 integration-test files ran in no CI job at all, including the honesty gates the docs describe as CI-enforced.Motivation
The test matrix runs
cargo test --lib --bins(unit tests only) and then a few integration targets by name (samples,ifc_roundtrip,field_type_coverage,elem_table_corpus); the tier-2 job runs its own name list. A target on neither list never executes. Confirmed against the log of the latest successfulmainrun — only these 16 test binaries ran:arc_wall_corpus,cfb_roundtrip_delta,corpus_tier1_health,corpus_tier2_health,elem_table_corpus,field_type_coverage,ifc_roundtrip,ifc_synthetic_project,iter_elements_typed,partition_scanner,project_corpus_smoke,project_count_fixtures,re15_geometry_invariants,re19_door_window_wall_negative,samples,walker_to_ifc_integration.Never run anywhere:
support_matrix,witness_registry,witness_verdict,binary_inventory,json_schema_contracts,fuzz_regressions,proptest_parsers,typed_decoders,graceful_degradation,control_cancellation,checksum_page_framing,cfb_patch_corpus,es_remap_golden,gen_fixture_roundtrip,geometry_recovery,ifc_export_modes,ifc_synthetic_structural,rvt_ifc_diagnostics_cli,rvt_inspect_cli,rvt_info_cli,cli_ergonomics.The #206 comment in the tier-2 job already records this failure mode once (
elem_table_corpushid a real decoder bug while off the list); a hand-kept list keeps reproducing it.Changes
ci.ymltest matrix: the namedsamples/ifc_roundtripsteps become oneIntegration tests (every tests/*.rs)step,cargo test --profile ci --no-fail-fast --test '*', on every OS, withRVT_SAMPLES_DIRset where the job fetched the family corpus. TheRVT_REQUIRE_CORPUS=1gates (field_type_coverage,elem_table_corpus) stay as they are.ci.ymltier 2: the three named steps and the seven-target decoder-gate list become one step running every target against the magnetar project corpus (RVT_CORPUS_TIER2_LIMIT=8kept).tests/rvt_ifc_diagnostics_cli.rs: the one stale assertion the newly run files surfaced (details below).CONTRIBUTING.md: says everytests/file runs in CI and that corpus-reading tests must skip cleanly without their variable.CHANGELOG.mdentry.The stale assertion
rvt_ifc_cli_strict_mode_fails_before_writing_ifc_but_keeps_diagnosticsassertedconfidence.level == "scaffold"for the strict-mode rejection of the 2024 sample family. The family has exported attyped_no_geometryfor a while — verified identical onmainand ona779122(before #284) — so the test has been red whenever the family corpus is present, unseen because nothing ran it. The test is about strict mode rejecting an incomplete export, not about which below-geometry level it lands on, so it now accepts any below-geometry level.Testing
RVT_SAMPLES_DIR=… RVT_PROJECT_CORPUS_DIR=… cargo test --profile ci --no-fail-fast --test '*'— 65 s wall clock; the only failures were the stale assertion above (fixed) andproject_count_fixturesneeding magnetar's two reference IFCs that my local corpus lacked (fetched; passes; CI's full clone has them)actionlint— no new findings (the only report is the pre-existing SC1003 info note in the PII guard)Audit-honesty checklist
docs/status.md/docs/verification-protocol.mddescribe the support-matrix and witness-registry tests as CI-enforced; after this PR that is trueLegal and contribution hygiene
CONTRIBUTING.md)CLEANROOM.md)Breaking changes
None.
Screenshots or output samples
N/A
Related issues
Refs #206 (the same failure mode, fixed then for one target).
Note
Low Risk
Changes are limited to CI workflow wiring, contributor docs, and a test assertion loosened to match current export behavior; no library or runtime behavior changes.
Overview
CI now runs every
tests/*.rsintegration target instead of naming a few binaries per job. The cross-OS test matrix replaces separatesamples/ifc_roundtripsteps with onecargo test --profile ci --no-fail-fast --test '*'step;RVT_SAMPLES_DIRis set only when that runner fetched the family corpus. The tier-2 job collapses its named health/smoke/decoder lists into the same wildcard run against the magnetar project corpus (keepingRVT_CORPUS_TIER2_LIMIT=8). Corpus-required gates likefield_type_coverageandelem_table_corpusstay as dedicated steps.That coverage caught a stale strict-mode assertion in
rvt_ifc_diagnostics_cli: strict rejection is still required, butconfidence.levelis no longer pinned toscaffold—it accepts any below-geometry level as decoders improve.Docs:
CHANGELOG.mdandCONTRIBUTING.mddocument the new gating model and the requirement that corpus-dependent tests skip cleanly when env vars are unset.Reviewed by Cursor Bugbot for commit 7618722. Configure here.