Skip to content

fix(ui): stabilize transcript library return navigation test - #169309

Merged
obviyus merged 1 commit into
mainfrom
fix/transcript-library-e2e
Oct 11, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/transcript-library-e2e

Conversation

@obviyus

@obviyus obviyus commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes the transcript-library E2E timing out when returning from Meeting capture settings to the library.

Related: #168671. The same failure is visible in checks-ui-e2e.

User Impact

No product behavior changes. The test now deterministically exercises the loading state instead of waiting for an unheld response to remain pending.

Why This Change Was Made

deferredMethods defers the first matching request only. The initial library read consumes that deferral; the return-navigation assertion added in #145367 waits for another loading state and resolves another deferred read without arming it. Re-arm transcripts.list immediately before returning to the library. Keep every existing loading, transcript, search, export, configuration-write, mobile, and access-denial assertion unchanged.

No overlap with the checked maintainer-owned changes. No runtime or public contracts change.

Evidence

  • Latest main 4e3818bab0febf3ce265aafab07b0c98b7cf7f16: exact focused command reproduced 2 passing / 1 failing, with the 30-second loading wait timing out at line 252.
  • With the one-line fixture correction: the same command passed all 3 tests, including the full navigation/read/search/download/edit flow (20.22 seconds total).
  • pnpm exec oxfmt --check ui/src/e2e/transcript-library.e2e.test.ts: passed.
  • git diff --check: passed.

Command: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/transcript-library.e2e.test.ts.

Merge risk: two-way door; reverting only restores the flaky test. Blast radius is this mocked-Gateway E2E fixture, with no production changes.

@clawsweeper

clawsweeper Bot commented Oct 11, 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 11, 2026
@clawsweeper

clawsweeper Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR re-arms the mocked transcript-list response before testing navigation back from capture settings.

Example: The browser test saves the source title as Weekly design review and returns to Transcript library.

  • Before: The response is unheld, so the Loading meetings… assertion can time out.
  • After: The response stays pending until the loading assertion completes, then the test releases it and finds Design review.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is minimal and source-supported; execution evidence is limited to the reported browser harness and inspected CI results.
Proof confidence 🦐 gold shrimp (3/6) This test-only repair changes no shipped behavior; supplied validation exercises the browser fixture, and the inspected historical screenshots concern the earlier meeting feature.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Maintainers encounter a browser-suite timeout while validating otherwise unrelated changes.
Reason: The existing loading-state assertion needs an explicitly pending response, and this minimal correction supplies it.

Merge readiness

✅ Ready for maintainer review

Keep this PR: it repairs a concrete fixture defect still present on main, preserves the existing assertions, and introduces no production changes or actionable findings.

Priority: P3
Reviewed head: a059b6c86c6bd6275727de244eb535514618acc8

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI browser E2E suite drives meeting navigation against a mock Gateway that records RPC requests and selectively holds responses.

flowchart LR
  A[Browser E2E test] --> B[Capture settings]
  B --> C[Meetings library]
  C --> D[Mock Gateway]
  D --> E[Held transcript response]
  E --> F[Loading assertion and release]
Loading

Technical review

Best possible solution:

Merge the focused fixture correction once the normal required checks pass.

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

Source confirms the initial read consumes the sole deferral before return navigation; the PR reports a matching base failure and passing corrected run.

Is this the best way to solve the issue?

Re-arming the existing fixture control directly fixes the missing setup without weakening assertions, changing production timing, or adding another mechanism.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Return-navigation loading-state coverage keeps the original intent (ee6a7ef: Make meeting loading feedback explicit and verify it through browser navigation.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit ee6a7ef adds ui/src/e2e/transcript-library.e2e.test.ts:253 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: ee6a7ef0cb58; files: ui/src/e2e/transcript-library.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 1 0 +1
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 0 +1

Labels

Label changes:

  • add P3: This restores deterministic browser-test coverage without changing shipped behavior.
  • 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 restores deterministic browser-test coverage without changing shipped behavior.
  • 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 11, 2026, 3:35 PM ET / 19:35 UTC.

@obviyus
obviyus merged commit 728917f into main Oct 11, 2026
76 of 77 checks passed
@obviyus
obviyus deleted the fix/transcript-library-e2e branch October 11, 2026 19:39
@obviyus

obviyus commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator Author

Landed in 728917f. The transcript library e2e re-arms the deferred transcripts.list response before returning to the library, so its loading-state assertion observes the second request instead of timing out at line 252. One test line; assertions and timeouts unchanged. Proof: 2/1 red on main 4e3818b, 3/3 green.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
…w#169309)

## What Problem This Solves

Fixes the transcript-library E2E timing out when returning from Meeting capture settings to the library.

Related: openclaw#168671. The same failure is visible in [checks-ui-e2e](https://github.com/openclaw/openclaw/actions/runs/38165598345).

## User Impact

No product behavior changes. The test now deterministically exercises the loading state instead of waiting for an unheld response to remain pending.

## Why This Change Was Made

`deferredMethods` defers the first matching request only. The initial library read consumes that deferral; the return-navigation assertion added in openclaw#145367 waits for another loading state and resolves another deferred read without arming it. Re-arm `transcripts.list` immediately before returning to the library. Keep every existing loading, transcript, search, export, configuration-write, mobile, and access-denial assertion unchanged.

No overlap with the checked maintainer-owned changes. No runtime or public contracts change.

## Evidence

- Latest main `c5029c5631d37c72df8c96007ccc29bc7db006f9`: exact focused command reproduced 2 passing / 1 failing, with the 30-second loading wait timing out at line 252.
- With the one-line fixture correction: the same command passed all 3 tests, including the full navigation/read/search/download/edit flow (20.22 seconds total).
- `pnpm exec oxfmt --check ui/src/e2e/transcript-library.e2e.test.ts`: passed.
- `git diff --check`: passed.

Command: `node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/transcript-library.e2e.test.ts`.

Merge risk: two-way door; reverting only restores the flaky test. Blast radius is this mocked-Gateway E2E fixture, with no production changes.

Co-authored-by: Ayaan Zaidi <[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