Skip to content

Record compas_timber version in BTLx FileHistory ProgramVersion - #840

Merged
daniel-locatelli merged 2 commits into
mainfrom
btlx-programversion-version-stamp
Aug 10, 2026
Merged

Record compas_timber version in BTLx FileHistory ProgramVersion#840
daniel-locatelli merged 2 commits into
mainfrom
btlx-programversion-version-stamp

Conversation

@daniel-locatelli

Copy link
Copy Markdown
Contributor

Exported BTLx files name ProgramName="COMPAS_Timber" but stamp ProgramVersion with the version of compas, the geometry kernel — so the fabrication artifact can't identify the version of the program that generated its geometry. The string dates to the initial fabrication PR (#138) and survived the BTLxWriter rewrite (#354) verbatim; it was never a decision. This stamps both, compas_timber first: COMPAS Timber: 2.2.0; COMPAS: 2.15.1.

Also updates the test_btlx_file_history assertion (verified red without the fix, green with it) and fixes a file_history_attibutes typo in the same block.

🤖 Generated with Claude Code

The exported FileHistory block named COMPAS_Timber as the producing
program but stamped ProgramVersion with the version of compas, the
geometry kernel underneath it. Stamp both, compas_timber first, so the
fabrication artifact identifies the program that generated its geometry.

Also fixes the file_history_attibutes local variable typo.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.64%. Comparing base (a73a0cf) to head (59f8625).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #840      +/-   ##
==========================================
- Coverage   82.67%   82.64%   -0.04%     
==========================================
  Files          83       83              
  Lines       12005    12006       +1     
==========================================
- Hits         9925     9922       -3     
- Misses       2080     2084       +4     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chenkasirer chenkasirer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

…NGELOG conflict)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@daniel-locatelli
daniel-locatelli merged commit 0ed2512 into main Aug 10, 2026
10 checks passed
@daniel-locatelli
daniel-locatelli deleted the btlx-programversion-version-stamp branch August 10, 2026 11:45
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.

2 participants