Skip to content

ci: run squirrel skills install against a local fixture server in the release install workflows #1367

Closed

Description

@nc9

Follow-up to #590 (hook shipped in #1362). SQUIRREL_SKILLS_TEST_SOURCE lets squirrel skills install read from a loopback fixture server; the release install workflows (.github/workflows/test-install.yml: Linux glibc, Linux musl, macOS, Windows) do not use it yet.

Acceptance Criteria

  • Each platform job in test-install.yml starts a loopback fixture server serving manifest.json and skills/<skill>/<file>
  • Each job runs squirrel skills install with SQUIRREL_SKILLS_TEST_SOURCE set and asserts the skill files land with the manifest's sha256
  • The jobs make no request to github.com or raw.githubusercontent.com for skills
  • actionlint passes on the workflow

nik

Activity

  1. added
    enhancement
    size: M
    on Oct 30, 2026
  2. added theissue type on Oct 30, 2026
  3. nc9 commented on Oct 31, 2026

    @nc9
    ContributorAuthor

    Landed in v0.0.148: five install jobs now run squirrel skills install against a loopback fixture server, with the proxy variables pointed at a dead port and a check that no skills request goes to GitHub; actionlint is clean and the static gate test passes (ticked: the last criterion). The other criteria need the workflow to run on the real runners, so leaving this open until the next release or canary shows the step green on every platform.

    nik

  4. nc9 commented on Nov 2, 2026

    @nc9
    ContributorAuthor

    Verified on main (e86767ff). 8b09cb9b added the step "Install skills from a local fixture server" to every platform job in .github/workflows/test-install.yml, and 36ad3210 made the fixture check hermetic (scripts/skills-install-fixture-check.py, pinned to the workflow copy by scripts/skills-install-gate.test.ts). The script serves manifest.json and skills/<skill>/<file> on loopback, runs squirrel skills install with SQUIRREL_SKILLS_TEST_SOURCE set, checks each landed file against the manifest sha256, and points every proxy variable at a dead port so a request to GitHub fails the install.

    Real runs: Release run 41378111487 (https://github.com/squirrelscan/squirrelscan/actions/runs/41378111487, head ea604991, which contains 8b09cb9b) passed that step on all five verify jobs: Linux glibc, Linux musl, macOS x64, macOS arm64 and Windows. Release run 41347962077 also contains the commit and succeeded. All boxes ticked, closing.

    nik

  5. nc9 commented on Nov 2, 2026

    @nc9
    ContributorAuthor

    Checked against main (e86767f). Ticked criteria 1 to 3 (4 was ticked); all met. Landed in v0.0.148 (8b09cb9 the fixture step, 36ad321 the static gate). The step "Install skills from a local fixture server" is in all five jobs of test-install.yml; actionlint exits 0 and scripts/skills-install-gate.test.ts passes (2). On the real runners: the Release workflow's installer verify jobs ran the step green on all five platforms in the 12 release runs from v0.0.148 to v0.0.159; the log of the v0.0.159 run on each platform prints squirrel skills install read 2 files from the local fixture (3 requests). Criterion 3 is enforced indirectly: every proxy variable points at a dead port and the check asserts the fixture saw each file request, so a request to GitHub would fail the install; there is no direct assertion on github.com traffic. Closing. Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.159

    nik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementsize: M

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions