Skip to content

Run the weekly coverage check in a container of its own - #304

Merged
joepio merged 1 commit into
mainfrom
coverage-check-in-its-own-container
Sep 10, 2026
Merged

Run the weekly coverage check in a container of its own#304
joepio merged 1 commit into
mainfrom
coverage-check-in-its-own-container

Conversation

@joepio

@joepio joepio commented Sep 10, 2026

Copy link
Copy Markdown
Member

The weekly coverage check was docker exec'd into the web container, so every deploy recreated that container and killed the run with it: five times between Monday and today, each time leaving an orphaned deno process behind. The unit now uses docker compose run --rm --no-deps -T, which gives the check the same image, environment, volume and network, and a life of its own. Re-run scripts/install-production-coverage.sh after merging; a deploy does not touch the unit. Best merged after the run that is currently in progress finishes, since this merge's own deploy would kill it once more.

It was exec'd into the web container, so every deploy recreated that
container and killed the run with it: five times in one week, and the
deno process outlived the systemd unit as an orphan each time. compose
run gives the check the same image, environment, volume and network, and
a life of its own. Re-run the installer after merging.
@joepio
joepio merged commit b354202 into main Sep 10, 2026
3 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