Repository navigation
revert(app): remove workspace conversation counts - #4889
Conversation
Revert #4816 while retaining the original Archived count and archive/Undo behavior. Visual symmetry alone is not user value; the workspace badge added clutter and supporting code without enough benefit. Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
Signed-off-by: Guillaume Loret <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 4 Skipped Deployments
|
|
Passed · 12/12 tests · 18/18 assertions · 8 images Commit Rollback-Specific VerificationFinal successful rollback-specific runs: 9 passed, 0 failed, 0 skipped on Merged as session archive is honest about availability and can be undone when supported — ✅ passedSHA 006df65 · sandbox ref 006df65 · engine v1 ✅ 0/2 screenshots passed · 0 expectations passed · 0 failed · 0 pending
[world] desktop(daytona) · workspace(/tmp/openwork-session-archive-undo-1789139837412) · sessions(2) · [seed:raw] evalIn() ⚪ UNVALIDATED — 1. session archive is honest about availability and can be undone when supported artifact 1
⚪ UNVALIDATED — 2. session archive is honest about availability and can be undone when supported artifact 2
Test run created 2026-09-11T15:15:33.628Z · Source: v2 deduplicates overlapping pages and rejects cyclic cursors or malformed successful responses — ✅ passedSHA 006df65 · engine v1 ✅ passed · 1 expectations passed · 0 failed · 0 pending
verdict passed · 0 user observations · 0 probes · steps 0/0 ℹ️ ASSERTION — 1. v2 handles overlap and rejects invalid pagination instead of reporting incomplete successOverlapping HTTP pages returned two distinct synthetic IDs once each and preserved an opaque cursor containing URL-sensitive characters. A two-cursor cycle rejected after three requests. A non-array data payload and a numeric next cursor each rejected after one request with InvalidV2SessionListResponse.
Test run created 2026-09-11T15:14:50.006Z · Source: v2 follows terminal cursors at boundaries and preserves sessions with tied timestamps — ✅ passedSHA 006df65 · engine v1 ✅ passed · 1 expectations passed · 0 failed · 0 pending
verdict passed · 0 user observations · 0 probes · steps 0/0 ℹ️ ASSERTION — 1. v2 exhausts native cursors without losing tied-timestamp sessionsFor 0, 199, 200, 201, 400, and 401 synthetic sessions sharing one updated timestamp, the HTTP loader returned every ID in order. Each load used exactly ceil(count/200)+1 authenticated requests at limit=200, including the terminal empty page rather than treating a short page as exhaustion.
Test run created 2026-09-11T15:14:49.977Z · Source: v1 replaces expanded prefixes instead of retaining removed or stale session records — ✅ passedSHA 006df65 · engine v1 ✅ passed · 1 expectations passed · 0 failed · 0 pending
verdict passed · 0 user observations · 0 probes · steps 0/0 ℹ️ ASSERTION — 1. v1 replaces stale prefixes rather than merging removed recordsAfter an initial 200-session prefix, the HTTP witness removed one synthetic session and changed another title. The expanded read returned exactly the replacement snapshot in two authenticated requests, without retaining the removed record or stale title.
Test run created 2026-09-11T15:14:49.959Z · Source: v2 rejects later-page errors atomically and retries only transient failures with the same identity — ✅ passedSHA 006df65 · engine v1 ✅ passed · 1 expectations passed · 0 failed · 0 pending
verdict passed · 0 user observations · 0 probes · steps 0/0 ℹ️ ASSERTION — 1. v2 rejects incomplete history and preserves identity during bounded recoveryFor 201 synthetic remote sessions, second-page 401, 403, 404, and 503 responses rejected the whole load with status and code intact. Authorization and not-found errors stopped after two requests without retry; 503 restarted at limit=200 without a cursor and recovered all sessions after one wait (5 total requests). A second-page socket failure also rejected, never returning a partial list. Every request retained the remote mount and credential.
Test run created 2026-09-11T15:14:49.928Z · Source: v2 loads old active roots behind over 200 archives and children without crossing workspaces — ✅ passedSHA 006df65 · engine v1 ✅ passed · 1 expectations passed · 0 failed · 0 pending
verdict passed · 0 user observations · 0 probes · steps 0/0 ℹ️ ASSERTION — 1. v2 exposes old unarchived roots without leaking archives, children, or other workspacesHTTP witness loaded 251 active roots behind 230 archives and 230 children, including an old root with archived=0. Sidebar preview returned six roots; expansion returned all 251 without another read, and pinning retained the old root. Concurrent remote loading returned only its 401 sessions; directories and credentials stayed isolated. Each workspace traversed seven limit=200 requests, continuing through filtered-empty pages.
Test run created 2026-09-11T15:14:49.899Z · Source: v1 rejects later-page errors atomically and retries only transient failures with the same identity — ✅ passedSHA 006df65 · engine v1 ✅ passed · 1 expectations passed · 0 failed · 0 pending
verdict passed · 0 user observations · 0 probes · steps 0/0 ℹ️ ASSERTION — 1. v1 rejects incomplete history and preserves identity during bounded recoveryFor 201 synthetic remote sessions, second-page 401, 403, 404, and 503 responses rejected the whole load with status and code intact. Authorization and not-found errors stopped after two requests without retry; 503 restarted at limit=200 without a cursor and recovered all sessions after one wait (4 total requests). A second-page socket failure also rejected, never returning a partial list. Every request retained the remote mount and credential.
Test run created 2026-09-11T15:14:49.869Z · Source: v1 loads old active roots behind over 200 archives and children without crossing workspaces — ✅ passedSHA 006df65 · engine v1 ✅ passed · 1 expectations passed · 0 failed · 0 pending
verdict passed · 0 user observations · 0 probes · steps 0/0 ℹ️ ASSERTION — 1. v1 exposes old unarchived roots without leaking archives, children, or other workspacesHTTP witness loaded 251 active roots behind 230 archives and 230 children, including an old root with archived=0. Sidebar preview returned six roots; expansion returned all 251 without another read, and pinning retained the old root. Concurrent remote loading returned only its 401 sessions; directories and credentials stayed isolated. Each workspace used limits 200, 400, 800.
Test run created 2026-09-11T15:14:49.844Z · Source: v1 exhausts explicit expanding limits at empty, below, exact, and above boundaries — ✅ passedSHA 006df65 · engine v1 ✅ passed · 1 expectations passed · 0 failed · 0 pending
verdict passed · 0 user observations · 0 probes · steps 0/0 ℹ️ ASSERTION — 1. v1 exhausts session history with explicit expanding limitsHTTP witness returned exactly 0, 199, 200, 201, 400, 401, and 1201 synthetic sessions. Every load matched the full source; requests doubled from limit=200 until a short prefix, used the owning credential, and sent no cursor or implicit default limit.
Test run created 2026-09-11T15:14:49.784Z · Source: Prior Setup FailureThe first current-head Daytona attempt failed before the test body because Electron did not install. The identical cold-boot command then passed without code changes; see the runtime section above. This earlier failed run is retained for audit, not counted as passing. Earlier Daytona setup failure (superseded by the successful cold run) — ❌ failedSHA 006df65 · sandbox ref 006df65 · engine v1 ❌ failed · 0 expectations passed · 0 failed · 0 pending [world] ❌ desktop(daytona) · ❌ world build Test run created 2026-09-11T15:06:52.015Z · Source: |
Warden review summary — ClearNative 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 (99230 ms), confidentiality-review (53793 ms), spec-provenance-review (68121 ms), desktop-den-sync-review (131993 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (006df659d79c878245aec9cd25cb171bf37977c0). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
…essionsLoaded fixtures (follow-up to #4889) (#4934) Signed-off-by: Guillaume Loret <[email protected]>
Summary
Revert #4816 (
2fcbae60e1018295bee1fd21e1cd4ee0331adedd). Workspace conversation badges add sidebar clutter without enough user value to justify the UI and supporting inventory-count code.Verification
Passed on
006df659d79c878245aec9cd25cb171bf37977c0: 9 tests passed, 0 failed, 0 skipped in the final successful runs. App typecheck and whitespace check also passed. No additional rollback or history rewrite was performed during continuation.pnpm evals:pr specs/route-session-list.test.tspnpm --filter @openwork/app typecheckOPENWORK_EVAL_REF=006df659d79c878245aec9cd25cb171bf37977c0 OPENWORK_EVAL_DAYTONA=1 infisical run --silent -- pnpm evals:e2e session-archive-undo --engine v1 --strict-refgit diff --checkNode 24.20.0 and pnpm 11.4.0 were used locally. Daytona verified the exact source SHA; its temporary sandbox was deleted. The E2E assertions prove no workspace badge before archive, after archive, and after Undo; no workspace count aria-description; Archived count 1 after archive and removal after Undo; server-backed archive/restore and View behavior remain intact. Screenshots are references, not verdict oracles.
Passing runtime receipt:
evals/results/.testkit/cli-run-1789139732541.json. Source evidence:evals/results/test-runs/2026-09-11T15-15-33-628Z-session-archive-is-honest-about-availability-and-can-be-undone-when-supported/test-run.json. The eight app-less source receipts start2026-09-11T15-14-49-and2026-09-11T15-14-50-.Published testkit evidence for all 9 tests and the prior setup failure. All source records match the PR head. The supported single-run publisher attached the two synthetic reference screenshots through GitHub; the repository renderer supplied the additional app-less sections in the same sticky comment. No private review store, stale-SHA override, or rewritten receipt was used.
Diagnostics
Two earlier runs failed at the retained Archived label selector on older heads; the existing follow-up commits address that selector only. The first current-head Daytona attempt failed before the test body because Electron 43.2.0 did not install and CDP never became available (exit 1; 0 passed, 1 failed, 0 skipped). Its sandbox was deleted; the same cold-boot command then passed without code changes. Failed setup receipt:
evals/results/.testkit/cli-run-1789139210916.json. This is a setup failure, not a claimed pre-existing product defect or a reason to switch test lanes.