From 3979c001a1e9dab1030ec640d506383b3dcccd42 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Sat, 24 Oct 2026 09:26:38 +0100 Subject: [PATCH 1/3] Queue Vuforia workflows instead of replacing pending tests --- .github/workflows/test.yml | 5 ++++- prek.toml | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 94a6ce5db..7fb467740 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,10 @@ on: # We share Vuforia credentials and therefore Vuforia databases across # workflows. We therefore want to run only one workflow at a time. -concurrency: vuforia_credentials +# Queue pending runs so updates to other PRs do not cancel their tests. +concurrency: + group: vuforia_credentials + queue: max permissions: {} diff --git a/prek.toml b/prek.toml index 61c1559cf..bdebd1ea5 100644 --- a/prek.toml +++ b/prek.toml @@ -117,7 +117,9 @@ hooks = [ { id = "actionlint", name = "actionlint", - entry = "uv run --group=dev actionlint", + # actionlint does not yet recognize GitHub's concurrency.queue key. + # Remove this exact diagnostic filter when rhysd/actionlint#657 is fixed. + entry = "uv run --group=dev actionlint -ignore 'unexpected key \"queue\" for \"concurrency\" section'", language = "python", pass_filenames = false, types_or = ["yaml"], From 5be14ce427395f2305a3395c06dae807dcc1327b Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Mon, 26 Oct 2026 06:47:19 +0000 Subject: [PATCH 2/3] Scope actionlint queue ignore to the test workflow --- .github/actionlint.yaml | 5 +++++ prek.toml | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 .github/actionlint.yaml diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml new file mode 100644 index 000000000..6c97d1811 --- /dev/null +++ b/.github/actionlint.yaml @@ -0,0 +1,5 @@ +--- +paths: + .github/workflows/test.yml: + # Remove when https://github.com/rhysd/actionlint/issues/657 is fixed. + ignore: [^unexpected key "queue" for "concurrency" section\.] diff --git a/prek.toml b/prek.toml index bdebd1ea5..61c1559cf 100644 --- a/prek.toml +++ b/prek.toml @@ -117,9 +117,7 @@ hooks = [ { id = "actionlint", name = "actionlint", - # actionlint does not yet recognize GitHub's concurrency.queue key. - # Remove this exact diagnostic filter when rhysd/actionlint#657 is fixed. - entry = "uv run --group=dev actionlint -ignore 'unexpected key \"queue\" for \"concurrency\" section'", + entry = "uv run --group=dev actionlint", language = "python", pass_filenames = false, types_or = ["yaml"], From a391b7510933ebabde86f410617e1604ea5c57be Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Mon, 26 Oct 2026 08:26:11 +0000 Subject: [PATCH 3/3] Preserve the workflow-specific actionlint suppression --- prek.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/prek.toml b/prek.toml index bdebd1ea5..61c1559cf 100644 --- a/prek.toml +++ b/prek.toml @@ -117,9 +117,7 @@ hooks = [ { id = "actionlint", name = "actionlint", - # actionlint does not yet recognize GitHub's concurrency.queue key. - # Remove this exact diagnostic filter when rhysd/actionlint#657 is fixed. - entry = "uv run --group=dev actionlint -ignore 'unexpected key \"queue\" for \"concurrency\" section'", + entry = "uv run --group=dev actionlint", language = "python", pass_filenames = false, types_or = ["yaml"],