Skip to content

ci(release): skills install against a local fixture server in the install gate #1367 - #1398

Closed
nc9 wants to merge 2 commits into
mainfrom
ci/skills-install-fixture-1367
Closed

nc9 wants to merge 2 commits into
mainfrom
ci/skills-install-fixture-1367

Conversation

@nc9

@nc9 nc9 commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1367

Workflow change (hold-list): .github/workflows/test-install.yml. Needs a human decision before merge.

  • Each of the five platform jobs (Linux glibc, Linux musl, macOS arm64, macOS x64, Windows) gets a step "Install skills from a local fixture server" after its fixture audit. It runs scripts/skills-install-fixture-check.py: a loopback server serving manifest.json and skills/<skill>/<file>, squirrel skills install with SQUIRREL_SKILLS_TEST_SOURCE set (cli: loopback-only source override so install tests can exercise skills install offline #590) in a scratch HOME, then asserts the files landed with the manifest's sha256 and the fixture server saw every request.
  • No request leaves the machine for skills: every proxy variable points at a dead port with loopback exempt, so a request to GitHub would fail the install. It also asserts the stderr note that announces the test source.
  • The script is embedded in each job because the release path has no repository checkout (and the Alpine job has no git); scripts/skills-install-gate.test.ts keeps all five copies identical to the script file.
  • actionlint passes. I ran the script locally against bun run apps/cli/src/cli.ts (passes). The five runner jobs have not run; the first release or canary run is the proof, so watch it.

Notes:

  • The script reads child output as UTF-8 (errors replaced) and drops inherited agent config and SQUIRREL_* variables, so it behaves the same on a dev machine and a runner.
  • A manual canary run with a version older than 0.0.145 fails by design: those builds cannot read a local skills source.
  • When skills install breaks, the canary files "installer canary failing".
  • .secrets.baseline line numbers for test-install.yml are refreshed.

Test and CI only. Docs: none. Skill change: none.

nik

…form job of the install gate #1367

Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9
nc9 force-pushed the ci/skills-install-fixture-1367 branch from e12567c to 0e2dfd5 Compare October 31, 2026 02:36
@nc9
nc9 force-pushed the ci/skills-install-fixture-1367 branch from 0e2dfd5 to 5d5ff8c Compare October 31, 2026 03:20
@nc9 nc9 mentioned this pull request Oct 31, 2026
@nc9

nc9 commented Oct 31, 2026

Copy link
Copy Markdown
Contributor Author

Landed in v0.0.148 as 8b09cb9b 36ad3210 via #1427. Release: https://github.com/squirrelscan/squirrelscan/releases/tag/v0.0.148. Closing this original.

nik

@nc9 nc9 closed this Oct 31, 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.

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

1 participant