Skip to content

acc: keep $UNIQUE_NAME out of replace_ids.py/read_id.py placeholder names - #7015

Merged
denik merged 1 commit into
mainfrom
denik/unique-name-id-labels
Oct 12, 2026
Merged

denik merged 1 commit into
mainfrom
denik/unique-name-id-labels

Conversation

@denik

@denik denik commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Changes

replace_ids.py and read_id.py substitute $UNIQUE_NAME in the resource key before building the placeholder name, so project_name_${UNIQUE_NAME}_etl becomes [PROJECT_NAME_UNIQUE_NAME_ETL_ID]. default-python/integration_classic now uses replace_ids.py instead of the /jobs/\d+ workaround repls added in #6975.

Why

The placeholder name is upper-cased, so the unique name inside it escaped the case-sensitive [UNIQUE_NAME] replacement and the golden changed on every run.

Tests

Acceptance tests for templates, permissions, deployment, dms, migrate pass locally.

This pull request and its description were written by Isaac.

…ames

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Oct 12, 2026
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 4d1877f

Run: 38240706051

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 282 16 7:02
✅​ aws-windows-latest-4core-16gb 284 14 4:33
✅​ azure linux-2core-8gb 281 16 6:55
✅​ azure-windows-latest-4core-16gb 283 14 4:10
✅​ gcp linux-2core-8gb 282 16 6:54
✅​ gcp-windows-latest-4core-16gb 284 14 4:30
Top 3 slowest tests (at least 2 minutes):
duration env testname
4:00 aws linux-2core-8gb TestAccept
3:52 gcp linux-2core-8gb TestAccept
3:48 azure linux-2core-8gb TestAccept

@denik
denik marked this pull request as ready for review October 12, 2026 11:27
@denik
denik requested review from a team as code owners October 12, 2026 11:27
@denik
denik requested a review from andrewnester October 12, 2026 11:27
@denik
denik enabled auto-merge October 12, 2026 11:37
@denik
denik added this pull request to the merge queue Oct 12, 2026
Merged via the queue into main with commit 846e2c7 Oct 12, 2026
26 checks passed
@denik
denik deleted the denik/unique-name-id-labels branch October 12, 2026 11:54
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 846e2c7

Run: 38245834482

Env 🔄​flaky ✅​pass 🙈​skip Time
🔄​ aws linux-2core-8gb 1 1427 1136 141:56
🔄​ aws-windows-latest-4core-16gb 6 1347 1161 161:13
🔄​ azure linux-2core-8gb 3 1274 1188 132:51
✅​ azure-windows-latest-4core-16gb 1202 1213 130:11
🔄​ gcp linux-2core-8gb 1 1265 1192 141:46
✅​ gcp-windows-latest-4core-16gb 1191 1217 146:21
8 interesting tests: 8 flaky
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb gcp linux-2core-8gb
🔄​ TestAccept 🔄​f ✅​p 🔄​f 🔄​f
🔄​ TestAccept/bundle/deployment/bind/job/job-spark-python-task ✅​p 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/deployment/bind/job/job-spark-python-task/DMS= ✅​p 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/resources/apps/lifecycle-started ✅​p 🔄​f 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/apps/lifecycle-started/DMS= ✅​p ✅​p 🔄​f ✅​p
🔄​ TestAccept/bundle/resources/apps/lifecycle-started/DMS=true ✅​p 🔄​f ✅​p ✅​p
🔄​ TestAccept/bundle/resources/postgres_synced_tables/recreate ✅​p 🔄​f 🙈​s 🙈​s
🔄​ TestAccept/bundle/resources/postgres_synced_tables/recreate/DMS= ✅​p 🔄​f
Top 50 slowest tests (at least 2 minutes):
duration env testname
12:11 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
12:10 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
11:35 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
11:06 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
11:01 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
10:09 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
8:48 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
8:35 aws-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
8:06 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
7:37 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
7:35 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:33 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
7:31 azure linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
7:31 aws linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
7:26 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/deploy/local_ssd_count/DMS=true
7:19 azure linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
7:06 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
7:03 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
7:01 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
7:01 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
6:57 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
6:46 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
6:44 azure linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=
6:43 aws linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
6:30 azure-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started/DMS=true
6:29 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=true
6:27 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
6:18 gcp linux-2core-8gb TestAccept/bundle/config-remote-sync/multiple_resources/DMS=
6:06 gcp linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
6:03 azure linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=
5:55 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
5:49 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
5:24 azure linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
5:19 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
5:15 aws-windows-latest-4core-16gb TestAccept/bundle/deploy/spark-jar-task/DMS=
5:15 gcp linux-2core-8gb TestAccept/bundle/deploy/spark-jar-task/DMS=true
5:12 aws-windows-latest-4core-16gb TestAccept/bundle/deploy/spark-jar-task/DMS=true
5:11 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started/DMS=true
5:04 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true
4:55 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS=true
4:50 gcp-windows-latest-4core-16gb TestAccept/bundle/deploy/spark-jar-task/DMS=
4:45 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS=true
4:32 azure-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
4:31 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS=
4:27 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started-toggle/DMS=true
4:25 aws linux-2core-8gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=
4:24 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS=
4:22 gcp linux-2core-8gb TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS=true
4:17 gcp-windows-latest-4core-16gb TestAccept/bundle/resources/apps/lifecycle-started-omitted/DMS=
4:15 aws-windows-latest-4core-16gb TestAccept/bundle/resources/clusters/lifecycle-started-toggle/DMS=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants