Repository navigation
Tolerate U+200E in the skill-selection e2e assertion - #18782
Merged
Merged
Conversation
Posit Assistant 1.4.0 began prefixing every tool-call caption with U+200E (LEFT-TO-RIGHT MARK) so that an rtl-truncated file path keeps its leading slash on the left, in posit-dev/assistant d6d3901e7. JavaScript's \s character class spans - and so does not match U+200E. The assertion therefore failed against a rendered string that is visually identical to what it expected, deterministically on Windows, Linux and macOS in the 1.4.1 release gate. Match the mark explicitly. The class also accepts the bare whitespace that 1.3.1 and earlier emit, so the test passes against both released versions.
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:43 — with
GitHub Actions
Inactive
gtritchie
had a problem deploying
to
e2e-playwright
September 11, 2026 01:43 — with
GitHub Actions
Failure
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:49 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:49 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:53 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:53 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:54 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:54 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:54 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:54 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:54 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 01:54 — with
GitHub Actions
Inactive
RStudio E2E - all platformsAll tests passed!
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 03:00 — with
GitHub Actions
Inactive
gtritchie
added a commit
that referenced
this pull request
Sep 12, 2026
* Match chat messages by role testid, not data-message-id (#18781) PA 1.4.0 (#2395) added a per-turn footer that carries data-message-id and renders after the message row, so messageItem.last() resolved to a cost and timing row reading "8:54 PM" instead of the reply. Every chat test that asserts on the last message failed on all three platforms, and the dead-turn detector read those footers as non-substantive, reporting them as the provider dropping turns mid-stream. Match the ChatMessage row wrapper and the MessageRenderer content div instead, so the locator tracks what a message is rather than what shares its id. The matched set is unchanged against the currently released assistant, so the suite runs against both it and the pre-release builds the gate exercises. Route the two inline [data-message-id] locators in conversation-history through the page object so there is one definition to keep correct. (cherry picked from commit 9bae5ac) * Tolerate U+200E in the skill-selection e2e assertion (#18782) Posit Assistant 1.4.0 began prefixing every tool-call caption with U+200E (LEFT-TO-RIGHT MARK) so that an rtl-truncated file path keeps its leading slash on the left, in posit-dev/assistant d6d3901e7. JavaScript's \s character class spans \u2000-\u200a and so does not match U+200E. The assertion therefore failed against a rendered string that is visually identical to what it expected, deterministically on Windows, Linux and macOS in the 1.4.1 release gate. Match the mark explicitly. The class also accepts the bare whitespace that 1.3.1 and earlier emit, so the test passes against both released versions. (cherry picked from commit 904450a) * e2e: keep a slow posit ai sign-in from failing the whole shard (#18780) A slow redirect after submitting the password on login.posit.cloud was classified as a credential failure (the step was marked fatal), which failed the auth setup project and left every dependent test as "did not run". Click with noWaitAfter so the 30s URL wait owns that budget instead of the runner's 10s actionTimeout, and only treat the step as fatal when the page actually shows a rejection message; a stalled redirect now falls through to the transient path and the @ai tests skip. Also give the readline-notification test the same settle window the rest of the suite gives an assistant turn (the agent keeps working after readline() returns), size its timeout for two turns, and spell out in the prompt that the code must be run with the executeCode tool rather than written to a file. (cherry picked from commit 2309310) --------- Co-authored-by: Kevin Ushey <[email protected]>
This branch was previously deployed
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.
chat-user-skills.test.tsasserts that the assistant emitsskill: custom-code-reviewwhen it selects a user-level skill. The assertion matchedskill:\s*<name>.Posit Assistant 1.4.0 began prefixing every tool-call caption with U+200E (LEFT-TO-RIGHT MARK), so that an rtl-truncated file path keeps its leading slash on the left — posit-dev/assistant
d6d3901e7. The rendered text is nowskill:\ncustom-code-review.JavaScript's
\sspans-and does not include U+200E, so the assertion failed against a string that is visually identical to what it expected. It failed deterministically on Windows, Linux and macOS, on both attempts, in the PA 1.4.1 release gate (run 34546046306).Change
Match the mark explicitly with
skill:[\s]*<name>.The class also accepts bare whitespace, so the test passes against both released versions:
skill:\s*<name>skill:[\s]*<name>Scope
Only this assertion is affected. The other regex assertions in the Posit Assistant suite (
chat-guardrails.test.ts,chat-guardrails-paths.test.ts) match R console output rather than chat text, andchat-user-skills.test.ts:261uses a substring match, which a leading mark does not disturb.npm run typecheckpasses ine2e/rstudio.Not covered here
The same gate run also failed
restart-under-agent.test.ts:102on Windows (page.waitForFunction30s timeout during a project open/close cycle, withAgent process exited with status 1in the rsession log). That is a separate issue and is not addressed by this PR.