Skip to content

fix: align PR chip browser expectations with qualified labels - #172998

Merged
vincentkoc merged 1 commit into
mainfrom
fix/pr-chip-label-ci
Oct 15, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/pr-chip-label-ci

Conversation

@shakkernerd

@shakkernerd shakkernerd commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Related: #172836

What Problem This Solves

The session pull-request browser regression still expects #103469 after #172836 made GitHub references repository-qualified. The existing Details and rate-limit scenario therefore fails on the intended openclaw/openclaw#103469 label before it can check the remaining interactions.

User Impact

There is no production UI change. This restores the regression test to the delivered label contract while retaining its checks for the PR title, rate-limit warning, CI popover and keyboard controls, layout, and dismissal.

Why This Change Was Made

Both exact text expectations in the same scenario need the repository prefix: the first displayed PR and the PR retained after another chip is dismissed. Keeping literal expected values checks the public presentation contract independently of the formatter; no assertions or cases are removed.

Evidence

The unchanged baseline reproduced the exact expected-versus-actual mismatch in the existing bundled UI browser configuration. The corrected file passed all 12 existing browser cases through its native UI E2E runner, including the Details/staleness case and dismissal check. Vitest reported 30.38 seconds; the complete test command took 32.47 seconds, including the existing bundled browser setup. Changed-file formatting, lint, the UI catalog check, and the affected core-test-ui-e2e-chat type graph passed remotely.

Hosted CI passed on 2ba56181d1fefaf4a3aaf2190e3b7b637dd3b0dc, and independent review found no defects. The browser CI row passed 24 tests across six files in 42.98 seconds; this file’s 12 cases took 23.707 seconds, including 2.175 seconds for the corrected Details/staleness case. The full browser job, including preparation, took 114 seconds. CI run. No UI behavior changes, so before/after screenshots are not applicable to this test-only correction.

@clawsweeper

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

@clawsweeper clawsweeper Bot added 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. labels Oct 15, 2026
@clawsweeper

clawsweeper Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR updates two browser assertions to expect repository-qualified pull request labels.

Example: The Details panel displays openclaw/openclaw pull request 103469 before and after another chip is dismissed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A precise, correct test correction supported by source inspection and browser-harness validation; separate shipped-entry-point proof is unnecessary for its scope.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored, test-only correction needs no separate runtime demonstration; supplied evidence reports failing-baseline and passing browser runs against bundled UI with a mocked Gateway.
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 regression stops on an obsolete label expectation before checking the remaining Details interactions.
Reason: The maintainer-authored patch restores coverage of the accepted presentation contract without changing runtime behavior.

Regression provenance

Regression provenance — verified: source commit e8eef4f656d0 by RoboClaw; canonical PR #172836 (blame-to-merge-commit).

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR repairs stale browser assertions still present on main, preserves interaction coverage, and introduces no identified defect.

Priority: P3
Reviewed head: 2ba56181d1fefaf4a3aaf2190e3b7b637dd3b0dc

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI receives session pull request metadata from the Gateway and renders status chips in Details; the browser scenario supplies Gateway fixtures and checks rendered labels and interactions.

flowchart LR
  A[Gateway fixture] --> B[Session PR event]
  B --> C[Control UI Details]
  C --> D[PR chip renderer]
  D --> E[Qualified GitHub label]
  E --> F[Browser assertions]
Loading

Technical review

Best possible solution:

Merge the focused expectation correction through the normal checks while preserving the qualified production labels.

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

Current source deterministically renders #103469 against the two stale expectations; the body reports a matching baseline failure, corroborated by another PR's CI report.

Is this the best way to solve the issue?

Updating independent literal expectations is the narrowest repair and retains the scenario's existing behavioral coverage.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 04296fd25a0a.

Provenance checked

  • PR chip browser label expectations changes intended behavior with a stated reason (2d54be3: The original session PR feature checked number-only chip labels; the later merged qualified-reference change deliberately replaced that presentation.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 2d54be3 adds ui/src/e2e/chat-pull-requests.e2e.test.ts:91 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 2d54be31ba68; files: ui/src/e2e/chat-pull-requests.e2e.test.ts)
  • RoboClaw: Raw commit f36667c adds ui/src/e2e/chat-pull-requests.e2e.test.ts:163 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f36667c0b167; files: ui/src/e2e/chat-pull-requests.e2e.test.ts)

PR surface

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

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

Labels

Label changes:

  • add P3: This is a focused test maintenance correction 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 correction 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 15, 2026, 5:54 AM ET / 09:54 UTC.

@vincentkoc vincentkoc self-assigned this Oct 15, 2026
@vincentkoc
vincentkoc merged commit b1dc7ef into main Oct 15, 2026
88 checks passed
@vincentkoc
vincentkoc deleted the fix/pr-chip-label-ci branch October 15, 2026 10:41
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

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.

2 participants