Repository navigation
test(ui): advertise Agent Settings tools reads in screen routing e2e - #197016
Merged
Merged
Conversation
#196457 hides Agent Settings panels the Gateway does not advertise; this fixture's reconnect-github step waits for tools.github.status from the Tools panel, which no longer rendered. Co-authored-by: obviyus <[email protected]>
Contributor
|
🦞👀 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. |
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 11, 2026
…penclaw#197016) openclaw#196457 hides Agent Settings panels the Gateway does not advertise; this fixture's reconnect-github step waits for tools.github.status from the Tools panel, which no longer rendered. Co-authored-by: obviyus <[email protected]>
This was referenced Nov 11, 2026
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes:
ui/src/e2e/screen-requester-routing.e2e.test.ts("opens the selected session and its app views only in the browser that asked the agent") fails on every run on main. Main CI skips the UI e2e suites on main pushes, so it went red unnoticed and now blocksci-gateon unrelated PRs (seen on #196480).User Impact
User impact: none. Test fixture only.
Why This Change Was Made
Bisected between
81ab38d(passes) and main (fails): first bad commit086d257(#196457, "hide unavailable Agent Settings panels"). Agent Settings panels now render only when the Gateway advertises their read methods. That PR updated the other e2e fixtures to advertiseagents.listand the tools reads, but this test's mock Gateway was missed. Itsreconnect-githubstep navigates to/settings/agents/main/toolsand waits fortools.github.status, which the now-hidden Tools panel never requests, so the wait times out at line 201.The fixture now advertises
agents.list,tools.catalogandtools.effective, matching how #196457 updatedagent-config-save.e2e.test.ts. No assertions change.Evidence
63db599:Tests 1 failed (1),TimeoutError: waitForFunctionatwaitForRequest("tools.github.status"), reproduced 3 times.Tests 1 passed (1), 2 consecutive runs (clean env).81ab38dpass,685f18a/474b4ce/e2a1807pass,dc0ab02fail,5bffc70/73a0ce1/584084dpass,277e32cfail,086d257fail (first bad).