Skip to content

test(state): add StoredLocationTests - #1048

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

test(state): add StoredLocationTests#1048
Kyle-Ye merged 1 commit into
codex/observable-locationfrom
codex/stored-location-tests

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Add StoredLocationTests and ObservableLocationTests for read tracking, deferred commits, transaction coalescing and IDs, and weak lifetimes.
  • Cover observer removal, notifications, graph update rejection, and shared binding storage.
  • Add a regression case for writes through projected bindings.

Stack

Depends on #1047.

@github-actions github-actions Bot added area: data-flow State, binding, environment, preference, observation, or property data flow. type: tests Test coverage, test infrastructure, snapshots, or test-only changes. labels Sep 6, 2026
@Kyle-Ye
Kyle-Ye force-pushed the codex/stored-location-tests branch from 441cdc8 to df0926b Compare September 6, 2026 17:07
@codecov

codecov Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (codex/observable-location@6a917d9). Learn more about missing BASE report.

Additional details and impacted files
@@                     Coverage Diff                      @@
##             codex/observable-location    #1048   +/-   ##
============================================================
  Coverage                             ?   17.10%           
============================================================
  Files                                ?      735           
  Lines                                ?    53936           
  Branches                             ?        0           
============================================================
  Hits                                 ?     9226           
  Misses                               ?    44710           
  Partials                             ?        0           

☔ 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 merged commit 479ab2f into main Sep 6, 2026
4 of 9 checks passed
@Kyle-Ye
Kyle-Ye deleted the codex/stored-location-tests 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: tests Test coverage, test infrastructure, snapshots, or test-only changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant