Skip to content

chore(rustcfml): bump engine pin to v0.752.0 - #4712

Closed
github-actions[bot] wants to merge 1 commit into
developfrom
auto-bump/rustcfml-v0.752.0
Closed

github-actions[bot] wants to merge 1 commit into
developfrom
auto-bump/rustcfml-v0.752.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated RustCFML engine bump (daily version check).

Pinned v0.751.0 → v0.752.0.

The full core suite ran green against the new engine, so this PR
bumps tools/rustcfml/ENGINE_VERSION and the per-asset sha256 pins in
tools/rustcfml/ENGINE_SHA256 (from the release's published digests),
plus the CLI's copies of both in
cli/lucli/services/rustcfml/RustCFMLEngine.cfc, and regenerates
tools/rustcfml/baseline.json to the new engine's result set.

If the suite had shown new failures, the pin would have been left
unchanged and this PR would not exist.

@github-actions
github-actions Bot force-pushed the auto-bump/rustcfml-v0.752.0 branch from c156016 to 090fa12 Compare November 26, 2026 18:35
@github-actions
github-actions Bot force-pushed the auto-bump/rustcfml-v0.752.0 branch from 090fa12 to f090803 Compare November 27, 2026 18:23
bpamiri added a commit that referenced this pull request Dec 1, 2026
A bump PR is opened with the workflow token, so its author is
github-actions[bot] — not a repository member. GitHub therefore holds every
pull_request workflow on it as action_required waiting for a maintainer, and
nothing approved them; each weekly bump stranded with "checks not run" and the
PRs stacked (#4711/#4712/#4713).

The same PRs are same-repo branches (isCrossRepository false), so this is the
actor-trust gate, not the fork rule. Approve the held runs from the bump
workflow itself with the workflow token (the approve endpoint accepts it): the
checks then run normally, and branch protection still requires them to pass.

When a new bump supersedes an open one, retire the older PR with a comment
naming its replacement. Only github-actions[bot] PRs on auto-bump/rustcfml-*
are touched; a validation dispatch can pass dry_run=true to leave the backlog
for a human. A six-hour scheduled sweep approves any held run that appears on
an auto-bump branch later.

Signed-off-by: Peter Amiri <peter@alurium.com>
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #4713, which pins a newer RustCFML release. Closing so the bump queue does not stack.

@github-actions github-actions Bot closed this Dec 1, 2026
@bpamiri

bpamiri commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Superseded by #4713, merged as 7a3ff4c334d695f90a1c5db5859970d17842f1da — same four files, newer engine version, nothing unique to preserve.

This comment is the authoritative record for this closure. The earlier "Superseded by #4713" comment on 2026-12-01T05:40Z was posted by the auto-bump retire step during its own validation run, a few minutes before #4713 actually landed; this one names the commit that did the superseding, so the history survives even if the bump is later reverted.

Why closing this lost nothing

Verified before the decision, not after:

That last point is the one that makes the bump trustworthy: a bump that does not change the pass total is a bump that did not paper over a regression.

This is a one-time backlog cleanup, not a precedent

The standing fix is #4717 — future bumps retire their own predecessors as part of the bump workflow. This closure is manual backlog cleanup from before that mechanism existed. If bump PRs pile up again, the cause is a missing or broken retirement step in the workflow, not an established practice of closing them by hand.

bpamiri added a commit that referenced this pull request Dec 1, 2026
…#4717)

* ci(rustcfml): approve auto-bump PR checks and retire superseded bumps

A bump PR is opened with the workflow token, so its author is
github-actions[bot] — not a repository member. GitHub therefore holds every
pull_request workflow on it as action_required waiting for a maintainer, and
nothing approved them; each weekly bump stranded with "checks not run" and the
PRs stacked (#4711/#4712/#4713).

The same PRs are same-repo branches (isCrossRepository false), so this is the
actor-trust gate, not the fork rule. Approve the held runs from the bump
workflow itself with the workflow token (the approve endpoint accepts it): the
checks then run normally, and branch protection still requires them to pass.

When a new bump supersedes an open one, retire the older PR with a comment
naming its replacement. Only github-actions[bot] PRs on auto-bump/rustcfml-*
are touched; a validation dispatch can pass dry_run=true to leave the backlog
for a human. A six-hour scheduled sweep approves any held run that appears on
an auto-bump branch later.

Signed-off-by: Peter Amiri <peter@alurium.com>

* ci(rustcfml): do not persist checkout credentials before create-pull-request

checkout@v6 stores an Authorization extraheader, and
peter-evans/create-pull-request adds its own, so git rejected the push with
"Duplicate header: Authorization" before any PR was opened (dispatch
46500319558). The bump workflow uses the API for everything else, so it does
not need checkout's persisted credential.

Signed-off-by: Peter Amiri <peter@alurium.com>

* ci(rustcfml): inline the superseded-PR step

The workflow checks out develop, so a helper added by this PR is not present
when the workflow is dispatched from its own branch (dispatch 46500811318 hit
'No such file or directory'). The step is short enough to live in the workflow
and then needs no checkout dependency.

Signed-off-by: Peter Amiri <peter@alurium.com>

* fix(ci): make the auto-bump retire step actually close PRs

`gh pr close` has no `--reason` flag (that is `gh issue close`), so under
`set -euo pipefail` the retire loop died on its first iteration and closed
nothing while the scheduled run went red. Fold the explanation into
`gh pr close -c` instead.

Also harden the auto-approval path per review:
- both approval filters now require head_repository == this repo, so a fork PR
  whose branch is named auto-bump/* cannot get its held runs approved;
- `create-pull-request` reports 0 when no PR was created/found, so both guards
  require != '0' and the retire step refuses a non-positive number instead of
  closing everything as "superseded by #0";
- the retire list and the backstop run list are captured before the loop, so a
  failed `gh api`/`gh pr list` fails the step instead of reporting success with
  zero work;
- before closing, each PR is re-read and skipped if its state, head SHA, branch
  or author changed since the list was taken (TOCTOU).

Signed-off-by: Peter Amiri <peter@alurium.com>

---------

Signed-off-by: Peter Amiri <peter@alurium.com>
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.

1 participant