Skip to content

scratch: CI measurement before/admin (do not merge) - #29

Closed
jayleaton wants to merge 1 commit into
mainfrom
scratch/foundation-aff-admin-before
Closed

jayleaton wants to merge 1 commit into
mainfrom
scratch/foundation-aff-admin-before

Conversation

@jayleaton

Copy link
Copy Markdown
Owner

Scratch; will be closed.

@jayleaton
jayleaton marked this pull request as ready for review October 22, 2026 09:06
@jayleaton jayleaton closed this Oct 22, 2026
@jayleaton
jayleaton deleted the scratch/foundation-aff-admin-before branch October 22, 2026 09:09
jayleaton added a commit that referenced this pull request Oct 23, 2026
…s web + admin

Ported from auto-visuals #31 (why: #26, #29). CI never built the images
or booted the binaries, so an image that cannot start, or a production
config that refuses to boot without an optional integration, reached a
deploy first.

scripts/release-smoke.sh, in the single ci job (and make release-smoke):
1. builds every binary that has a Dockerfile with that Dockerfile's own
   build-stage ENV and RUN line (scripts/dockerfile-builds.sh reads them;
   nothing copies the flags), and fails if one is dynamically linked;
2. runs the binaries' own migrate on fresh databases;
3. boots web and admin with APP_ENV=production and only the config
   production requires, until /healthz answers 200.

It runs only when a build input changed: scripts/affected.sh outputs
smoke=true for a full run, a changed Dockerfile, or an affected package
that a Dockerfile builds (test files alone do not count).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jayleaton added a commit that referenced this pull request Oct 23, 2026
…s web + admin (#115)

* ci: release smoke builds every Dockerfile's binary, migrates and boots web + admin

Ported from auto-visuals #31 (why: #26, #29). CI never built the images
or booted the binaries, so an image that cannot start, or a production
config that refuses to boot without an optional integration, reached a
deploy first.

scripts/release-smoke.sh, in the single ci job (and make release-smoke):
1. builds every binary that has a Dockerfile with that Dockerfile's own
   build-stage ENV and RUN line (scripts/dockerfile-builds.sh reads them;
   nothing copies the flags), and fails if one is dynamically linked;
2. runs the binaries' own migrate on fresh databases;
3. boots web and admin with APP_ENV=production and only the config
   production requires, until /healthz answers 200.

It runs only when a build input changed: scripts/affected.sh outputs
smoke=true for a full run, a changed Dockerfile, or an affected package
that a Dockerfile builds (test files alone do not count).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: give the Check step a minute for the release smoke; document it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(scripts): tidy the dockerfile-builds header

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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