Skip to content

fix(desktop): track per-server session cutoff in sidebar list - #1979

Closed
Hona wants to merge 1 commit into
devfrom
upstream-f/up-365-inbox-server-cutoff
Closed

Hona wants to merge 1 commit into
devfrom
upstream-f/up-365-inbox-server-cutoff

Conversation

@Hona

@Hona Hona commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Ports official anomalyco/opencode#67442 (per-server session cutoff tracking in the sidebar list, commit 5225062b7c).

Upstream Hunk Mapping

  • packages/app/src/shell/titlebar/ cutoff helper (reconcile, passesCutoff, archivedPassesCutoff) -> apps/desktop/src/session/ cutoff.rs (reconcile, passes_cutoff, archived_passes_cutoff, sync).
  • packages/app/src/shell/titlebar/ sidebar state (serverCutoffs persistence) -> features/restore/src/{state,persist,lib}.rs (to_json_with_cutoffs, parse_cutoffs, restore_stamp).
  • packages/app/src/shell/titlebar/ sidebar view (reconcile on hydration, filter settled and archived entries by server cutoff while keeping the selected archived session) -> apps/desktop/src/session/ model.rs & order.rs (poll, sections_with, order_key).
  • Test files (*.test.ts, *.spec.ts): N/A (repo has no automated test code).

Verification

  • Local scripts/guardrails.ps1: 11/11 passed.
  • Visual proof scenes: per-server cutoff scene and default sidebar layout scene.

Copilot AI balanced review requested due to automatic review settings December 1, 2026 08:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@Hona Hona changed the title fix(inbox): track inbox session cutoff per server fix(desktop): track per-server session cutoff in sidebar list Dec 1, 2026
@Hona

Hona commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

Superseded by #1983 (92090b8), which landed the same per-server session cutoff port on dev with ServerScope key compatibility.

@Hona Hona closed this Dec 1, 2026
@Hona
Hona deleted the upstream-f/up-365-inbox-server-cutoff branch December 1, 2026 09:22
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.

2 participants