Skip to content

ci: Measure exports every family it reads and hashes the export, and pins BIM4GIB's six revolution families - #1644

Merged
DrunkOnJava merged 2 commits into
mainfrom
ci/measure-family-exports
Nov 10, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
ci/measure-family-exports

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

Measure now exports each family it reads (the 12-release phi-ag corpus and the makers' public families) and hashes the export as it hashes a model's (ifc.sha256), so a change that moves what a family writes is listed by the comparison of the two sides. The six synthetic Revit 2020 families of #1632 are pinned in research/public-families.tsv beside them, so the standalone-revolution export that landed there is exercised by Measure and any later change that moves it shows.

Motivation

#1632's fixtures live on its author's fork release and no CI or Measure model exercised the revolution path (the review counted 0 models). Measure read a family only with rvt-info, so no export of a family was ever compared between two commits. This closes both with the pinned package #1632 already carries (research/family-revolutions-measure.tsv).

Changes

  • tools/ci/measure-reference-models.sh: measure_family also runs export_ifc and writes ifc.sha256 (the IFC without its FILE_NAME and IfcOwnerHistory, as for a model); the export is dropped unless KEEP_IFC.
  • research/public-families.tsv: six rows (bim4gib-REV-A-2020.rfa to bim4gib-ARC-BT-2020.rfa), the zip, its sha256 and size and each .rfa's, from feat(ifc): decode standalone Revit 2020 family revolutions as analytic solids #1632's pin.
  • .github/workflows/measure.yml: the families input's description says so.

Testing

No unit tests (banned); a real Measure run with the change:

Audit-honesty checklist

  • No user-visible change: no changelog fragment.
  • Limits: a family export that exits non-zero is recorded in its rvt-ifc.log and does not fail the run, as for a model; the six hashes say the export did not move, not that it is right (feat(ifc): decode standalone Revit 2020 family revolutions as analytic solids #1632's own replay checks that); the families shard is run only with families=true and on a pull request to the workflow.

Breaking changes

None.

Related issues

Follows #1632 (the fixtures' pin) and the review's coverage note.

…he two sides' exports of a family are compared, and pins BIM4GIB's six revolution families beside them (#1632)
rvt-rs-review[bot]
rvt-rs-review Bot previously approved these changes Nov 10, 2026
…t of models, and fails a family that holds a space (#1632)

A family export now writes ifc.sha256 as a model's does, so the total read
every family as a model with no result and failed the run.
@DrunkOnJava
DrunkOnJava merged commit aeec454 into main Nov 10, 2026
49 checks passed
@DrunkOnJava
DrunkOnJava deleted the ci/measure-family-exports branch November 10, 2026 19:13
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