Skip to content

maint: let a manual dispatch advance the pins - #2

Merged
clhodapp merged 1 commit into
mainfrom
maint/dispatch-advances-pins
Sep 1, 2026
Merged

clhodapp merged 1 commit into
mainfrom
maint/dispatch-advances-pins

Conversation

@clhodapp

@clhodapp clhodapp commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

The workflow already offers workflow_dispatch, but the advance step is gated on github.event_name == 'schedule' alone. A manual run therefore tests the pins it already has and changes nothing, which is not what a manual trigger on a drift detector looks like it should do.

That matters right now: caisson and caisson-core both landed changes today, and this repository's lock still points at revisions from before them (caisson at bfd018f against 7f80a1e on main, caisson-core at 7ad0139 against 32a7fae). Without this, the suite tests the family against superseded revisions until Monday.

What changed

The advance runs on either trigger. The commit message and the committer identity now take the trigger's name instead of saying "cron" and "scheduled" regardless of how the run started.

Verification

I ran the advance locally on main exactly as the step does. nix flake update moves four inputs (caisson, caisson-core, nixpkgs, and home-manager), and against that advanced world nix flake check -L passes and the suite reports ok: 22 tests passed. So the advance this enables is green before it is enabled.

After merging, dispatching this workflow on main will advance the lock and commit it.

The workflow already offered workflow_dispatch, but the advance step
was gated on the schedule alone, so a manual run tested the pins it
already had and changed nothing. That leaves the suite testing against
superseded revisions until the next Monday whenever the family lands a
change worth testing against now.

Run the advance on either trigger, and take the trigger's name for the
commit message and the committer identity, which said "cron"
regardless.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@clhodapp clhodapp self-assigned this Sep 1, 2026
@clhodapp
clhodapp merged commit 6716f50 into main Sep 1, 2026
1 check passed
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