Repository navigation
Tool activity gate: wait for each card to open before reading it, not a fixed sleep - #17234
Conversation
|
@codex review |
Codex Review Summary: 🔄 RunningThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
tests/studio/playwright_tool_activity.pyscene 3 clicks the controlled and uncontrolled tool cards back to back, sleeps a fixed 600 ms, then readsaria-expanded. On a loaded runner the second click is sometimes lost: the first card's 200 ms Radix expansion is still moving the second trigger, so the gate reportswhile the controlled card opened fine. It has turned
Chat UI Tests (extra)red on unrelated PRs three times since yesterday:No frontend file changed on
mainbetween the last green run of that job and those failures.The fix opens each card in turn and waits, bounded at 5 s, until its trigger reports
aria-expanded="true"before clicking the next one. The scene still readsaria-expandedafterwards and records the same problem, so a card that really does not open on click still fails the gate.Changes
tests/studio/playwright_tool_activity.py: newclick_open(page, name)helper, used for the two scene 3 clicks. Every other scene is unchanged.Testing
problems == []each time.3: uncontrolled did not open on click._playwright_robustpass (714 passed), and ruff and the exec-literal lint are clean.