Skip to content

ci: stop canceling PR approval workflow runs#5566

Merged
pietern merged 1 commit into
mainfrom
pr-approval-drop-concurrency
Jun 12, 2026
Merged

ci: stop canceling PR approval workflow runs#5566
pietern merged 1 commit into
mainfrom
pr-approval-drop-concurrency

Conversation

@pietern

@pietern pietern commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

The PR approval workflow canceled in-flight runs via concurrency (cancel-in-progress: true). A canceled run leaves its own failing check check-run, and since GitHub keeps one check-run per run rather than per name, a later passing run doesn't clear it — the commit stays red until that run is re-run. cancel-in-progress: false wouldn't be enough, since concurrency also cancels pending runs by default, so this drops the block entirely; the check is idempotent and ~20s, so letting every run finish is harmless.

Found while investigating a stray red ✗ on an unrelated PR that lingered even after the same workflow had passed.

This pull request and its description were written by Isaac.

The PR approval workflow grouped every run for a PR under one concurrency key with cancel-in-progress: true, so an in-flight run (e.g. from a push) was canceled when a newer event (e.g. an approval) arrived; a canceled run posts its own `check` check-run with a cancelled conclusion, and because GitHub records one check-run per workflow run rather than one per name, the later successful run posts a separate green check-run instead of clearing the red one, so the commit stays red until that run is re-run or a new commit supersedes it. cancel-in-progress: false would not fix it because concurrency also cancels pending runs by default, so the only way to never cancel a run is to drop the concurrency block entirely; the check is idempotent and ~20s, so letting every run finish is harmless and the gate status still lands on the head commit via the latest run.

Co-authored-by: Isaac
@pietern pietern temporarily deployed to test-trigger-is June 12, 2026 05:32 — with GitHub Actions Inactive
@pietern pietern temporarily deployed to test-trigger-is June 12, 2026 05:32 — with GitHub Actions Inactive
@pietern pietern enabled auto-merge June 12, 2026 05:48
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Commit: b458b83

Run: 27396738463

Env 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
🔄​ aws linux 7 3 15 261 971 10:04
💚​ aws windows 7 15 266 969 11:32
🔄​ aws-ucws linux 1 7 15 359 885 8:29
🔄​ aws-ucws windows 1 7 15 361 883 12:49
💚​ azure linux 1 17 267 969 7:43
💚​ azure windows 1 17 269 967 9:31
💚​ azure-ucws linux 1 17 365 881 15:53
💚​ azure-ucws windows 1 17 367 879 12:52
💚​ gcp linux 1 17 263 972 8:05
💚​ gcp windows 1 17 265 970 12:09
25 interesting tests: 15 SKIP, 7 flaky, 3 RECOVERED
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp 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 🔄​f 💚​R 💚​R 💚​R
🔄​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 🔄​f 💚​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 🔄​f 💚​R 💚​R 💚​R
🔄​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 🔄​f 💚​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_endpoints/recreate 🙈​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/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/grants/select 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🔄​ TestWorkspaceFilesExtensions_ExportFormatIsPreserved/jupyter_python 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p
🔄​ TestWorkspaceFilesExtensions_ExportFormatIsPreserved/jupyter_r 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p
🔄​ TestFetchRepositoryInfoAPI_FromRepo 🔄​f ✅​p 🔄​f 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p ✅​p
Top 32 slowest tests (at least 2 minutes):
duration env testname
6:19 aws windows TestAccept
6:15 azure-ucws linux TestSQLExecScalar
6:15 azure-ucws windows TestAccept
6:12 aws-ucws windows TestAccept
6:11 gcp windows TestAccept
4:58 azure windows TestAccept
4:37 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
4:29 azure-ucws linux TestSecretsPutSecretStringValue
4:19 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
4:18 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
4:15 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:23 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:22 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:16 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:05 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:03 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:03 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:02 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:59 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:59 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:54 azure linux TestAccept
2:54 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:52 gcp linux TestAccept
2:51 aws-ucws linux TestAccept
2:50 azure-ucws linux TestAccept
2:43 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:39 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:35 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:33 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:30 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:26 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:11 gcp linux TestSecretsPutSecretStringValue

@pietern pietern disabled auto-merge June 12, 2026 06:31
@pietern pietern added this pull request to the merge queue Jun 12, 2026
Merged via the queue into main with commit f157bd1 Jun 12, 2026
26 checks passed
@pietern pietern deleted the pr-approval-drop-concurrency branch June 12, 2026 06:46
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