Skip to content

Commit 6a039cf

Browse files
committed
fix(queue): leave publication ordering durable
1 parent 4d558a1 commit 6a039cf

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

‎.github/workflows/sweep.yml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,9 +1357,6 @@ jobs:
13571357
if: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.queue_lease_id != '' && github.event.client_payload.source_action == 'exact_review_artifact_publish' }}
13581358
runs-on: ubuntu-latest
13591359
timeout-minutes: 60
1360-
concurrency:
1361-
group: clawsweeper-mutation-${{ github.event.client_payload.target_repo || 'unknown-repo' }}-${{ github.event.client_payload.item_number || github.run_id }}
1362-
cancel-in-progress: false
13631360
permissions:
13641361
actions: write
13651362
contents: write

‎test/sweep-workflow.test.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ test("exact event review hands immutable artifacts to the queue-bounded publishe
360360
assert.equal(reviewer.permissions?.contents, "read");
361361
assert.equal(reviewer["timeout-minutes"], 120);
362362
assert.equal(reviewer.permissions?.issues, "read");
363+
assert.equal(publisher.concurrency, undefined);
363364
assert.equal(
364365
reviewer.steps.some((candidate) => candidate.uses?.endsWith("/setup-state")),
365366
false,
@@ -434,8 +435,6 @@ test("exact event review hands immutable artifacts to the queue-bounded publishe
434435
step(publisher, "Claim durable exact review publication").run ?? "",
435436
/internal\/exact-review\/claim/,
436437
);
437-
assert.equal(publisher.concurrency?.["cancel-in-progress"], false);
438-
assert.match(publisher.concurrency?.group ?? "", /clawsweeper-mutation-/);
439438
assert.equal(publisher.permissions?.actions, "write");
440439
assert.equal(
441440
batchPublisher.concurrency?.group,

0 commit comments

Comments
 (0)