Repository navigation
test(tools): gh-actions-lock pinned, and an offline GitHub proxy pins its behaviour - #300
Merged
Merged
Conversation
… its behaviour Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
… no other way out GITHUB_ACTIONS, which also selects the tool's patient retries, no longer reaches it; every proxy variable points at the fixture, which refuses anything but api.github.com; an empty SSL_CERT_DIR leaves the test CA as the only root; a run past two minutes is killed; and the frozen-lock case checks the lock too.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 1 of 4 for GitHub Actions workflow lockfiles (
.github/workflows/actions.lock, generally available on 2026-10-28). No behaviour change, except thatpatchula tools installandprunenow include the new tool.github:github/gh-actions-lock[bin=gh-actions-lock]0.4.1 indefaults.tomland[test:tools.tools].mise.lockrecordsprovenance = "github-attestations"for all three platform builds.actions_lock_specintool.rsfeedstools install/pruneuntil PR 3 adds the tool's descriptor, and PR 3 removes it.tests/real_actions_lock.rs):HTTPS_PROXYto a loopback proxy that accepts onlyCONNECT api.github.com:443and refuses and records anything else. It terminates TLS with a certificate generated per test (SSL_CERT_FILE), so no key is committed, and answers through the testkit's cassetteReplay(PATCHULA_RECORD=1records). The tool runs with a cleared environment, a fakeGH_TOKENandCI=false; the tool's CI retry mode stalls about 110 s on failures.rustlsandrcgenare dev-dependencies, on aws-lc-rs like the rest of the workspace.--no-narrowthe tool rewrites@v7to@v7.0.1;# v7.0.0comment;actions/cache/restore@v4locks underactions/[email protected];--no-interactive --no-onboard --no-narrow --ignore-local-actions --json=valid,findings) leave the workflow untouched and reportvalid.fixtures/tools/actions-lock-*.json): recorded read-only against publicactions/checkoutandactions/cache, with the token redacted.fixtures:check: 49 cassettes, no possible secrets.On the project VM:
test:tools27/27,test:unit, clippy, fmt and hk pass.Next: PR 2 mints a narrow read-only installation token on the server. PR 3 adds the engine: the regenerated lockfile in the same commit as the bump, or the update held with a reason. PR 4 adds
--relockin lockfile maintenance.