Skip to content

test(ui): expect the current all-boards heading - #180653

Merged
steipete merged 1 commit into
mainfrom
solid2/w-fix-workboard-title
Oct 22, 2026
Merged

steipete merged 1 commit into
mainfrom
solid2/w-fix-workboard-title

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What this fixes

The Workboard routing E2E test still expected Workboard after navigating to a deleted board and normalizing to the unfiltered /workboard route. #174430 changed that page heading to All boards, leaving this assertion stale and causing a timeout.

Expect All boards at that final step. The selectors, route normalization, pinning, persistence, and history-length assertions stay intact. This is a one-line test correction with no production, styling, or runtime behavior change.

Proof

Check Result
Original exact routing case on protected-main d5ce64b7e2d2896425879d4bc6891d8b93fd7520 Failed at line 156 waiting for the old Workboard heading
Corrected exact routing case Passed; 1 passed / 3 skipped; case 3.557 s, file 4.156 s, Vitest 9.30 s
Owning UI page-test typecheck Passed
Scoped lint and git diff --check Passed
Independent Codex review through P2 Scoped-clean; no actionable findings

The targeted browser proof used the supported prebuilt-assets fixture contract and the saved d5ce64b7 production UI. The Workboard page and plugin fixtures match that baseline; the only test change is this expectation. It exercises the same named case that failed in CI run 39783757532, without another UI build or broader suite run. Normal PR test selection is sufficient for this test-only correction.

Commands: node scripts/run-vitest.mjs run --config <retained-prebuilt-config> --configLoader runner ui/src/pages/workboard/workboard-routing.e2e.test.ts --testNamePattern='routes, pins, persists, and normalizes Workboard boards' --maxWorkers=1; node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.ui-pages.json --incremental; node scripts/run-oxlint.mjs --tsconfig test/tsconfig/tsconfig.core.test.ui-pages.json ui/src/pages/workboard/workboard-routing.e2e.test.ts.

Production LOC changed: 0. Test LOC: one substitution (+1/-1, no net growth). No leases used.

@clawsweeper

clawsweeper Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T13:37:42.094122Z bbae710 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete enabled auto-merge (squash) October 22, 2026 13:42
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 22, 2026
@clawsweeper

clawsweeper Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR updates the deleted-board routing test to expect “All boards” after returning to the unfiltered Workboard page.

Example: Navigate to /workboard/deleted?agent=main and normalize to /workboard?agent=main.

  • Before: The test waits for “Workboard” and times out despite successful route normalization.
  • After: The test waits for “All boards” and proceeds to verify browser history.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is minimal and source-verified; execution evidence is a reported browser-harness run, while the inspected screenshots belong to the preceding production change.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored, test-only correction changes no shipped behavior; the body records red/green execution of the exact browser case, and inspected linked screenshots corroborate the approved heading contract.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: The browser routing test times out on an obsolete heading after correctly normalizing a deleted-board URL.
Reason: The assertion must follow the explicitly approved and merged heading contract.

Merge readiness

✅ Ready for maintainer review

This PR makes the smallest correct repair to a stale browser-test assertion; current main still expects the old heading, and no actionable patch findings were identified.

Priority: P3
Reviewed head: bbae710a15063c4fce49a673fa6d8f2f72a6c502

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI browser test supplies Workboard fixtures, navigates the production UI, and checks routing, pin persistence, rendered headings, and browser history.

flowchart LR
  A[Browser routing test] --> B[Control UI router]
  C[Gateway fixtures] --> D[Workboard page]
  B --> D
  D --> E[All boards heading]
  E --> F[Heading and history assertions]
Loading

Technical review

Best possible solution:

Keep the one-line expectation update while preserving the existing route-normalization and history assertions.

Do we have a high-confidence way to reproduce the issue?

Current-main source establishes the heading mismatch, and the PR reports the exact browser case failing before and passing after the substitution; no tests were executed during this review.

Is this the best way to solve the issue?

Yes: updating the existing assertion follows the approved heading contract without weakening the test or adding machinery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 09e09dcdf71e.

Provenance checked

  • Deleted-board routing heading expectation changes intended behavior with a stated reason (440539b: The routable-board implementation checked that an unknown board normalized to the unfiltered Workboard view; the later approved heading change made its literal expectation obsolete.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 440539b adds ui/src/pages/workboard/workboard-routing.e2e.test.ts:156 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 440539b53800; files: ui/src/pages/workboard/workboard-routing.e2e.test.ts)

PR surface

Tests 0. Total 0 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 1 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 1 0

Labels

Label changes:

  • add P3: This is a focused test-maintenance repair with no production behavior change.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is a focused test-maintenance repair with no production behavior change.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 22, 2026, 9:49 AM ET / 13:49 UTC.

@steipete
steipete merged commit 8e6990a into main Oct 22, 2026
91 of 92 checks passed
@steipete
steipete deleted the solid2/w-fix-workboard-title branch October 22, 2026 13:52
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant