Repository navigation
test: delete the schema, walker and metadata inline mirror suites, 3,356 lines (B23) - #574
Merged
Merged
Conversation
…356 lines (B23) Unit-suite option (c), area "schema, walker, metadata": the inline test modules of walker.rs, formats.rs, class_index.rs, class_tag_map.rs, es_refs.rs, metadata.rs, basic_file_info.rs, part_atom.rs, reader.rs (preview_png_tests) and parse_mode.rs build synthetic schema, stream and PNG bytes in each parser's own layout and assert its fields. The test-only helper walker::find_adocument_start, whose only callers were those tests, goes with them. None ran in CI, and no suite in the area is tagged keep (BACKLOG.md, B23). Coverage of the area is the real-file targets samples and schema_registry_catalogs, the contract targets field_type_coverage and json_schema_contracts, and the CLI targets rvt_info_cli, rvt_inspect_cli and rvt_dump_cli; this deletion lands only with their green run on this PR. Lines removed: 3,356.
DrunkOnJava
enabled auto-merge (squash)
October 3, 2026 11:19
DrunkOnJava
added a commit
that referenced
this pull request
Oct 3, 2026
Phase 0 of session 2: repository state, test inventory, the property-set gap after #603/#605/#608, RE-157's finding, and ranked items B26 to B43 with the 16 committed for this session. Also records #601 to #608 in B21's progress and corrects the B23 table's stale statuses. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Documentation-only maintainer backlog updates; no runtime, CI config, or application code changes in this diff. > > **Overview** > Updates **`BACKLOG.md`** for maintainer **session 2 (2026-10-03)**: session settings now record test policy **(a)** (leave remaining suites untouched after B23), the **ordered committed queue** (B27→B33 and related ids), and a fresh **Phase 0** snapshot (git/CI, unit-test inventory post-mirror deletion, `psets_vs_ifc` gaps, RE-157 pipe inner diameter). > > Adds a **session-2 work table** for **B26–B43** (16 items committed, B42/B43 blocked on models), extends the **B21 progress log** with **#601–#608** and reframes still-open parameter/property-set work toward the new items, logs **four session findings** (witness CI cycles/B27, duct segment quirk, etc.), and **marks B23 mirror-deletion areas** as done in **#574–#577** with Python kept under **B25**. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 502bb34. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
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.
Unit-suite option (c), area schema, walker, metadata. The inline test modules of
walker,formats,class_index,class_tag_map,es_refs,metadata,basic_file_info,part_atom,reader(preview_png_tests) andparse_modebuild synthetic schema, stream and PNG bytes in each parser's own layout and assert its fields. The test-only helperwalker::find_adocument_startgoes with them. None of these tests ran in CI, and none in the area is tagged keep (BACKLOG.md, B23).Coverage of the area:
samples,schema_registry_catalogs;field_type_coverage,json_schema_contracts;rvt_info_cli,rvt_inspect_cli,rvt_dump_cli.This lands only with their green run on this PR.
Lines removed: 3,356.
Note
Medium Risk
No parser logic changes, but a large block of fast unit coverage for formats/walker/metadata is gone; regressions depend on the listed external/contract tests catching gaps the inline suites used to pin.
Overview
Removes ~3,356 lines of inline
#[cfg(test)]modules from schema, walker, metadata, and related parsers (formats,walker,basic_file_info,part_atom,metadata,parse_mode,class_index,class_tag_map,es_refs,reader). Those suites built synthetic UTF-16LE streams, schema bytes, and PNG fixtures inside each source file and asserted parser/writer behavior locally.Production code change is minimal: the only non-test deletion is the test-only
walker::find_adocument_startwrapper (call sites usefind_adocument_start_with_schema/ detection APIs elsewhere).Intent per B23: these mirrors did not run in CI and duplicate coverage now expected from real-file (
samples, schema catalogs), contract tests (field_type_coverage,json_schema_contracts), and CLI integration tests—with the PR gated on those staying green.Reviewed by Cursor Bugbot for commit 54bcf19. Configure here.