Skip to content

ci: export both real projects with their saved meshes and validate them, the only CI that reads saved graphics (#908) - #909

Merged
DrunkOnJava merged 9 commits into
mainfrom
ci/saved-meshes-validate
Oct 23, 2026
Merged

DrunkOnJava merged 9 commits into
mainfrom
ci/saved-meshes-validate

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

The IfcOpenShell job now exports Einhoven and Core Interior with --saved-meshes and schema-validates both. Until now, no CI job read saved graphics. Fixes #908.

Motivation

#908. Saved graphics are opt-in, so ifc::saved_meshes and the research readers under it ran only in Measure runs dispatched with ifc_flags=--saved-meshes. A change to them passed CI passed unread (#882 is one now in review), and no export with saved meshes was ever validated.

Changes

  • .github/workflows/ci.yml, job ifcopenshell-validate: a step after "Schema-validate real-project exports". For each of the two projects the job already fetches, it runs rvt-ifc --saved-meshes and 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 (attach reports 0 of 0 without reading anything when a model has no candidates). Each export then goes through ifcopenshell.validate, and both through tools/ci/ifc_schema_arity.py.

Cost: #881 measured --saved-meshes at 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.
  • Real files: this PR's own run of the job is the evidence, on Einhoven (Revit 2023) and Core Interior (Revit 2024) from magnetar-io/revit-test-datasets (MIT). The counts are in the step's log.
  • IFC exporter / performance: unchanged.

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • No limitation resolved or introduced
  • Commit messages describe what and why
  • No emojis
  • No private paths, personal email addresses, or internal jargon in committed files
  • Reverse-engineering finding: N/A

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

@DrunkOnJava

Copy link
Copy Markdown
Owner Author

Measured by this PR's own run (job 120425520980, https://github.com/DrunkOnJava/rvt-rs/actions/runs/39957092674/job/120425520980):

Project Release Bodies from saved graphics Triangles IfcOpenShell validate Schema arity
Revit_IFC5_Einhoven 2023 11 of 11 528 0 errors 1,243 instances, 47 types
2024_Core_Interior 2024 138 of 138 9,768 0 errors 58,935 instances, 61 types

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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .github/workflows/ci.yml Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread CHANGELOG.md Resolved
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 23, 2026 15:21
@DrunkOnJava
DrunkOnJava merged commit b06c818 into main Oct 23, 2026
28 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/saved-meshes-validate branch October 23, 2026 16:07
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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.

CI never reads saved graphics: --saved-meshes exports are neither exercised nor validated

1 participant