Skip to content

fix(chat): keep multiple conversations oriented and responsive - #4858

Merged
reachjalil merged 1 commit into
devfrom
fix/multi-thread-orientation
Sep 10, 2026
Merged

reachjalil merged 1 commit into
devfrom
fix/multi-thread-orientation

Conversation

@reachjalil

Copy link
Copy Markdown
Member

Summary

Keep conversation location, attention, and visible-pane updates clear while several tasks run.

  • Retain sidebar Show more depth across Settings/remounts in a memory-only cache bounded to 256 owner-scoped workspace/group entries.
  • Identify older active selections with one contextual Current conversation row, without expanding every preceding row, reordering lists, or stealing focus. Archived selections retain their existing Archive row and correct pin action.
  • Distinguish working, pending-input, and unread-result states. Use actual secondary-pane visibility rather than retained workbench references so hidden mobile completion stays unread.
  • Ref-count foreground visibility across sync attachments. Closing one pane preserves other visible owners; hidden work, retention, and pending approvals remain tracked.

No background-task suspension, blanket transcript keep-alive, notification flood, or status-engine redesign.

Verification

Candidate: 125799c360275ca6a077a9047e5224a39ef7c457, based on dev at 0b219dc4e5f2868c258dbe960d58c657dbe8d99b. Commit signature verified.

From apps/app:

pnpm --config.verify-deps-before-run=never exec bun test --isolate ./tests/sidebar-orientation.test.tsx ./tests/session-sidebar-utils.test.ts ./tests/session-management-store.test.ts ./tests/session-sync-permissions.test.ts ./tests/session-sync-lifecycle.test.ts ./tests/session-sync-run-status.test.ts ./tests/session-sync-token-rotation.test.ts
pnpm --config.verify-deps-before-run=never typecheck

111 passed, 0 failed, 0 skipped; typecheck and whitespace checks passed. Covers reveal retention, owner isolation, selected/archived row counts and actions, hidden/visible secondary completion, attachment/release ordering, background retention, REST reconciliation, and pending interactions.

Supplementary combined five-change checking passed 149 focused tests and typecheck. This is staged-tree integration checking, not exact-head real-app evidence.

Proof verdict: Incomplete

No real-app journey, native sidebar geometry/scroll proof, or concurrent-stream paint/input latency measurements were run. Existing owners include the split-session and live-tool session-switch journeys. No measured performance improvement is claimed.

Targeted review of #4737/#4835 found adjacent sidebar work; their scroll/title/brand geometry fixes are not duplicated. Hover/prefetch is a separate follow-up, and queue engine behavior remains unchanged. Required CI is unchanged.

@vercel

vercel Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 10, 2026 9:56pm UTC
3 Skipped Deployments
Project Deployment Actions Updated
openwork-den Skipped Skipped Sep 10, 2026 9:56pm UTC
openwork-diagnostics Skipped Skipped Sep 10, 2026 9:56pm UTC
openwork-landing Skipped Skipped v0 Sep 10, 2026 9:56pm UTC

@vercel
vercel Bot temporarily deployed to Preview – openwork-den September 10, 2026 21:55 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 10, 2026 21:55 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 10, 2026 21:55 Inactive
@github-actions

Copy link
Copy Markdown
Contributor

Warden review summary — Clear

Native findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run

Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (210812 ms), confidentiality-review (179992 ms), desktop-den-sync-review (257543 ms).

Blockers

  • None.

Advisories

  • None.

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 1
  • Distinct heads in retained window: 1
  • Current unresolved Warden threads: 0 of 0 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 0
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 1/20 run attempts retained; truncated: false
  • Transition snapshot: 0/0 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (125799c360275ca6a077a9047e5224a39ef7c457). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@github-actions

Copy link
Copy Markdown
Contributor

Passed · 12/12 tests · 18/18 assertions · 8 images

Commit 125799c360275ca6a077a9047e5224a39ef7c457 · selected evidence

Open review report

This branch was successfully deployed

1 active and 3 inactive deployments
Preview – openwork-app — 125799c3 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-landing — 125799c3 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-den — 125799c3 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-diagnostics — 125799c3 Deployed Sep 10, 2026 by vercel[bot]
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