Skip to content

Click the reasoning trigger by slot, not by its wording - #11406

Merged
danielhanchen merged 1 commit into
mainfrom
ci/reasoning-trigger-driver-label
Sep 21, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci/reasoning-trigger-driver-label

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Chat UI Tests (extra) fails on main. The driver waits the full 30 seconds and then times out:

playwright._impl._errors.TimeoutError: Locator.click: Timeout 30000ms exceeded.
Call log:
  - waiting for get_by_role("button", name="Thought for 0 seconds", exact=True)

35a4b3128 (#11373) reworded the reasoning trigger from Thought for N seconds to Worked for .... The button is on the page the whole time; only the copy moved.

Four unrelated pull requests are red on this right now, including #11400, which touches nothing but backend test helpers. That is how a main break gets read as the branch's fault.

Change

The component puts data-slot="reasoning-trigger" on the clickable element and that is what it guarantees. The wording is product copy and has now moved once; it will move again. The driver locates the slot instead.

This is the same failure as #11404, from the same commit, but in a Playwright driver rather than a source-reading contract, so it is separate rather than folded in.

Verification

This leg needs a Studio install and a browser, so I could not run it here. CI on this pull request is the check, and the failing job is the one to watch.

Chat UI Tests (extra) fails on main. The driver waits 30s and then times out on

  waiting for get_by_role("button", name="Thought for 0 seconds", exact=True)

because 35a4b31 (#11373) reworded the trigger from 'Thought for N seconds'
to 'Worked for ...'. The button is present the whole time; only the copy moved.

Four unrelated pull requests are red on this right now, including one that only
touches backend test helpers, so it reads as their fault rather than main's.

The component guarantees data-slot="reasoning-trigger" on the clickable
element; the label is product copy and will move again. The driver now locates
the slot.

This one cannot be run here: the leg needs a Studio install and a browser, so
CI on this pull request is the check.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-21T03:24:48.167560Z 2d7beae Manual request
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 2d7beaed44

ℹ️ 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".

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".

@danielhanchen
danielhanchen merged commit 5105270 into main Sep 21, 2026
28 of 30 checks passed
@danielhanchen
danielhanchen deleted the ci/reasoning-trigger-driver-label branch September 21, 2026 03:52
shaojun pushed a commit to shaojun/unsloth that referenced this pull request Sep 29, 2026
)

Chat UI Tests (extra) fails on main. The driver waits 30s and then times out on

  waiting for get_by_role("button", name="Thought for 0 seconds", exact=True)

because 35a4b31 (unslothai#11373) reworded the trigger from 'Thought for N seconds'
to 'Worked for ...'. The button is present the whole time; only the copy moved.

Four unrelated pull requests are red on this right now, including one that only
touches backend test helpers, so it reads as their fault rather than main's.

The component guarantees data-slot="reasoning-trigger" on the clickable
element; the label is product copy and will move again. The driver now locates
the slot.

This one cannot be run here: the leg needs a Studio install and a browser, so
CI on this pull request is the check.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant