Skip to content

Scene: durable nodes and reference-only data - #1540

Merged
tomvanmele merged 14 commits into
remove-futurefrom
initiative/scene-viewer-visualisation
Nov 24, 2026
Merged

tomvanmele merged 14 commits into
remove-futurefrom
initiative/scene-viewer-visualisation

Conversation

@tomvanmele

Copy link
Copy Markdown
Member

Summary

  • redesign core Scene persistence around durable scene-owned nodes
  • keep item data independently serializable through explicit GUID bindings
  • separate runtime adapters from durable state
  • add validated, MRO-composed scene-state field declarations

Initiative

Part of compas_framework initiative scene-viewer-visualisation, ADRs 001–010.

Draft: Phase 0 source implementation is locally verified; hosted checks and framework integration remain open.

@codecov

codecov Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.90043% with 142 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.19%. Comparing base (99b82a6) to head (9f4db76).

Files with missing lines Patch % Lines
src/compas/scene/scene.py 84.83% 52 Missing ⚠️
src/compas/scene/sceneobject.py 84.23% 38 Missing ⚠️
src/compas/scene/annotations.py 91.76% 21 Missing ⚠️
src/compas/scene/sceneannotation.py 94.71% 16 Missing ⚠️
src/compas/scene/context.py 92.30% 4 Missing ⚠️
src/compas/scene/graphobject.py 60.00% 2 Missing ⚠️
src/compas/scene/meshobject.py 71.42% 2 Missing ⚠️
src/compas/scene/volmeshobject.py 60.00% 2 Missing ⚠️
src/compas/scene/group.py 50.00% 1 Missing ⚠️
src/compas/scene/planeobject.py 92.85% 1 Missing ⚠️
... and 3 more
Additional details and impacted files
@@                Coverage Diff                @@
##           remove-future    #1540      +/-   ##
=================================================
+ Coverage          85.82%   86.19%   +0.37%     
=================================================
  Files                220      227       +7     
  Lines              23904    24919    +1015     
=================================================
+ Hits               20515    21479     +964     
- Misses              3389     3440      +51     

☔ 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.

@tomvanmele
tomvanmele marked this pull request as ready for review November 24, 2026 22:12
@tomvanmele
tomvanmele merged commit 1c0ce44 into remove-future Nov 24, 2026
18 checks passed
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