Repository navigation
refactor(formats): drop the unused unbounded field scanner (B50) - #647
Merged
Merged
Conversation
scan_fields_until_next_class had no caller and lived under #[allow(dead_code)]; it only forwarded to scan_fields_until_next_class_bounded with no field limit. Its doc comment, which records the field-record layout, moves to the bounded function. opening_index_property_set stays: its dead_code note names the opening-index host join, which the export diagnostics still list as an open gap. Verified by CI's cargo clippy -D warnings, cargo doc and build.
DrunkOnJava
enabled auto-merge (squash)
October 4, 2026 15:10
DrunkOnJava
added a commit
that referenced
this pull request
Oct 4, 2026
…ocked on B38, new B69 (#652) Second session 3 progress update. B49, B50, B57, B61, B63 and B52 done; B44 (#651), B47, B53 and B66 in progress with their evidence runs; B62 blocked on B38; new B69: rvt-write exits 0 on a patch whose re-encoded stream spans a checksummed page, found by B53's real-file test. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Documentation-only update to BACKLOG.md; no runtime, test, or exporter behavior changes in this diff. > > **Overview** > This is a **session 3 backlog refresh** in `BACKLOG.md`: ranked-item statuses and the progress log are brought in line with work landed or re-scoped since the last update. > > **Completed** items are marked **done** with PR links where applicable: **B49** (export diagnostics / `Pset_` parameter counting, #638), **B61** (IFC2X3 vs IFC4 type-entity scorer, #641), **B63** (`IfcSpace` containment, #645), **B50** (dead code, #647), **B52** (local branch cleanup), and **B57** (launch docs drift, #646). > > **Regressions / blockers** are recorded: **B62** moves from committed to **blocked on B38** (extra plumbing connection to tank 442378 Revit does not export); **B47**, **B44**, **B53**, and **B66** shift to **in progress** with Measure/RE evidence; **B53** notes discovery of **B69**. > > **B69** is added: `rvt-write` could exit 0 on patches whose re-encoded stream spans a checksummed page, producing streams readers cannot decode; fix direction is `Error::WriteRefused` in `src/writer.rs`, blocking B53’s real-file CLI E2E. > > The progress log adds red/green runs, witness/fixture notes, pr-queue/rerun policy, and a **rule slip** (forbidden `git checkout <ref> -- <file>` during scratch-branch file copies). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 3699bab. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
DrunkOnJava
added a commit
that referenced
this pull request
Oct 5, 2026
…celled (C1) (#709) ci: one summary check gates the merge, and a run on main is never cancelled (C1) From the CI audit of 2026-10-05: only six fast checks were required, so auto-merge landed pull requests before Corpus health, the writer corpus and IfcOpenShell finished (#647 merged with 22 of 23 checks passed, then main CI run 37213656572 failed in Corpus health on a real conflict between two pull requests), and two merges in a row cancelled the first one's run on main. - A `CI passed` job needs every CI job and fails when any failed or was cancelled. The committed main-protection ruleset requires it alone; it is applied once the job has run green on main. - CI's concurrency cancels in-progress runs on pull requests only. - docs/maintaining.md describes the gate. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Changes branch protection and merge gating behavior; misconfiguration could block merges or weaken enforcement, though the intent is stricter (all jobs must complete). > > **Overview** > Merge protection now requires a single **`CI passed`** status instead of six individual job names, so auto-merge cannot land until the full CI matrix finishes. > > A new **`ci-ok`** job (`CI passed`) runs with `if: always()`, depends on every CI job in the workflow, and fails if any dependency **failed** or was **cancelled**. Branch protection in `main-protection.json` was updated to require only that context, so renaming or adding jobs no longer forces ruleset edits. > > **Concurrency** on `ci.yml` now sets `cancel-in-progress` only for pull requests; pushes to **`main`** no longer cancel an in-flight run when another merge lands immediately after. > > `docs/maintaining.md` documents the single gate and that Measure/release/deploy workflows stay outside it. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 4cf0ae1. 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.
B50.
scan_fields_until_next_class(src/formats.rs:807) had no caller and sat under#[allow(dead_code)], forwarding to the bounded scanner with no limit. Its layout doc moves toscan_fields_until_next_class_bounded.opening_index_property_setstays: its note ties it to the opening-index host join, which the export diagnostics still claim as an open gap. Verified by CI's clippy (-D warnings), cargo doc and build.Note
Low Risk
Documentation and deletion of an uncalled wrapper; no change to the active parsing path.
Overview
Removes dead code
scan_fields_until_next_class, which only forwarded toscan_fields_until_next_class_boundedwithmax_fields: Noneand was suppressed with#[allow(dead_code)]. Schema parsing already calls the bounded helper withdeclared_field_count, so behavior is unchanged.The wire-format example and the note about stopping at
max_fieldsso field walking does not bleed into a parent class list now live onscan_fields_until_next_class_boundedonly.Reviewed by Cursor Bugbot for commit 5b00118. Configure here.