Skip to content

ci: bound every job, and allow manual runs - #49

Merged
tcheeric merged 2 commits into
masterfrom
develop
Sep 25, 2026
Merged

tcheeric merged 2 commits into
masterfrom
develop

Conversation

@tcheeric

Copy link
Copy Markdown
Owner

Promotes the CI hardening from #48 to master, so the branch that actually receives pushes is covered too.

Neither job had timeout-minutes, so both inherited GitHub's 360 minute default. The identical gap in nap-java let a stuck scan run 50 minutes before I noticed, and it would have reached six hours unattended. Both jobs finish in about a minute today, so the caps are sized for a hang rather than for slowness.

Also adds workflow_dispatch, since the audit job asks npm's advisory database a question whose answer changes without this repository changing.

No source changes. Verified green on #48 before merging to develop.

tcheeric and others added 2 commits September 25, 2026 00:55
Neither job had timeout-minutes, so both inherited GitHub's 360 minute
default. The same gap in nap-java let a stuck scan run for 50 minutes
before I noticed, and it would have gone to six hours unattended. vitest
spawns workers and the voucher suite talks to a local mint, so a child
that never exits is the realistic way this hangs.

Caps are sized for a hang rather than for slowness: both jobs finish in
about a minute today, so 20 and 15 leave room for the suite to grow
without the cap becoming the thing that fails.

workflow_dispatch for the same reason it was added to nap-java. The audit
job asks npm's advisory database a question whose answer changes without
this repository changing, so re-checking it should not require inventing a
commit.

Nothing here caches on failure. `cache: npm` is managed by setup-node and
restores from the registry, so it does not have nap-java's problem of an
expensive artifact discarded whenever the job fails.
ci: bound every job, and allow manual runs

Neither job had timeout-minutes, so both inherited GitHub's 360 minute
default. The same gap in nap-java let a stuck scan run 50 minutes before
anyone noticed.
@tcheeric
tcheeric merged commit e07a586 into master Sep 25, 2026
9 checks passed
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.

1 participant