Skip to content

Update GraphHost and implement global transactions - #1045

Merged
Kyle-Ye merged 14 commits into
mainfrom
optimize/graph_host
Sep 6, 2026
Merged

Update GraphHost and implement global transactions#1045
Kyle-Ye merged 14 commits into
mainfrom
optimize/graph_host

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Sep 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Implement global transaction coalescing and flushing, preserve queued trace identifiers, and correct continuation and deferred update behavior.
  • Complete root subgraph teardown and replacement, restore the current subgraph after initialization, and correct inherited removal and preference-key handling.
  • Add missing API availability annotations and regression coverage for transaction ordering, lifecycle boundaries, and context restoration.

@github-actions github-actions Bot added area: animation Animation, transitions, transactions, or timing behavior. area: graph ViewGraph, AttributeGraph, graph hosts, and graph internals. type: feature New API, behavior, platform support, or user-facing capability. labels Sep 6, 2026
@codecov

codecov Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.31313% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.59%. Comparing base (93aaeed) to head (b07e658).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
Sources/OpenSwiftUICore/Graph/GraphHost.swift 81.63% 36 Missing ⚠️
...enSwiftUICore/View/VariadicView/VariadicView.swift 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1045      +/-   ##
==========================================
+ Coverage   29.51%   29.59%   +0.07%     
==========================================
  Files         777      783       +6     
  Lines       59845    61627    +1782     
==========================================
+ Hits        17664    18239     +575     
- Misses      42181    43388    +1207     

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

@Kyle-Ye Kyle-Ye changed the title Implement GraphHost global transactions and lifecycle updates Update GraphHost and implement global transactions Sep 6, 2026
@Kyle-Ye
Kyle-Ye merged commit d729e5b into main Sep 6, 2026
4 of 5 checks passed
@Kyle-Ye
Kyle-Ye deleted the optimize/graph_host branch September 6, 2026 16:05
@tuist

tuist Bot commented Sep 6, 2026

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Cache hit rate Tests Skipped Ran Commit
OpenSwiftUI 0 % 1136 0 1136 798895009

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI 1m 30s 798895009

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: animation Animation, transitions, transactions, or timing behavior. area: graph ViewGraph, AttributeGraph, graph hosts, and graph internals. type: feature New API, behavior, platform support, or user-facing capability.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant