Repository navigation
ci(re-ids): a pull request stacked on another is not told to renumber the report it carries from it (#1791) - #1792
Merged
Merged
Conversation
… the report it carries from it (#1791) check_re_id_reuse.py listed the reports a pull request adds against main and failed the later of two open pull requests that added one id. A pull request stacked on another carries the other's commits, so the other's report is in its file list at the same path: #1791 was told to renumber RE-438, which #1771 had added and #1791 had not written. The same path is one report seen twice; the same id at another path is a second report under one id and still fails, as does a second file under the base's id. Three failure-first tests of the pure judgement, and the sentence in docs/maintaining.md that describes the rule.
DrunkOnJava
marked this pull request as ready for review
November 11, 2026 22:16
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
The RE-id guard (
tools/ci/check_re_id_reuse.py, in the PII guard job) no longer fails a pull request for a report it carries from the pull request it is stacked on. It read the reports a pull request adds againstmainand failed the later of two open pull requests that added one id. A stacked pull request holds its base's commits, so the base's report is in its file list at the same path: #1791 (stacked on #1771) was told to renumber RE-438, a report #1771 added and #1791 did not write. The same path is one report seen twice. The same id at another path, and a second file under the base's id, still fail.Motivation
A false red on
fast / PII guardfor #1791 (RE-438 is also added by #1771, opened first ... renumber this report). Renumbering would have broken the citations of RE-438 in #1771; the guard was wrong, not the numbering.Changes
tools/ci/check_re_id_reuse.py: a path an earlier open pull request adds that this pull request adds too is no clash (p not in paths); the docstring says why.tools/ci/test_check_re_id_reuse.py: three failure-first tests of the purereusedjudgement: the stacked pull request's inherited report beside its own next id passes; a stacked pull request that adds a second file under the base's id fails ("names 2 new reports"); a clash with a different pull request's id at another path still fails beside a shared one.docs/maintaining.md: the sentence that describes the rule.Testing
python3 tools/ci/test_check_re_id_reuse.py: 13 tests pass (10 before, 3 new), run the way CI runs them.fast / PII guardon this pull request;full / CI passedon the final head. fix(ifc): the mesh path writes the NetSurfaceArea of a mullion whose partner end the boxes keep, and the offices gain 34 and 33 values equal to Revit's (#1790) (RE-439) #1791's guard re-runs green once this lands and its branch mergesmain.No output of
rvt-ifcchanges, so no Measure.Audit-honesty checklist
Legal and contribution hygiene
Breaking changes
None.
Related issues
Refs #1791, #1771.