CI environment is missing the cc-tokens dependency, so tests/scan.test.sh always fails in Woodpecker #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context: .woodpecker/test.yaml runs CI tests in a bare alpine:3 container with only bash + python3 installed. Per design decision 0.1, never vendor a copy of dependencies — bin/offload-scan and tests/scan.test.sh require token-budget's cc-tokens binary on PATH.
Observed failure: Woodpecker pipeline #4 failed with:
error: cc-tokens not found on PATH and not in ~/.claude/plugins/cache//token-budget//bin/cc-tokens
The full test suite (tests/run-all.sh) otherwise passes; only tests/scan.test.sh and its dependent checks fail in CI.
Root cause: The CI environment lacks the token-budget plugin and its cc-tokens binary.
Why now: Pre-existing issue, but only surfaced during today's grind session (2026-07-29/30) when CI was activated for this repo for the first time.
Solutions:
Acceptance: