Skip to content

Merge permissions/grants invariant configs into their base configs - #5809

Merged
denik merged 1 commit into
mainfrom
denik/compact-invariant-tests
Jul 2, 2026
Merged

Merge permissions/grants invariant configs into their base configs#5809
denik merged 1 commit into
mainfrom
denik/compact-invariant-tests

Conversation

@denik

@denikdenik commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

The invariant configs had separate base and *_with_permissions/*_with_grants variants that differed only by an appended permissions or grants block. Fold the block into the base config and drop the variant for jobs, database instances, model serving endpoints, schemas, and secret scopes.

model is left as a separate model/model_with_permissions pair: continue_293 deploys first with CLI v0.293.0, which cannot deploy model permissions (see its no_model_with_permissions exclude, #4941). Merging permissions into model.yml.tmpl would force excluding it from continue_293 and lose base-model continue-from-0.293.0 coverage. The other five resources have no such old-version limitation.

This pull request and its description were written by Isaac.

The invariant configs had separate base and *_with_permissions/*_with_grants
variants that differed only by an appended permissions or grants block.
Fold the block into the base config and drop the variant for jobs, database
instances, model serving endpoints, schemas, and secret scopes.
model is left as a separate model/model_with_permissions pair: continue_293
deploys first with CLI v0.293.0, which cannot deploy model permissions (see
its no_model_with_permissions exclude, PR #4941). Merging permissions into
model.yml.tmpl would force excluding it from continue_293 and lose base-model
continue-from-0.293.0 coverage. The other five resources have no such
old-version limitation.
Co-authored-by: Isaac
@denik
deniktemporarily deployed to test-trigger-is July 2, 2026 16:04 — with GitHub Actions Inactive
@denik
deniktemporarily deployed to test-trigger-is July 2, 2026 16:04 — with GitHub Actions Inactive
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: b1677c3

Run: 28604207389

Env💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
💚​aws linux101323010414:13
💚​aws windows101323210393:32
💚​aws-ucws linux10133149594:52
💚​aws-ucws windows10133169574:10
💚​azure linux41523010404:14
💚​azure windows41523210383:41
💚​azure-ucws linux4153169564:56
💚​azure-ucws windows4153189543:42
💚​gcp linux41522910423:51
💚​gcp windows41523110403:54
23 interesting tests: 13 SKIP, 10 RECOVERED
Test Nameaws linuxaws windowsaws-ucws linuxaws-ucws windowsazure linuxazure windowsazure-ucws linuxazure-ucws windowsgcp linuxgcp windows
💚​TestAccept💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R
🙈​TestAccept/bundle/invariant/no_drift🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/permissions🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
💚​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions💚​R💚​R💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
💚​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct💚​R💚​R💚​R💚​R
💚​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform💚​R💚​R💚​R💚​R
💚​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions💚​R💚​R💚​R💚​R🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
💚​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct💚​R💚​R💚​R💚​R
💚​TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform💚​R💚​R💚​R💚​R
🙈​TestAccept/bundle/resources/postgres_branches/basic🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_branches/recreate🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_branches/replace_existing🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_branches/update_protected🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_branches/without_branch_id🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_endpoints/basic🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/postgres_projects/update_display_name🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/synced_database_tables/basic🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
🙈​TestAccept/ssh/connection🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
💚​TestFetchRepositoryInfoAPI_FromRepo💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R
💚​TestFetchRepositoryInfoAPI_FromRepo/root💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R
💚​TestFetchRepositoryInfoAPI_FromRepo/subdir💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R💚​R
Top 5 slowest tests (at least 2 minutes):
durationenvtestname
3:05gcp windowsTestAccept
2:54aws-ucws windowsTestAccept
2:42azure windowsTestAccept
2:42azure-ucws windowsTestAccept
2:36aws windowsTestAccept

@denik
denik enabled auto-merge July 2, 2026 16:24
@denik
denik added this pull request to the merge queueJul 2, 2026
Merged via the queue into main with commit cb5cdb0Jul 2, 2026
25 checks passed
@denik
denik deleted the denik/compact-invariant-tests branch July 2, 2026 16:59
Sign up for freeto 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

@denik@eng-dev-ecosystem-bot@shreyas-goenka