Skip to content

fix: harden coroutine and stream ownership - #44

Merged
mkaltner merged 2 commits into
mainfrom
parity/par-008-coroutine-ownership
Aug 21, 2026
Merged

fix: harden coroutine and stream ownership#44
mkaltner merged 2 commits into
mainfrom
parity/par-008-coroutine-ownership

Conversation

@mkaltner

Copy link
Copy Markdown
Collaborator

Summary

  • preserve coroutine cancellation across best-effort requests, polling, and live collectors
  • give dashboard, Activity Center, terminal, logs, stats, project streams, and image transfers explicit target-aware ownership
  • reject stale snapshot and stream results after refresh, environment removal, reconnect, or server replacement
  • document the ownership model and mark PAR-008 complete with device evidence

Validation

  • ./gradlew :app:testDebugUnitTest :app:assembleDebug
  • 143 unit tests passed; debug APK assembled
  • focused cancellation coverage passed across CoroutineFailuresTest, DashboardStreamStoreTest, CompleteListLoaderTest, and UpdaterRunScreenTest
  • physical-device/live-server smoke test passed dashboard reconnect, environment switching, Activity Center refresh/departure, Logs/Stats/Terminal departure and reopen, and force-stop recovery

@mkaltner
mkaltner merged commit 84f822b into main Aug 21, 2026
2 checks passed
@mkaltner
mkaltner deleted the parity/par-008-coroutine-ownership branch August 21, 2026 22:02
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