Skip to content

feat(state): add ObservableLocation - #1047

Merged
Kyle-Ye merged 1 commit into
mainfrom
codex/observable-location
Sep 6, 2026
Merged

feat(state): add ObservableLocation#1047
Kyle-Ye merged 1 commit into
mainfrom
codex/observable-location

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Add ObservableLocation with weak observers and shared transaction dispatch.
  • Preserve transaction IDs from the calling thread through stored and observable location commits.
  • Invalidate live observer signals and remove expired signals after updates.
  • Run macOS, iOS, and Ubuntu tests for pull requests targeting any branch.

@github-actions github-actions Bot added area: data-flow State, binding, environment, preference, observation, or property data flow. type: feature New API, behavior, platform support, or user-facing capability. labels Sep 6, 2026
@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 ad01f7719

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI 1m 32s ad01f7719

@codecov

codecov Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 17.13%. Comparing base (d729e5b) to head (6a917d9).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...es/OpenSwiftUICore/Data/State/StoredLocation.swift 0.00% 34 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (d729e5b) and HEAD (6a917d9). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (d729e5b) HEAD (6a917d9)
2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1047       +/-   ##
===========================================
- Coverage   29.56%   17.13%   -12.43%     
===========================================
  Files         783      735       -48     
  Lines       61627    53936     -7691     
===========================================
- Hits        18221     9244     -8977     
- Misses      43406    44692     +1286     

☔ 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 force-pushed the codex/observable-location branch from dde521e to 6a917d9 Compare September 6, 2026 17:07
@Kyle-Ye
Kyle-Ye requested a review from Mx-Iris as a code owner September 6, 2026 17:07
@github-actions github-actions Bot added the type: ci GitHub Actions, test infrastructure, runners, checks, or automation. label Sep 6, 2026
@Kyle-Ye
Kyle-Ye merged commit cf558e2 into main Sep 6, 2026
3 of 5 checks passed
@Kyle-Ye
Kyle-Ye deleted the codex/observable-location branch September 6, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: data-flow State, binding, environment, preference, observation, or property data flow. type: ci GitHub Actions, test infrastructure, runners, checks, or automation. 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