Repository navigation
[3.0] e2e: don't read a description from the 'Select compute' row - #2340
Merged
louis-johnston-db merged 1 commit intoNov 23, 2026
Merged
Conversation
waitForClusterRow no longer reads a description from the "Select compute" row, which has none. Its label match was already the whole check. When the recycled tree row holding it never showed a description, the `.label-description` element is missing and getDescription threw on every poll until the 60 s timeout. For the attached "Cluster" row, a missing description element now counts as no description and the wait keeps polling, as rowTexts in utils/view.ts already does. <!-- vscode-factory:item=e2eflake:3e40fcc48e.6 --> Co-authored-by: Isaac <no-reply@databricks.com>
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 23, 2026 07:05 — with
GitHub Actions
Inactive
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 23, 2026 07:05 — with
GitHub Actions
Inactive
louis-johnston-db
temporarily deployed
to
test-trigger-is
November 23, 2026 07:05 — with
GitHub Actions
Inactive
anton-107
approved these changes
Nov 23, 2026
louis-johnston-db
deleted the
factory/e2eflake/compute-lifecycle-3e40fc
branch
November 25, 2026 16:00
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.
Changes
compute_lifecycle.next.e2e.ts,waitForClusterRow: when waiting for "Select compute" (after a detach), finding the row by its label is the check, so the wait no longer callsgetDescription()on it. That row has no description. VS Code adds a row's.label-descriptionelement only once that DOM row has shown a description, and reuses DOM rows across refreshes, so whether the element exists depended on the order the Project rows arrived at startup. When it didn't exist, every poll threw until the wait timed out.rowTextsinutils/view.ts.Tests
yarn test:e2e:spec compute_lifecycle.nexton the mock workspace.scim/v2/Meresponse delayed by 4 s. Slow login makes all the Project rows arrive in one refresh, which leaves the "Select compute" row without a description element and made the unchanged spec fail.yarn typecheck, plusoxfmtandoxlint --deny-warningson the changed file.Evidence (the factory's checks):
compute_lifecycle.nextfailed this way 6 times (windows), last on 2026-11-23; flaky because passed on windows on the same commit 06623b7 (run 43861928421 attempt 2); passed on windows on the same commit f85c547 (run 44859476117 attempt 1).src/compute_lifecycle.next.e2e.ts): failed 8 of 10 runs without the fix, 0 of 10 with it.yarn checkandyarn typecheck: passed.This pull request and its description were written by Isaac.