bundle/config: flip workspace URL test to opt-out#5601
Merged
Conversation
Collaborator
Integration test reportCommit: 31e2720
22 interesting tests: 15 SKIP, 7 RECOVERED
Top 30 slowest tests (at least 2 minutes):
|
janniklasrose
commented
Jun 15, 2026
Comment on lines
+127
to
+131
| "external_locations": true, | ||
| "postgres_branches": true, | ||
| "postgres_endpoints": true, | ||
| "postgres_projects": true, | ||
| "secret_scopes": true, |
Contributor
Author
There was a problem hiding this comment.
see https://github.com/databricks/cli/pull/5346/changes#r3311349591 & discussed on Slack - these are expected to not have URLs
andrewnester
approved these changes
Jun 15, 2026
Collaborator
Integration test reportCommit: fd28114
485 interesting tests: 406 MISS, 37 FAIL, 30 RECOVERED, 4 PANIC, 4 flaky, 2 KNOWN, 2 SKIP
Top 50 slowest tests (at least 2 minutes):
|
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
Refactor
TestBundleResourcePluralNamesResolveInWorkspaceURLsfrom an opt-in list (withURLs, 22 entries) to an opt-out map (noURL, 5 entries). The test now iterates allSupportedResources()automatically and asserts every resource either resolves to a non-empty workspace URL or is explicitly listed as having no URL.Why
Follow-up to #5346
The opt-in approach required manually adding new resources to the test list, making it easy to silently miss coverage. The opt-out approach catches omissions by default: any new resource added to
SupportedResources()will fail the test unless it has a URL pattern inlibs/workspaceurlsor is explicitly opted out with a comment.As a bonus, the refactor surfaces that
genie_spaceswas already present inresourceURLPatternsbut had been inadvertently omitted from the oldwithURLslist.A staleness check guards the
noURLmap itself: if a resource is removed fromSupportedResources(), the test fails rather than silently carrying a dead opt-out entry.Tests
Existing test updated; runs as part of
./task test.This PR was written by Claude Code.