Repository navigation
ci: export both real projects with their saved meshes and validate them, the only CI that reads saved graphics (#908) - #909
Conversation
…em, the only CI that reads saved graphics (#908)
|
Measured by this PR's own run (job 120425520980, https://github.com/DrunkOnJava/rvt-rs/actions/runs/39957092674/job/120425520980):
Saved graphics are read on the 2023 project as well, so the step's "graphics were read" requirement holds for both files. These are the first validated exports with saved meshes. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5cb7e263f0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4bca6f08a6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
The IfcOpenShell job now exports Einhoven and Core Interior with
--saved-meshesand schema-validates both. Until now, no CI job read saved graphics. Fixes #908.Motivation
#908. Saved graphics are opt-in, so
ifc::saved_meshesand the research readers under it ran only in Measure runs dispatched withifc_flags=--saved-meshes. A change to them passedCI passedunread (#882 is one now in review), and no export with saved meshes was ever validated.Changes
.github/workflows/ci.yml, jobifcopenshell-validate: a step after "Schema-validate real-project exports". For each of the two projects the job already fetches, it runsrvt-ifc --saved-meshesand prints its log. It fails if the export fails, or unless its "N of M bounding-box bodies drawn from their saved graphics" line has a positive N (attachreports 0 of 0 without reading anything when a model has no candidates). Each export then goes throughifcopenshell.validate, and both throughtools/ci/ifc_schema_arity.py.Cost: #881 measured
--saved-meshesat 0.2 s on Einhoven and about 5 s on Core Interior, plus the validation of a second Core Interior export.Testing
tools/check-local.sh: N/A, CI-only change.Audit-honesty checklist
Legal and contribution hygiene