Repository navigation
Backport e2e flake hardening to rel-autumn-hawkbit - #18795
Merged
Merged
Conversation
Cherry-picked from af7ab6b (#18789) on main. That commit hardened five specs; the console-keybindings one is dropped here because its feature (#18761, custom editor keybindings in the console) is not on this branch, so neither is the spec. - resetToUntitled kept a DIRTY untitled placeholder. The placeholder is shared across specs, so text a previous spec left in it survived the reset; the next saveAllSourceDocs then raised a modal Save File prompt for the pathless doc, and its glass panel blocked the console. SourceColumnManager now only reuses a clean untitled doc, waitForSourcePaneReset requires one, and closeSourceAndDeleteFile drops the saveAllSourceDocs it never needed. - closeProjectIfOpen could sit behind "Save workspace image?". ApplicationQuit's saveAction_ holds its saveAsk() default until the backend's SaveActionChangedEvent lands, so a project closed seconds after it opened prompts anyway. Dismiss it. - The vimrc mid-session spec clicked the editor straight after newSourceDoc, so the click landed on the outgoing document's unrendered ace_content. Wait for the new editor. - The ghost-text specs treated "No completions available" as something to wait out. It is terminal, so a declined suggestion cost the full 30s budget. Re-request instead. Adds source_pane_reset.test.ts, which fails without the SourceColumnManager change.
gtritchie
had a problem deploying
to
e2e-playwright
September 11, 2026 22:49 — with
GitHub Actions
Failure
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 22:49 — with
GitHub Actions
Inactive
gtritchie
had a problem deploying
to
e2e-playwright
September 11, 2026 22:51 — with
GitHub Actions
Failure
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 22:51 — with
GitHub Actions
Inactive
gtritchie
had a problem deploying
to
e2e-playwright
September 11, 2026 22:54 — with
GitHub Actions
Failure
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 22:54 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 23:03 — with
GitHub Actions
Inactive
gtritchie
had a problem deploying
to
e2e-playwright
September 11, 2026 23:03 — with
GitHub Actions
Failure
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 23:03 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 23:03 — with
GitHub Actions
Inactive
gtritchie
had a problem deploying
to
e2e-playwright
September 11, 2026 23:03 — with
GitHub Actions
Failure
gtritchie
temporarily deployed
to
e2e-playwright
September 11, 2026 23:03 — 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 |
…ckport-e2e-flake-hardening
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:37 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:37 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:42 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:42 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:46 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:46 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:51 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:51 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:51 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:51 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:51 — with
GitHub Actions
Inactive
gtritchie
temporarily deployed
to
e2e-playwright
September 12, 2026 00:51 — with
GitHub Actions
Inactive
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.
Backports af7ab6b (#18789) from
main. That commit hardened five specstraced to specific races in a cross-platform run; four of them apply here.
resetToUntitledkept a dirty untitled placeholder. The placeholder isshared across specs, so text a previous spec left in it survived the reset;
the next
saveAllSourceDocsthen raised a modal Save File prompt for thepathless doc, and its glass panel blocked every later click.
SourceColumnManagernow only reuses a clean untitled doc,waitForSourcePaneResetrequires one, andcloseSourceAndDeleteFiledropsthe
saveAllSourceDocsit never needed (the file is deleted on the nextline). Adds
source_pane_reset.test.ts, which fails without theSourceColumnManagerchange.closeProjectIfOpencould sit behind "Save workspace image?". The sessionsrun with
save_workspace: never, butApplicationQuit'ssaveAction_holds its
saveAsk()default until the backend'sSaveActionChangedEventlands, so a project closed seconds after it opened prompts anyway.
dismissSaveWorkspacePromptclears it.The vimrc mid-session spec clicked the editor straight after
newSourceDoc, which only dispatches the command, so the click landed onthe outgoing document's unrendered
ace_content. Waits for the new editor.The ghost-text specs treated "No completions available" as something to
wait out. It is terminal -- nothing re-asks -- so a declined suggestion
cost the full 30s budget. Re-requests instead.
Notes for review
The fifth spec in #18789, the console-keybindings startup race, is omitted:
its feature (#18761, custom editor keybindings in the console) is not on this
branch, so neither is the spec. That was the only cherry-pick conflict; the
rest applied byte-identical to
main.This carries one non-test change,
SourceColumnManager.onDocumentResetToUntitled.DocumentResetToUntitledEventis dispatched only fromApplicationAutomation,the
window.rstudioautomation bridge, so no user-reachable path sees thechanged behavior. The accompanying
isDirty(EditingTarget)extractionpreserves the existing
dirty != null && dirtylogic.source_pane_reset.test.tslands on a branch that does not have the stalesource column fix (#18736 / #18737, currently
main-only). The dirty-untitledcase routes into the existing create-then-close path, which never reaches zero
tabs -- the state that bug needs -- and that path already runs on this branch,
so the two should not interact.
Verified:
tsc --noEmitandant javacboth clean. The specs themselves havenot been run on this branch.