Skip to content

Fix the production image crashing on boot - #209

Merged
russellporter merged 3 commits into
masterfrom
fix/production-boot
Nov 23, 2026
Merged

russellporter merged 3 commits into
masterfrom
fix/production-boot

Conversation

@russellporter

@russellporter russellporter commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

The image published since 2026-11-16 fails at startup with "unknown keyword:
create_additions": json 3 (taken in #199) removed that keyword, and
sprockets 4.2.1 still passes it when it loads the asset manifest. That
manifest only exists in the production image, so CI's tests passed.

  • Update sprockets to 4.4.1, which no longer passes it.
  • Update puma to 8.1.2, which fixes the advisories bundle-audit reports
    for 8.1.1 (the audit job, and so the image push, fails on master).
  • Build the image on Ruby 3.3.13, the version in .ruby-version that CI
    tests with, instead of the Ruby 4.0 that build(deps): bump ruby from 3.3.4-alpine to 4.0.0-alpine #206 put in the Dockerfile only.
    Dependabot no longer updates the Dockerfile's Ruby; the Ruby version bump
    workflow updates both files.
  • CI: a new image job builds the production image and boots the app in
    it, and the push job does the same before publishing.
  • CI: rebuild and publish master weekly (Tuesday 09:00 UTC). Dependabot
    merges are made with GITHUB_TOKEN, which doesn't trigger the push build,
    so those updates were never published.
  • Don't auto-merge Dependabot major updates; they wait for review.

setup-ruby added 3.3.14 in v1.343.0 (2026-11-20), still inside the 7-day
Dependabot cooldown. Once Dependabot updates it, the Ruby version bump
workflow opens the 3.3.14 update.

The image published since 2026-11-16 fails at startup with "unknown keyword:
create_additions": json 3 (taken in #199) removed that keyword, and
sprockets 4.2.1 still passes it when it loads the asset manifest. That
manifest only exists in the production image, so CI's tests passed.

- Update sprockets to 4.4.1, which no longer passes it.
- Update puma to 8.1.2, which fixes the advisories bundle-audit reports
  for 8.1.1 (the audit job, and so the image push, fails on master).
- Build the image on Ruby 3.3.14, the version in .ruby-version that CI
  tests with, instead of the Ruby 4.0 that #206 put in the Dockerfile only.
  Dependabot no longer updates the Dockerfile's Ruby; the Ruby version bump
  workflow updates both files.
- CI: a new image job builds the production image and boots the app in
  it, and the push job does the same before publishing.
- CI: rebuild and publish master weekly (Tuesday 09:00 UTC). Dependabot
  merges are made with GITHUB_TOKEN, which doesn't trigger the push build,
  so those updates were never published.
- Don't auto-merge Dependabot major updates; they wait for review.
setup-ruby added 3.3.14 in v1.343.0 (2026-11-20), still inside the 7-day
Dependabot cooldown. Once Dependabot updates it, the Ruby version bump
workflow opens the 3.3.14 update.
Building on the current Alpine fails compiling ffi's bundled libffi
(linux/limits.h: No such file or directory). The Alpine 3.20 base of the
last working image had both packages as dependencies of the others.
@russellporter
russellporter merged commit 93b45bb into master Nov 23, 2026
8 checks passed
@russellporter
russellporter deleted the fix/production-boot branch November 23, 2026 22:40
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