Repository navigation
fix(app): show workspace conversation inventory counts - #4816
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
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 (52443 ms), confidentiality-review (95149 ms), spec-provenance-review (163131 ms), desktop-den-sync-review (150413 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 (1ae742a75c419a45bb1e9e6a9e8ad01ac369f323). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
|
Passed · 10/10 tests · 15/15 assertions · 5 images Commit |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (02a4a0b05067621071cdddfbe5be893fcad19e49). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
|
Selected test run: workspace inventory counts survive previews, pins, groups, drafts and reload · SHA 02a4a0b · engine v1 · 7m old Test evidence — workspace inventory counts survive previews, pins, groups, drafts and reload — ✅ passedSHA 02a4a0b · engine v1 ✅ passed · 0 expectations passed · 0 failed · 0 pending
[world] appWeb(daytona) · workspace(/tmp/openwork-workspace-inventory-1789060415177) · sessions(21) Test run created 2026-09-10T17:13:35.157Z · Source: Selected test run: confirmed empty workspace shows zero but pending and failed inventory never do · SHA 02a4a0b · engine v1 · 6m old Test evidence — confirmed empty workspace shows zero but pending and failed inventory never do — ✅ passedSHA 02a4a0b · engine v1 ✅ passed · 0 expectations passed · 0 failed · 0 pending
[world] appWeb(daytona) · workspace(/tmp/openwork-empty-workspace-inventory-1789060516005) · [seed:raw] evalIn() Test run created 2026-09-10T17:15:15.986Z · Source: Selected test run: session archive is honest about availability and can be undone when supported · SHA 02a4a0b · engine v1 · 4m old Test evidence — session archive is honest about availability and can be undone when supported — ✅ passedSHA 02a4a0b · engine v1 ✅ 0/2 screenshots passed · 0 expectations passed · 0 failed · 0 pending
[world] desktop(daytona) · workspace(/tmp/openwork-session-archive-undo-1789060721596) · 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-10T17:16:44.032Z · Source: |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (02a4a0b05067621071cdddfbe5be893fcad19e49). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
|
Merged as 2fcbae6 after the exact-head required check passed and the final Warden run reported zero findings. No protection bypass was used. Final source head: 02a4a0b. Scoped verification: 12 tests passed, zero failed/skipped, plus app typecheck; runtime lane Daytona (appWeb and Electron), inventory HTTP/contract lane local. All temporary Daytona sandboxes were deleted. Evidence remains inspectable in the linked CI report and the three generated text-only runtime sections in #issuecomment-5622672711. Private report upload failed due to the public-store Blob credential; no runtime screenshots were uploaded publicly. Follow-ups remain the private review credential, the isolated headless archive discrepancy, and the baseline diagnostic debt documented in the PR body. |
Revert #4816 because workspace count badges add clutter without enough user value. Preserve the original Archived count and archive/Undo/View behavior; remove count-only UI, state plumbing, and fixtures. Verified on the PR head: 8 route-session-list tests and 1 cold Daytona Electron archive journey passed, with app typecheck, required CI, and Warden clearance green. Testkit evidence is published on the PR. Signed-off-by: Guillaume Loret <[email protected]>
Summary
Fix a longstanding sidebar UX consistency defect, not a regression: Archived and custom groups expose inventory, but workspace headers never did.
RCA and Decision
AppSidebaraggregates archived records globally, whileWorkspaceHeaderhad no count input. Raw array length includes children/archives; preview length excludes pins and older rows. Propagate completed-list knowledge throughtoSessionGroupsand reuse root/archive predicates before presentation filtering. Pagination beyond 200 records was already fixed in #4783.Ownership count is preferred. Section count decreases when pinning without changing ownership; removing Archived count loses its collapsed inventory signal; an optional toggle adds unnecessary settings. This product assessment is ours, with no claim of human designer consultation.
Sources: #2035 introduced Archived (n); #3064 made it global.
start-here/do-work-with-it/workflows.mdxdocuments non-destructive archive and workspace-specific groups.Research supplied for the decision:
Verification
Passed for this change on
02a4a0b05067621071cdddfbe5be893fcad19e49: 12 tests, zero failed, zero skipped. Node 24.20.0 and pnpm 11.4.0. All commands below exited 0.pnpm evals:pr specs/route-session-list.test.tspnpm --filter @openwork/app typecheckOPENWORK_EVAL_DAYTONA=1 pnpm evals:e2e workspace-conversation-count --engine v1OPENWORK_EVAL_DAYTONA=1 pnpm evals:e2e session-archive-undo --engine v1Runtime commands used Infisical injection and
OPENWORK_EVAL_REFset to the full head SHA. Temporary sandboxes were deleted. The empty-inventory fault test proves rendered 0 -> absent during held HTTP request -> absent after 403 -> 0 after recovery. Grouping proof actually moves a pinned conversation, then unpins it into the group. The desktop archive test compares against independent server inventory, including any bootstrap root, then asserts N -> N-1 -> N. Warden re-review reports zero findings; both original proof advisories are addressed.Composed local publication failed independently of the test verdict: the available Blob credential targets a public store, while the review app requires private access;
OPENWORK_REVIEW_BLOB_TOKENis unavailable in the injected environment. The three runtime sections were rendered with the existing single-run publisher in text-only mode and posted together usinggh pr comment --body-file -. The renderers label that mode Dry run; the linked comment is the actual published evidence. Screenshots were not uploaded or claimed as visual proof. No stale-SHA force flag or private-store bypass was used.Diagnostics and Follow-ups
6909f4ea0reproducespnpm --dir evals run typecheck:spec-layerexit 2: nine Promise.withResolvers/es2023 library errors. The same control reproducesnode evals/scripts/spec-boundary-ratchet.mjsexit 1 with the same seven existing violating specs. Required CI build/core checks pass; no baseline widening or bypass.Learnings are retained in the inventory and archive specs, not private memory.