Skip to content

fix(ci): report merge train merged alerts against the base branch - #24940

Merged
fcarreiro merged 2 commits into
merge-train/spartanfrom
cb/fix-merge-train-merged-alert-spartan
Jul 23, 2026
Merged

fcarreiro merged 2 commits into
merge-train/spartanfrom
cb/fix-merge-train-merged-alert-spartan

Conversation

@AztecBot

@AztecBot AztecBot commented Jul 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Port of aztec-packages#24939 to merge-train/spartan.

The merge-train merged Slack alert was reporting the PR head branch as the destination. For v5, that produced PR merged into merge-train/spartan-v5 even though the PR base was v5-next.

Changes

  • Pass github.event.pull_request.base.ref to the merged notification step as TARGET_BRANCH.
  • Make ci3/merge_train_failure_slack_notify --merged prefer TARGET_BRANCH, with a REF_NAME fallback for direct/local use.

Tests

  • bash -n ci3/merge_train_failure_slack_notify
  • git diff --check

Created by claudebox · group: slackbot · requested by Facundo Carreiro · Slack thread

@AztecBot AztecBot added ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR. labels Jul 23, 2026
fcarreiro added a commit that referenced this pull request Jul 23, 2026
…4939)

## Summary

Retargeted to `merge-train/spartan-v5` per request. The matching
`merge-train/spartan` port is
[aztec-packages#24940](#24940).

The merge-train merged Slack alert was reporting the PR head branch as
the destination. For
[aztec-packages#24851](#24851),
the PR head was `merge-train/spartan-v5` but the actual base was
`v5-next`, so the Slack message was misleading.

## Changes

- Pass `github.event.pull_request.base.ref` to the merged notification
step as `TARGET_BRANCH`.
- Make `ci3/merge_train_failure_slack_notify --merged` prefer
`TARGET_BRANCH`, with a `REF_NAME` fallback for direct/local use.

## Tests

- `bash -n ci3/merge_train_failure_slack_notify`
- `git diff --check`

---
*Created by
[claudebox](https://claudebox.work/v2/sessions/85cdf7ecc9727322/jobs/1)
· group: `slackbot` · requested by Facundo Carreiro · [Slack
thread](https://aztecprotocol.slack.com/archives/C0AU8BULZHC/p1784809391722469?thread_ts=1784809391.722469&cid=C0AU8BULZHC)*
@fcarreiro
fcarreiro marked this pull request as ready for review July 23, 2026 13:05
@fcarreiro
fcarreiro requested a review from charlielye as a code owner July 23, 2026 13:05
@fcarreiro
fcarreiro enabled auto-merge (squash) July 23, 2026 13:05
@fcarreiro
fcarreiro merged commit a557a7f into merge-train/spartan Jul 23, 2026
18 checks passed
@fcarreiro
fcarreiro deleted the cb/fix-merge-train-merged-alert-spartan branch July 23, 2026 13:05
rangozd pushed a commit to rangozd/aztec-packages that referenced this pull request Aug 5, 2026
BEGIN_COMMIT_OVERRIDE
chore: declare bb.js and l1-artifacts portals once via root resolutions
(AztecProtocol#24917)
fix(ci): report merge train merged alerts against the base branch
(AztecProtocol#24940)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants