Skip to content

acc: stop asserting app job permissions after the first deploy - #6961

Merged
denik merged 3 commits into
mainfrom
denik/acc-job-permissions-flake
Oct 7, 2026
Merged

denik merged 3 commits into
mainfrom
denik/acc-job-permissions-flake

Conversation

@denik

@denik denik commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Fixes a flake in bundle/apps/job_permissions. On the direct engine the job permissions and the app (which grants the job permission) can be deployed in either order, so CAN_MANAGE_RUN after the first deploy is order-dependent. The script used to drop the direct variant of that output, but #6877 renamed the terraform variant to the generic out.after_first_deploy.txt, so the flaky result is now compared (seen on #6959's task test (linux, direct)). The second-deploy check, which is what #4309 covers, is unchanged.

This pull request and its description were written by Isaac.

On the direct engine the job permissions and the app (which grants the job
permission) can be deployed in either order, so CAN_MANAGE_RUN after the
first deploy is order-dependent. The test only removed the direct variant
of that output; #6877 renamed the terraform variant to the generic file, so
the flaky result is now compared. The second-deploy check, which is what
#4309 is about, is unchanged.

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

eng-dev-ecosystem-bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 588cb30

Run: 37590622612

Env ✅​pass 🙈​skip Time
✅​ aws linux 279 16 7:41
✅​ aws windows 281 14 5:17
✅​ azure linux 278 16 8:47
✅​ azure windows 280 14 5:26
✅​ gcp linux 279 16 7:14
✅​ gcp windows 281 14 5:06
Top 8 slowest tests (at least 2 minutes):
duration env testname
4:09 gcp linux TestAccept
3:54 azure linux TestAccept
3:52 aws linux TestAccept
3:07 azure windows TestAccept
3:07 aws windows TestAccept
3:05 gcp windows TestAccept
2:16 azure windows TestAccept/bundle/apps/job_permissions/DMS=
2:07 aws windows TestAccept/bundle/apps/job_permissions/DMS=true

Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik marked this pull request as ready for review October 7, 2026 07:47
@denik
denik requested review from a team as code owners October 7, 2026 07:48
@denik
denik requested a review from rclarey October 7, 2026 07:48
@denik
denik enabled auto-merge October 7, 2026 07:48
@denik
denik requested a review from anton-107 October 7, 2026 07:48
Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik added this pull request to the merge queue Oct 7, 2026
Merged via the queue into main with commit e88fb78 Oct 7, 2026
25 checks passed
@denik
denik deleted the denik/acc-job-permissions-flake branch October 7, 2026 08:26
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