Skip to content

fix(elements): a door or window with no curtain grid found takes the one curtain wall its list names when the element data names it too, so the curtain door of rac_advanced on Revit 2027 is aggregated again (#1865) (RE-452) - #1911

Merged
DrunkOnJava merged 5 commits into
mainfrom
fix/1865-curtain-door-wall
Nov 13, 2026

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Summary

A door or window with no curtain grid found whose reference list names exactly one curtain wall is a part of that wall when the element data of an id in its list names that wall too, as a mullion's or a panel's grid does. The curtain door 216844 of Autodesk's rac_advanced is aggregated into the curtain wall 162023 on the 2025 and 2026 saves and stood alone on the 2027 save; it is a part of 162023 there again, with the IsExternal its wall gives. aggregates_vs_ifc now counts IfcDoor and IfcWindow.

Motivation

The last item of #1865 after #1896 (RE-449). Doors and windows are the openings of attach_curtain_walls, which took a curtain wall only through a curtain grid, whose offsets (RE-72) are not found on 2027; RE-449's data fallback was written for mullions and panels and never reached them. RE-449 also said this door's match gave it the wall on both saves: that was wrong, and RE-452 corrects it. Cause, rows and the first form's failure are on #1865 and its follow-up.

The first form took the named wall alone (cedf41be). It failed two registered rows: 52 of 146 exports moved, and one door of the spent Vitoria 2018 model (Revit's export puts it in an ordinary wall) was put in a curtain wall (opening_hosts_vs_ifc "the wall Revit fills" 130 to 129). Scored on doors for the first time, it also put 268 of 268 of the offices' doors right. The rule as it ships needs the element data to name the wall too.

Changes

  • src/research/partition_schema_mvp/curtain.rs: the openings loop of attach_curtain_walls uses part_walls and data_confirmed_wall, with the (1, _) arm and a (0, 1) arm that needs scan_walls_in_element_data to name the wall.
  • tools/re/aggregates_vs_ifc.py: IfcDoor and IfcWindow join the counted kinds.
  • reports/element-framing/RE-452-curtain-openings-named-wall.md, docs/status.md, changelog.d/fixed/1865-curtain-door-wall.md.

Testing

Unit tests are banned in this repository; the evidence is the export's own values, on the rows registered on #1865:

  • Row 1: the 2027 rac_advanced aggregates the door 216844 into 162023 as 2025 and 2026 do, and Pset_DoorCommon.IsExternal is true (kept exports of run 43433248231).
  • Row 2: no door or window that Revit's export puts in an ordinary wall moves: opening_hosts_vs_ifc and openings_vs_ifc do not change on the spent Vitoria 2018 model or any other model with a Revit export (run 43429692923, unfiltered, against 0c58ea68).
  • Row 3: aggregates_vs_ifc shows no IfcDoor or IfcWindow in a different whole or only aggregated by rvt-rs; the four offices go from 268 doors only Revit aggregates to 84, and from 4 doors in the same whole to 188, i.e. 184 now match.
  • Row 4: 125 of 146 exports and 121 of 121 diagnostics files are identical; the 21 that change are the four offices, the rac_advanced, rac_basic, rme_advanced and rme_basic samples of 2024 to 2027 and Snowdon Towers Architectural; none of 2015 to 2023, no held-out or housing model. The same-project gates check passes on c5a32881.
  • This PR's CI (I cannot build locally, so CI is the first compile of this change).

Not measured: the 17 sample and Snowdon exports that change have no Revit export, so they are held to the same project's other saves; what the 84 doors left out need (section 6 of the report).

Audit-honesty checklist

  • README / docs reflect the current state after this PR (docs/status.md)
  • A user-visible change has its entry as a fragment under changelog.d/fixed/
  • If a limitation was resolved or introduced: 84 office doors are still left out, stated in the report and the fragment
  • Commit messages describe WHAT changed and WHY
  • No emojis in code, docs, or commit messages
  • No private paths, personal email addresses, or internal jargon in committed files
  • A reverse-engineering finding: the report RE-452 and the Measure runs it lists reproduce it

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content
  • No new test fixtures

Breaking changes

None. A door or window of a Revit 2024 to 2027 file may gain a curtain wall as its whole; the 21 exports above are the ones that do.

Related issues

Refs #1865 (the 5 mullions whose lists name no wall, RE-449, and the 84 office doors stay open).

… names exactly one curtain wall is a part of it, so the curtain door of rac_advanced on Revit 2027 is aggregated again (#1865) (RE-452)

Doors and windows took a curtain wall only through the grid their record names, whose offsets (RE-72) are not found on Revit 2027; the data fallback of RE-449 never reached them. RE-449 said the door's match gave it the wall on both saves: that held for the mullions and panels, which are a different list.
…w panels too, which it left out (#1865)

The scorer counted only IfcMember, IfcPlate, IfcCurtainWall, IfcStairFlight and IfcRailing, so a change to which wall a door or window is a part of had no row to move. The registered row of the door change named it; it had no doors to read.
… list names only where the element data of an id in its list names that wall too (#1865) (RE-452)

The first form, the named wall alone, moved 52 of 146 exports and took one door of the spent Vitoria model out of the ordinary wall Revit fills (opening_hosts_vs_ifc: the wall Revit fills 130 to 129): a door or window in an ordinary wall can name a curtain wall in its list. The element data confirms the wall, as it does for a mullion.
…ule that gives it its wall: the first form failed two registered rows, the rule as it ships does not (#1865) (RE-452)
@DrunkOnJava DrunkOnJava changed the title fix(elements): a door or window with no curtain grid found whose list names exactly one curtain wall is a part of it, so the curtain door of rac_advanced on Revit 2027 is aggregated again (#1865) (RE-452) fix(elements): a door or window with no curtain grid found takes the one curtain wall its list names when the element data names it too, so the curtain door of rac_advanced on Revit 2027 is aggregated again (#1865) (RE-452) Nov 13, 2026
@DrunkOnJava
DrunkOnJava marked this pull request as ready for review November 13, 2026 13:38
@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Approved at 416ceba by the review bot as a self-approval, under Griffin's answer of 2026-11-12 ("You are allowed to self-approve"): rvtDevelop's session has not read it. I re-read the whole diff (the opening loop of attach_curtain_walls and the pass that finds the ids whose element data to read, the scorer's two kinds, the RE-452 report and its status paragraph) as if another session had written it. The first form of the rule failed two registered rows and is described as a measured negative in the report; the form that ships passed all four (runs 43429692923 and 43433248231), and the push since those runs is a merge of main and the report.

@DrunkOnJava
DrunkOnJava merged commit f8e2053 into main Nov 13, 2026
63 checks passed
@DrunkOnJava
DrunkOnJava deleted the fix/1865-curtain-door-wall branch November 13, 2026 13:49
DrunkOnJava added a commit that referenced this pull request Nov 13, 2026
…celled ends its wait at once instead of at the 80-minute timeout (#1914)

## Summary

The wait for a commit's CI (`.github/actions/wait-for-check`, used by
the viewer deploy and the release preflight) ends at once when the push
CI run of that commit was cancelled, instead of at its 80-minute
timeout. The viewer deploy leaves such a commit out (the later commit's
deploy ships the viewer); the release preflight fails it.

## Motivation

On 13 November 2026 five merges landed in about 35 minutes. CI's push
runs share one group with no cancel-in-progress (`ci.yml`
`concurrency`), so a run still pending when the next push arrives is
cancelled, and a cancelled run never makes `CI passed`. The viewer
deploy of `cc5a417d` waited for that check from 13:31 UTC, and the
deploy of every later commit (`f8e20536` among them, whose CI had passed
at 13:50) sat behind it in the `viewer-refs/heads/main` group until the
run was cancelled by hand at about 14:30. `RELEASE.md` already named the
release-side cost ("a slow or superseded run costs the whole wait").

## Changes

- `.github/actions/wait-for-check/wait.sh`: `ci_cancelled` asks for the
push run of the CI workflow on the commit while no completed check
exists; a completed, cancelled run ends the wait (an API failure is not
an answer and the wait goes on). With `superseded-skips: "true"` the
step succeeds with `result=superseded`; by default it fails with the
reason.
- `.github/actions/wait-for-check/action.yml`: inputs `superseded-skips`
(default `"false"`) and `ci-workflow` (default `CI`), and the new
result.
- `.github/workflows/deploy-viewer.yml`: passes `superseded-skips:
"true"` and skips the Pages deployment on `superseded`. `publish.yml`
keeps the default: a release is not cut from a commit whose CI was
cancelled.
- `tools/ci/test_wait_for_check.py` and a step in `ci.yml`: the real
script runs against a stub `gh` that answers from canned API responses
and applies the script's own `--jq` filters with `jq`.
- `RELEASE.md`: the sentence about a superseded run.

## Testing

Unit tests are banned in this repository; this is the script run as a
process, with only the GitHub API simulated.
- [x] `python3 tools/ci/test_wait_for_check.py`: 9 of 9 pass on the new
script. Run against the script on `main` (`WAIT_FOR_CHECK_SCRIPT`), the
two cancelled-CI cases fail with the symptom above ("`CI passed` did not
finish ... within 5 minutes") and the seven others pass.
- [x] `tools/ci/check-workflows.py` and
`tools/ci/test_check_workflows.py` pass; the three changed YAML files
load.
- [ ] This PR's CI.

Not measured against GitHub: the next burst of merges (the cancelled-run
path); the success path is unchanged.

## Audit-honesty checklist

- [x] README / docs reflect the current state after this PR
(`RELEASE.md`)
- [x] A user-visible change has its entry as a fragment under
`changelog.d/`: none, CI only
- [x] Commit messages describe WHAT changed and WHY
- [x] No emojis in code, docs, or commit messages
- [x] No private paths, personal email addresses, or internal jargon in
committed files

## Legal and contribution hygiene

- [x] I agree this work is licensable under Apache-2.0
- [x] This PR contains no Autodesk proprietary source, decompiled
internals, or NDA'd SDK content
- [x] No new test fixtures

## Breaking changes

None. A caller that does not pass `superseded-skips` behaves as before
except that it fails at once on a cancelled CI run.

## Related issues

None filed: a CI defect found while landing #1911.
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