Repository navigation
test(ui): accept combined catalog hovercard context - #189795
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR checks that catalog hovercards contain both project and branch names without requiring separate context rows. Example: A catalog session uses /work/openclaw on branch catalog-hovercard.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it correctly repairs a stale catalog-hovercard assertion after the intentional redesign, with no actionable findings. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI projects catalog session metadata into sidebar hovercards; this browser test checks their rendered content and dismissal behavior using a mock Gateway. flowchart LR
A[Catalog fixture] --> B[Mock Gateway]
B --> C[Sidebar session projection]
C --> D[Hovercard renderer]
D --> E[Browser assertions]
Technical reviewBest possible solution: Keep the existing browser scenario and assert both context values independently of row layout. Do we have a high-confidence way to reproduce the issue? Current-main source shows the mismatch between one combined context row and the test’s two-string expectation; no target code was executed during this review. Is this the best way to solve the issue? The patch is the smallest complete repair: it preserves project and branch coverage while removing an obsolete layout assumption. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7eb8696d22cb. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests -1. Total -1 across 1 file. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 31, 2026, 6:10 PM ET / 22:10 UTC. |
|
Merged via squash.
|
Backport the exact catalog-context expectation from upstream #189820 (800958f), following #189795. Preserve exact project/branch identity, order, path privacy, and menu dismissal coverage; no production behavior changes. Co-authored-by: Shakker <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]>
* feat: link Discord accounts from personal profiles Add browser-bound self-service Discord identity proof through the canonical profile link owner. Preserve verified members’ existing operator scopes in channel runs without granting command ownership. Co-authored-by: VACInc <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * feat: link Discord accounts from personal profiles Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: 82bf828a-5307-451d-bca5-5420ed98c3db * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: 4f3d942d-d6a7-4f4d-8cde-3b6f7b66fbf1 * fix: keep channel authority guard lint-clean Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: 23a0007b-5e4e-4980-af80-12b6b7411527 * test: prove queued channel member authority at final effects Exercise persisted member recovery after database reopen, positive file writes, and unlink/reassignment before final I/O. Retain the administrator recovery compatibility control. Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: 49684b40-29cf-48f4-ad0f-ec0a8490e172 * test: include channel recovery in owner selection Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: a9222b81-60a9-43a0-9c44-1923cd0262c7 * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: b88bb5b3-de7b-42a7-ae9f-d9cf90ddce9e * refactor: narrow Discord profile linking scope Remove unrelated settings changes, isolate the channel-identity validator in its own generator owner, and reuse callback-owner projection for the profile view. Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: a1e2c307-a169-4aff-8a1d-73b54551e510 * test(ui): align catalog hovercard breadcrumb with upstream Backport the exact catalog-context expectation from upstream #189820 (800958f), following #189795. Preserve exact project/branch identity, order, path privacy, and menu dismissal coverage; no production behavior changes. Co-authored-by: Shakker <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * test: give fallback transcript fixture full prompt capacity The full-runtime fallback fixture inherited a 16k model window. Main commit e44b8f4 now enforces provider-bound context admission; CI stopped before the simulated rate limit and fallback. Use a 128k synthetic window for both providers while retaining every retry, projection, and transcript assertion. Do not alter shared small-context fixtures or production guards. Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> --------- Co-authored-by: VACInc <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: hannesrudolph <[email protected]> Co-authored-by: Shakker <[email protected]>
* feat: link Discord accounts from personal profiles Add browser-bound self-service Discord identity proof through the canonical profile link owner. Preserve verified members’ existing operator scopes in channel runs without granting command ownership. Co-authored-by: VACInc <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * feat: link Discord accounts from personal profiles Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: 82bf828a-5307-451d-bca5-5420ed98c3db * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: 4f3d942d-d6a7-4f4d-8cde-3b6f7b66fbf1 * fix: keep channel authority guard lint-clean Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: 23a0007b-5e4e-4980-af80-12b6b7411527 * test: prove queued channel member authority at final effects Exercise persisted member recovery after database reopen, positive file writes, and unlink/reassignment before final I/O. Retain the administrator recovery compatibility control. Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: 49684b40-29cf-48f4-ad0f-ec0a8490e172 * test: include channel recovery in owner selection Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: a9222b81-60a9-43a0-9c44-1923cd0262c7 * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: b88bb5b3-de7b-42a7-ae9f-d9cf90ddce9e * refactor: narrow Discord profile linking scope Remove unrelated settings changes, isolate the channel-identity validator in its own generator owner, and reuse callback-owner projection for the profile view. Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * Publish openclaw/discord-profile-self-linking Worked on by: - @obviyus - @VACInc - @hannesrudolph Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> OpenClaw-Publication: a1e2c307-a169-4aff-8a1d-73b54551e510 * test(ui): align catalog hovercard breadcrumb with upstream Backport the exact catalog-context expectation from upstream openclaw#189820 (4b5d759), following openclaw#189795. Preserve exact project/branch identity, order, path privacy, and menu dismissal coverage; no production behavior changes. Co-authored-by: Shakker <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> * test: give fallback transcript fixture full prompt capacity The full-runtime fallback fixture inherited a 16k model window. Main commit fe5a903 now enforces provider-bound context admission; CI stopped before the simulated rate limit and fallback. Use a 128k synthetic window for both providers while retaining every retry, projection, and transcript assertion. Do not alter shared small-context fixtures or production guards. Co-authored-by: obviyus <[email protected]> Co-authored-by: VACInc <[email protected]> Co-authored-by: hannesrudolph <[email protected]> --------- Co-authored-by: VACInc <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: hannesrudolph <[email protected]> Co-authored-by: Shakker <[email protected]>
What Problem This Solves
The session catalog hovercard E2E still expects project and branch context in separate rows after #189630 combined them into one row.
Changes
Check that both context values are present without coupling the test to the number of rows. The approved hovercard design is unchanged.
Validation
7b29a23da2a6e787eca43c757bbc489f83d5b682.Risk and coverage
Test-only change. Existing assertions for hidden full paths, menu interaction, and dismissal remain.