Skip to content

Add Git branch details and device-local session archiving - #50

Merged
eivindjonassen merged 3 commits into
mainfrom
feat/session-branches-local-archive
Oct 5, 2026
Merged

eivindjonassen merged 3 commits into
mainfrom
feat/session-branches-local-archive

Conversation

@eivindjonassen

Copy link
Copy Markdown
Member

Summary

  • Show the current Git branch with a branch icon instead of the directory path in session rows, including working sessions.
  • Add device-local Archive, Archived, and Restore. Idle sessions archive after 30 days without updates; Restore grants another 30 days in Inbox. Working sessions and requests remain visible. Nothing is deleted or stopped.
  • Add connection-scoped archive preferences with schema migrations 14 and 15, local cleanup, and event-driven snapshot invalidation.
  • Reveal loaded older rows before requesting more pages. Check archived-only history automatically and show the Inbox load button only when eligible older rows are available.
  • Move archive information below the final session, hidden while more rows are available or history is loading.

Validation

  • pnpm check passed: lint, typecheck, 465 mobile tests, adapter tests, and iOS/Android Hermes exports.
  • pnpm native:doctor passed all 18 checks.
  • Native fingerprints and runtime 0.1.5 match the installed preview builds.

Deployment

Already published to the preview channel for iOS and Android. Latest OTA update group: 47c1fd88-e1a5-415a-81c8-8ef0e1560544. Physical-device verification is still pending.

eivindjonassen and others added 3 commits October 5, 2026 08:14
Auto-archive idle sessions after 30 days and preserve working sessions and requests in Inbox. Add Archive, Archived, and Restore with a 30-day restoration grace period and connection-scoped storage migrations.

Fix pagination visibility for archived-only history with eligible-row lookahead. Move archive guidance to the end of the list after pagination completes. Cover persistence, migration rollback, event invalidation, and list behavior with regression tests.
…mocks

CI timed out waiting for the working row's branch while it still showed Checking branch, then leaked the working flag into later tests. Await the VCS request and observer notification timer inside act before capturing the row, clean up its query client in finally, and reset shared workspace mock state after every test.
@eivindjonassen
eivindjonassen merged commit b4e2fc7 into main Oct 5, 2026
2 checks passed
@eivindjonassen
eivindjonassen deleted the feat/session-branches-local-archive branch October 5, 2026 06:39
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