Skip to content

test(ui): locate portaled chat Details in the active pane - #170782

Merged
steipete merged 1 commit into
mainfrom
dbasync/redmain-chat-details
Oct 13, 2026
Merged

steipete merged 1 commit into
mainfrom
dbasync/redmain-chat-details

Conversation

@steipete

@steipete steipete commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The scheduled UI E2E shard times out after clicking the chat header Details button. The adaptive Details change in #170707 deliberately portals the content into the conversation frame, but the delegated-work test still searches inside the header control for the dialog and its close button.

Scope the dialog to the active chat pane while keeping the trigger lookup in the header. The test still requires the Details dialog to become visible, closes it through its actual button, waits for it to hide, and retains every delegated-work, layout-retention, and next-conversation assertion. No production behavior, visual styling, database access, or schema changes.

Evidence

  • Actual scheduled-main failure: run 38359584345, UI6, head 0348a2526c561d8ccce61bfd23931024a6b8f13e, chat-header-subagents.e2e.test.ts:78: Details dialog visibility timeout after 30 seconds. The shard reports one failed and 446 passed cases.
  • Culprit 2c705154ec84fc165829156dc4359327956e3d0f: its parent-relative patch adds the conversation-frame Portal and updates component browser-test queries, but omits this E2E locator.
  • Changed-file formatting, lint, and git diff --check: passed. One isolated Codex review: scoped-clean, no actionable findings. Normal commit hooks: passed.
  • Ordinary candidate CI 38362882551/job115181489859 passed the exact original delegated-work case in 7.978 seconds. Its six-file shard passed all 13 cases in 31.69 seconds; no supplemental run was needed.
  • LOC: one file, +4/-5. No new tests, timeouts, retries, skipped assertions, or production code.

Exact candidate proof:

node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-header-subagents.e2e.test.ts

Final candidate static, type, architecture, security, and required CI gates passed. Database ratchets remain T1 454 to 454, compatibility calls 9 to 9, and all dialect groups 0 to 0. This test-only locator correction makes no SQL savings claim.

@clawsweeper

clawsweeper Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T07:31:16.564740Z 82647df PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete merged commit 68e6d06 into main Oct 13, 2026
80 of 81 checks passed
@steipete
steipete deleted the dbasync/redmain-chat-details branch October 13, 2026 07:40
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…law#170782)

## What Problem This Solves

The scheduled UI E2E shard times out after clicking the chat header Details button. The adaptive Details change in openclaw#170707 deliberately portals the content into the conversation frame, but the delegated-work test still searches inside the header control for the dialog and its close button.

Scope the dialog to the active chat pane while keeping the trigger lookup in the header. The test still requires the Details dialog to become visible, closes it through its actual button, waits for it to hide, and retains every delegated-work, layout-retention, and next-conversation assertion. No production behavior, visual styling, database access, or schema changes.

## Evidence

- Actual scheduled-main failure: [run 38359584345, UI6](https://github.com/openclaw/openclaw/actions/runs/38359584345/job/115170476531), head `116f0502239e7f1cd4a85f57331f986f616e8939`, `chat-header-subagents.e2e.test.ts:78`: Details dialog visibility timeout after 30 seconds. The shard reports one failed and 446 passed cases.
- Culprit `b9a82f35f24ed3503a4841ccb17f5bca56505d62`: its parent-relative patch adds the conversation-frame Portal and updates component browser-test queries, but omits this E2E locator.
- Changed-file formatting, lint, and `git diff --check`: passed. One isolated Codex review: scoped-clean, no actionable findings. Normal commit hooks: passed.
- Ordinary candidate CI [38362882551/job115181489859](https://github.com/openclaw/openclaw/actions/runs/38362882551/job/115181489859) passed the exact original delegated-work case in 7.978 seconds. Its six-file shard passed all 13 cases in 31.69 seconds; no supplemental run was needed.
- LOC: one file, +4/-5. No new tests, timeouts, retries, skipped assertions, or production code.

Exact candidate proof:

```sh
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-header-subagents.e2e.test.ts
```

Final candidate static, type, architecture, security, and required CI gates passed. Database ratchets remain T1 454 to 454, compatibility calls 9 to 9, and all dialect groups 0 to 0. This test-only locator correction makes no SQL savings claim.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant