Skip to content

fix(lockfiles): run gh-actions-lock 0.5.1 - #392

Merged
sweepies merged 1 commit into
mainfrom
chore/gh-actions-lock-0.5.1
Nov 23, 2026
Merged

sweepies merged 1 commit into
mainfrom
chore/gh-actions-lock-0.5.1

Conversation

@sweepies

@sweepies sweepies commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

gh-actions-lock 0.4.1 drops a composite action's uses edge when the workflow also uses the same pin directly (github/gh-actions-lock#272, fixed in 0.5.0 by github/gh-actions-lock#301). An update could then write an incomplete actions.lock, which the tool's own online check rejects. It happened here when the Count moved patchula.yml's pin of its own action to v0.9.0: patchula.yml also runs the repository's action through uses: $/, which uses the same actions/cache pin.

  • Moves the default gh-actions-lock to 0.5.1 in defaults.toml, test:tools and mise.lock, and in the lockfiles guide's table. The Count can't make this bump itself yet: its mise lock step looks up github:github/gh-actions-lock[bin=gh-actions-lock] under its manifest key, but mise records it without the options. That's fixed in a separate PR.
  • Re-records the 12 gh-actions-lock cassettes with 0.5.1, which makes fewer requests.
  • Fixes the real-tool test proxy. Each tunnel ran its exchanges on its own current-thread runtime while the recorder's client pooled connections, so a request that reused another tunnel's connection stalled until it timed out. 0.5.1's GraphQL requests hit this every time. All tunnels now share one runtime, and recording takes 10 s instead of 42 s.

Verified on the dev VM:

  • mise run test:tools: 46 passed.
  • cargo test -p patchula-tools: 212 passed.
  • clippy on the crate: clean.
  • The fixtures scan: clean.
  • Run with the Count's flags, 0.5.1 keeps the edge in a minimal reproduction where 0.4.1 drops it.

View guided diff Turn on auto-fix

gh-actions-lock 0.4.1 dropped a composite action's `uses` edge when the
workflow also used the same pin directly (github/gh-actions-lock#272), so
an update could write an incomplete actions.lock that the tool's own
online check then rejects. 0.5.0 fixed it.

The recorded cassettes are re-recorded with 0.5.1, which makes fewer
requests. Recording also needed a fix in the test proxy: each tunnel ran
its exchanges on its own runtime while the recorder pooled connections,
so a request reusing another tunnel's connection stalled until it timed
out. Every tunnel now shares one runtime.
@sweepies
sweepies merged commit e1f5968 into main Nov 23, 2026
13 checks passed
@sweepies
sweepies deleted the chore/gh-actions-lock-0.5.1 branch November 23, 2026 20:12
@sweepies-ops sweepies-ops Bot mentioned this pull request Nov 23, 2026
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