Repository navigation
fix(qa): retain onboarding prompts across redraw bursts - #147687
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. Reviewed September 13, 2026, 9:52 PM ET / September 14, 2026, 01:52 UTC. ClawSweeper reviewWhat this changesThe PR expands onboarding QA log searches from 120,000 bytes to 1 MiB and adds regression coverage for prompts followed by large terminal redraws. Merge readiness✅ Ready for maintainer review Keep open: current main and the latest release retain the smaller search window, so this focused repair remains useful. No blocking correctness or security defect was found. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw's onboarding QA drivers capture terminal output and search it before sending the next input. This helper normalizes terminal formatting and searches a bounded tail when literal matching fails. flowchart LR
A[Onboarding terminal output] --> B[Captured wizard log]
B --> C{Literal prompt found?}
C -->|Yes| F[QA driver continues]
C -->|No| D[Read bounded log tail]
D --> E[Normalize and match prompt]
E -->|Found| F
E -->|Missing| G[Continue waiting or time out]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +8, Other +2. Total +10 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep prompt matching in the existing shared helper with a larger bounded window and regression coverage that preserves the read limit. Do we have a high-confidence way to reproduce the issue? Yes, at the helper boundary: the added fixture puts the expected prompt outside main's 120,000-byte tail but inside the proposed 1 MiB tail. The full onboarding failure was not rerun in this read-only review. Is this the best way to solve the issue? Yes. Adjusting the existing helper's bounded window addresses the demonstrated eviction without adding another matcher, changing polling timeouts, or weakening assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e7a3d9208228. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
* commit '8e6fe8e02ddb51bfec4e80071f0f2adcae4cf098': (47 commits) refactor: simplify Gateway health response parsing (#147834) fix: avoid Gateway stalls when renaming sessions (#147869) refactor(plugins): reuse worker optional-method validation (#147925) refactor(infra): remove unreachable firewall diagnostic fallback (#147882) fix(ui): open attached automations from session hovercards (#147749) refactor(reply): share usage-bar numeric coercion (#147863) fix(doctor): report warnings for keyed agent configs (#123058) perf(plugins): reuse complete registry comparisons (#147893) fix(workboard): await lifecycle sweep completion in tests (#147950) fix: reduce stalls when browsing large session inventories (#147911) refactor(onboard): share custom model definition (#147915) feat(ios): collapse completed chat work above replies (#148002) fix(voice-call): retain state runtime for deferred streams (#147689) test(qa): compare Telegram entities semantically (#147752) fix(plugins): preserve runtime scope for deferred CLI actions (#147688) test(qa): keep Slack progress marker visible (#147748) test(qa): finish channel picker prompts (#147730) test(tui): handle auth restriction prompt (#147729) fix(qa): retain onboarding prompts across redraw bursts (#147687) fix(qa): seed Teams ambiguous timeout deterministically (#147686) ...
* commit '069710f909f0a7158777d0fc0bf1eab84e20c699': (45 commits) refactor(infra): consolidate update campaign reset ownership (openclaw#146555) refactor: simplify Gateway health response parsing (openclaw#147834) fix: avoid Gateway stalls when renaming sessions (openclaw#147869) refactor(plugins): reuse worker optional-method validation (openclaw#147925) refactor(infra): remove unreachable firewall diagnostic fallback (openclaw#147882) fix(ui): open attached automations from session hovercards (openclaw#147749) refactor(reply): share usage-bar numeric coercion (openclaw#147863) fix(doctor): report warnings for keyed agent configs (openclaw#123058) perf(plugins): reuse complete registry comparisons (openclaw#147893) fix(workboard): await lifecycle sweep completion in tests (openclaw#147950) fix: reduce stalls when browsing large session inventories (openclaw#147911) refactor(onboard): share custom model definition (openclaw#147915) feat(ios): collapse completed chat work above replies (openclaw#148002) fix(voice-call): retain state runtime for deferred streams (openclaw#147689) test(qa): compare Telegram entities semantically (openclaw#147752) fix(plugins): preserve runtime scope for deferred CLI actions (openclaw#147688) test(qa): keep Slack progress marker visible (openclaw#147748) test(qa): finish channel picker prompts (openclaw#147730) test(tui): handle auth restriction prompt (openclaw#147729) fix(qa): retain onboarding prompts across redraw bursts (openclaw#147687) ...
* commit '4ddb9ed21245eaca9f243e555a5ec070aaaf0dad': (113 commits) fix: avoid Gateway stalls when renaming sessions (openclaw#147869) refactor(plugins): reuse worker optional-method validation (openclaw#147925) refactor(infra): remove unreachable firewall diagnostic fallback (openclaw#147882) fix(ui): open attached automations from session hovercards (openclaw#147749) refactor(reply): share usage-bar numeric coercion (openclaw#147863) fix(doctor): report warnings for keyed agent configs (openclaw#123058) perf(plugins): reuse complete registry comparisons (openclaw#147893) fix(workboard): await lifecycle sweep completion in tests (openclaw#147950) fix: reduce stalls when browsing large session inventories (openclaw#147911) refactor(onboard): share custom model definition (openclaw#147915) feat(ios): collapse completed chat work above replies (openclaw#148002) fix(voice-call): retain state runtime for deferred streams (openclaw#147689) test(qa): compare Telegram entities semantically (openclaw#147752) fix(plugins): preserve runtime scope for deferred CLI actions (openclaw#147688) test(qa): keep Slack progress marker visible (openclaw#147748) test(qa): finish channel picker prompts (openclaw#147730) test(tui): handle auth restriction prompt (openclaw#147729) fix(qa): retain onboarding prompts across redraw bursts (openclaw#147687) fix(qa): seed Teams ambiguous timeout deterministically (openclaw#147686) refactor(mcp): load OAuth only when credentials are needed (openclaw#147884) ...
Summary
Why
Several onboarding scenarios in maturity run 34681094383 emitted their expected prompt, but later terminal redraw output evicted it from the helper's small tail window before the assertion ran.
Verification
pnpm exec vitest run test/scripts/onboard-log-contains.test.ts(4/4)pnpm check:changedSource run: https://github.com/openclaw/openclaw/actions/runs/34681094383