Skip to content

acc: CloudSlow only narrows Cloud = true tests - #6354

Merged
janniklasrose merged 3 commits into
mainfrom
janniklasrose/cloudslow-only-affects-cloud-true
Aug 24, 2026
Merged

acc: CloudSlow only narrows Cloud = true tests#6354
janniklasrose merged 3 commits into
mainfrom
janniklasrose/cloudslow-only-affects-cloud-true

Conversation

@janniklasrose

@janniklasrose janniklasrose commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Previously CloudSlow implied Cloud = true: any test with CloudSlow = true was flipped to Cloud = true during config materialisation and in the runner's skip logic, even when Cloud was explicitly false.

This change makes CloudSlow only narrow an already-enabled cloud run: it is honoured only when Cloud = true, where it skips the cloud run under -short. The runner now gates on Cloud alone and applies the -short skip afterwards.

Tests that reached the cloud run solely via the implication now set Cloud = true explicitly to preserve their behaviour. The vector_search_indexes subtests that set CloudSlow = false purely to defeat the old implication drop that workaround, since Cloud = false alone now means local-only.

janniklasrose and others added 2 commits August 24, 2026 11:07
Not needed because parent's `CloudSlow = true` flipped `Cloud` to `true`.

Follow-up will stop that behaviour (CloudSlow should only affect `Cloud = true`).

However, this test _should_ actually be `Cloud = true` so this config can be removed.
Previously CloudSlow implied Cloud: any test with CloudSlow = true was
flipped to Cloud = true during config materialisation and in the runner's
skip logic, even when Cloud was explicitly false. This made CloudSlow a
second, surprising way to opt a test into the cloud run and let an inherited
CloudSlow = true silently override an explicit Cloud = false.

Make CloudSlow only narrow an already-enabled cloud run: it is honoured only
when Cloud = true, where it skips the cloud run under -short. The runner now
gates on Cloud alone and applies the -short skip afterwards.

Tests that reached the cloud run solely via the implication now set
Cloud = true explicitly to preserve their behaviour. The vector_search_indexes
subtests that set CloudSlow = false purely to defeat the old implication drop
that workaround, since Cloud = false alone now means local-only.

Co-authored-by: Isaac <no-reply@databricks.com>
@janniklasrose
janniklasrose requested a review from denik August 24, 2026 09:26
@@ -1,4 +1,4 @@
Cloud = false
CloudSlow = false
CloudSlow = true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could also omit CloudSlow from out.test.toml if Cloud = false

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's indeed not needed in that case, but I kind of like seeing the entire (including the inherited) config materialize in out.test.toml

Base automatically changed from janniklasrose/remove-vs-test-toml to main August 24, 2026 10:04
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 42e107d

Run: 32719278296

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 1 4 274 1167 6:30
💚​ aws windows 1 4 276 1165 5:41
💚​ azure linux 1 4 273 1167 8:09
💚​ azure windows 1 4 275 1165 5:51
💚​ gcp linux 1 4 274 1167 9:28
💚​ gcp windows 1 4 276 1165 6:19
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
Top 5 slowest tests (at least 2 minutes):
duration env testname
3:52 azure windows TestAccept
3:44 gcp windows TestAccept
3:37 aws windows TestAccept
2:34 gcp linux TestLock
2:02 gcp windows TestFilerWorkspaceFilesExtensionsDelete

@janniklasrose
janniklasrose added this pull request to the merge queue Aug 24, 2026
Merged via the queue into main with commit 599229b Aug 24, 2026
23 checks passed
@janniklasrose
janniklasrose deleted the janniklasrose/cloudslow-only-affects-cloud-true branch August 24, 2026 11:36
dkling-it pushed a commit to dkling-it/cli that referenced this pull request Aug 24, 2026
Not needed because parent's `CloudSlow = true` flipped `Cloud` to
`true`.

Follow-up (databricks#6354) will stop that behaviour (CloudSlow should only affect
`Cloud = true`).

However, this test _should_ actually be `Cloud = true` so this config
can be removed.
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.

3 participants