Skip to content

fix(ci): move CLI acceptance test timeout from job to step#23205

Merged
nchamo merged 1 commit into
merge-train/fairiesfrom
nc/cli-acceptance-step-timeout
May 12, 2026
Merged

fix(ci): move CLI acceptance test timeout from job to step#23205
nchamo merged 1 commit into
merge-train/fairiesfrom
nc/cli-acceptance-step-timeout

Conversation

@nchamo
Copy link
Copy Markdown
Contributor

@nchamo nchamo commented May 12, 2026

Summary

When the Aztec CLI Acceptance Test workflow hung past its 30-minute limit (example run), nothing landed in #team-fairies. The job was killed but no Slack notification fired.

Why

The two Slack steps gate on:

if: success() && ...   # success notify
if: failure() && ...   # failure notify

timeout-minutes at the job level makes the conclusion cancelled on expiry. success() is false (a step was cancelled), and failure() is also false (cancelled ≠ failed). Both notification steps get skipped.

timeout-minutes at the step level makes the step's conclusion failure instead — which the existing failure()-gated notify already handles.

Manual cancellations and "superseded by newer run" still come through as cancelled and stay silent — that's the desired behavior for those cases; we don't want to ping the channel every time someone re-runs the workflow.

A job-level timeout-minutes makes the job conclusion `cancelled` on
expiry, and both Slack notification steps gate on `success()` or
`failure()` — neither of which is true for a cancellation. As a
result, when the acceptance test hung past 30 minutes the workflow
was silently killed with no notification.

A step-level timeout-minutes makes the step conclusion `failure`
instead, so the existing failure notification fires. Real
cancellations (manual cancel, superseded-by-newer-run) still come
through as `cancelled` and remain silent, which is the desired
behavior for those cases.
@nchamo nchamo requested a review from charlielye as a code owner May 12, 2026 16:12
@nchamo nchamo self-assigned this May 12, 2026
@nchamo nchamo requested a review from vezenovm May 12, 2026 16:14
@vezenovm vezenovm enabled auto-merge (squash) May 12, 2026 18:09
@nchamo nchamo disabled auto-merge May 12, 2026 19:01
@nchamo nchamo merged commit a947700 into merge-train/fairies May 12, 2026
26 of 32 checks passed
@nchamo nchamo deleted the nc/cli-acceptance-step-timeout branch May 12, 2026 19:01
@AztecBot
Copy link
Copy Markdown
Collaborator

✅ Successfully backported to backport-to-v4-next-staging #23198.

AztecBot added a commit that referenced this pull request May 13, 2026
BEGIN_COMMIT_OVERRIDE
chore: kv store test fully on vitest (#23096)
chore: backport kv-store vitest migration (#23096) to v4-next (#23185)
test: add noir tests for get_note_hash_membership_witness (#23190)
fix(aztec-up): explicit exit in CLI acceptance test harness (#23200)
refactor(pxe): batch nullifier sync across scopes (#23129)
refactor(pxe): backport batch nullifier sync across scopes (#23129) to
v4-next (#23208)
fix(ci): revert ci-compat-e2e to AWS access keys (#23211)
test: drop event_logs from compat matrix and loosen avm_simulator
assertion regex (#23193)
fix(aztec-up): install manifest-pinned Node version instead of LTS
(#23201)
fix(ci): move CLI acceptance test timeout from job to step (#23205)
END_COMMIT_OVERRIDE
rangozd pushed a commit to rangozd/aztec-packages that referenced this pull request May 16, 2026
BEGIN_COMMIT_OVERRIDE
fix(aztec-up): install manifest-pinned Node version instead of LTS
(AztecProtocol#23201)
fix(ci): move CLI acceptance test timeout from job to step (AztecProtocol#23205)
feat: package sqlite kv-store backend for stricter browser envs (AztecProtocol#23089)
fix(pxe): sync target contract before cross-contract utility call
(AztecProtocol#23225)
fix(ci): swap slack_notify args in CLI acceptance test (AztecProtocol#23241)
feat: optimize get next app tag as sender (AztecProtocol#23239)
chore(aztec-nr): mark emit_event_in_public as #[inline_never] to shrink
public dispatch (AztecProtocol#23161)
chore: better encrypted sqlite ergonomics (AztecProtocol#23231)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants