You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
release: install tests never exercise the network #423
The release workflow's install tests (test-install.yml) only run squirrel --version, self version --json and self doctor. Nothing a released binary does over the network is tested before or after publish: fetching a page, reading the skills manifest, installing skills. A build where every fetch fails would pass all five platforms.
Found while verifying v0.0.99: the release binary was checked for network by hand, in a container.
each platform runs a 1-page audit of a local fixture site served from 127.0.0.1 (-m 1 --disable-discovery-probes) and asserts exit 0 with one page crawled (decided: a local fixture instead of squirrelscan.com, so the job cannot flake on an outside host)
a network failure in either step fails the job with the command output visible
Blocked on a decision before I open a PR. No code changed yet.
The problem. The criteria ask for two network checks on each install-test platform. A deterministic CI version (local fixture server or recorded manifest) works for one of them but not the other:
squirrel skills install: the released binary has no way to point at a different source. apps/cli/src/self/skills-manifest.ts hardcodes github.com/squirrelscan/skills.git for the ref lookup and raw.githubusercontent.com/squirrelscan/skills for the manifest and files. There is no env var or flag for a base URL. So a fixture server or recorded manifest cannot be used without adding an override to the shipped binary. That override would decide where skill files are fetched from, which is a supply-chain-sensitive change, so I don't want to add it unasked.
1-page audit: a local fixture site should work with the existing binary. I have not confirmed that the crawler accepts a loopback target.
Options
Add a narrowly scoped override, for example an env var that is honoured only when it points at a loopback address. Then both checks run against a local fixture server on every platform. This is deterministic, but it is a product change and it needs your sign-off.
Keep the checks against the real hosts, as the issue's example does (github for skills, squirrelscan.com for the audit). This needs no product change, but it makes the job depend on external uptime. That conflicts with the "not flaky" requirement.
Split it. Run the audit against a local fixture now, and track the skills check separately until an override exists.
Which do you want? I'll start as soon as there is a decision.
Status: PR #591 is open for the local fixture audit check. It covers the 1-page audit criterion and the "failure shows command output" criterion. The crawler accepts a loopback target, so no product change was needed. The skills-install criterion is split out to #590, and I updated the criteria here to point at it. I dispatched test-install.yml on the PR branch to get a first run on every platform, and I'm waiting on that and on the bot review.
Status: PR #591 is merged. It adds the local fixture audit check to every install-test platform. Evidence for the criteria:
1-page audit, exit 0, one page crawled: the new "Audit a local fixture site" step. A manual dispatch of test-install.yml on the PR branch passed it on all five platforms (run 37837713680).
Failure shows the command output: the step prints the squirrel output, the audit JSON and the fixture server log on any failed assertion. I checked this locally by pointing the audit at a closed port.
Done for this issue's scope. #591 (shipped in v0.0.108) adds "Audit a local fixture site" to all five install-test jobs in test-install.yml (Linux glibc, musl, macOS arm64 and x64, Windows): a 1-page audit of a 127.0.0.1 fixture that asserts exit 0 and one page crawled, and prints the squirrel output, the audit JSON and the fixture server log on failure. The skills-install check was split out and is criterion 4 of #590, which stays open.
Activity
nc9 commentedon Oct 8, 2026
Blocked on a decision before I open a PR. No code changed yet.
The problem. The criteria ask for two network checks on each install-test platform. A deterministic CI version (local fixture server or recorded manifest) works for one of them but not the other:
squirrel skills install: the released binary has no way to point at a different source.apps/cli/src/self/skills-manifest.tshardcodesgithub.com/squirrelscan/skills.gitfor the ref lookup andraw.githubusercontent.com/squirrelscan/skillsfor the manifest and files. There is no env var or flag for a base URL. So a fixture server or recorded manifest cannot be used without adding an override to the shipped binary. That override would decide where skill files are fetched from, which is a supply-chain-sensitive change, so I don't want to add it unasked.Options
Which do you want? I'll start as soon as there is a decision.
nc9 commentedon Oct 8, 2026
Status: PR #591 is open for the local fixture audit check. It covers the 1-page audit criterion and the "failure shows command output" criterion. The crawler accepts a loopback target, so no product change was needed. The skills-install criterion is split out to #590, and I updated the criteria here to point at it. I dispatched
test-install.ymlon the PR branch to get a first run on every platform, and I'm waiting on that and on the bot review.ci(install): refresh secrets baseline line numbers, comment the log m…
ci(install): audit a local fixture site in every install test
ci(install): refresh secrets baseline line numbers, comment the log m…
nc9 commentedon Oct 9, 2026
Status: PR #591 is merged. It adds the local fixture audit check to every install-test platform. Evidence for the criteria:
test-install.ymlon the PR branch passed it on all five platforms (run 37837713680).squirrel skills installcriterion: still open, tracked in cli: loopback-only source override so install tests can exercise skills install offline #590.The squirrelscan agent skill needs no change. Ticking the criteria is yours.
nc9 commentedon Oct 10, 2026
Done for this issue's scope. #591 (shipped in v0.0.108) adds "Audit a local fixture site" to all five install-test jobs in
test-install.yml(Linux glibc, musl, macOS arm64 and x64, Windows): a 1-page audit of a 127.0.0.1 fixture that asserts exit 0 and one page crawled, and prints the squirrel output, the audit JSON and the fixture server log on failure. The skills-install check was split out and is criterion 4 of #590, which stays open.