Skip to content

test(ui): accept combined catalog hovercard context - #189795

Merged
vyctorbrzezowski merged 1 commit into
mainfrom
codex/hovercard-catalog-context
Oct 31, 2026
Merged

vyctorbrzezowski merged 1 commit into
mainfrom
codex/hovercard-catalog-context

Conversation

@vyctorbrzezowski

Copy link
Copy Markdown
Member

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

  • Reproduced the failing assertion on main 7b29a23da2a6e787eca43c757bbc489f83d5b682.
  • The same existing catalog hovercard E2E passes with this assertion update.
  • Formatting, diff checks, and fresh independent review passed.

Risk and coverage

Test-only change. Existing assertions for hidden full paths, menu interaction, and dismissal remain.

@vyctorbrzezowski vyctorbrzezowski self-assigned this Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 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.

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review October 31, 2026 21:53
@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 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The test rejects the combined context text “openclaw / catalog-hovercard”.
  • After: The test accepts the combined text and still checks that both values appear.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A correct, minimal test repair supported by source, reported red/green validation, and successful current-head browser checks; execution evidence remains harness-based.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored test-only PR reports the existing catalog browser scenario failing before and passing after the assertion repair; inspected predecessor screenshots establish the combined-row design rather than execution of this test change.
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 catalog hovercard browser test fails despite displaying the approved project and branch context.
Reason: The maintainer-authored change restores useful coverage without changing the approved design or adding scaffolding.

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
Reviewed head: 0b392ee8fcb33509d7126decd34c4d8b8d5b0f7b

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

  • Catalog hovercard context assertion changes intended behavior with a stated reason (78b5b14: The original workspace presentation exposed project and branch separately; the later fixture consolidation preserved that assertion, and the merged redesign explicitly combined their presentation.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 8088fcd adds ui/src/components/session-hovercard-solid.tsx:142 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 8088fcd1f416; files: ui/src/components/session-hovercard-solid.tsx)
  • Peter Steinberger: Raw commit 4d5bafa adds ui/src/e2e/session-progress-hovercard-catalog.e2e.test.ts:63 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 4d5bafae552e; files: ui/src/e2e/session-progress-hovercard-catalog.e2e.test.ts)

PR surface

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

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

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 31, 2026, 6:10 PM ET / 22:10 UTC.

@vyctorbrzezowski
vyctorbrzezowski merged commit 259a742 into main Oct 31, 2026
149 checks passed
@vyctorbrzezowski
vyctorbrzezowski deleted the codex/hovercard-catalog-context branch October 31, 2026 22:12
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

Merged via squash.

roboclaw-bot added a commit that referenced this pull request Oct 31, 2026
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]>
roboclaw-bot added a commit that referenced this pull request Nov 1, 2026
* 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]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 1, 2026
* 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]>
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