Skip to content

Fix the image build by bumping elixir_make and tailwind - #500

Merged
shostakovich merged 2 commits into
mainfrom
fix-image-build
Oct 24, 2026
Merged

shostakovich merged 2 commits into
mainfrom
fix-image-build

Conversation

@shostakovich

Copy link
Copy Markdown
Contributor

Why

The image job on main fails since #498. GitHub's release-download redirects now send about 11 KB of headers, above httpc's default limit of 10 KB:

How tested

  • Reproduced {:error, {:header_too_long, {:max, 10240}}} with httpc against the lazy_html and Tailwind release assets; with a higher max_header_size both download
  • mix deps.compile lazy_html --force with an empty ELIXIR_MAKE_CACHE_DIR downloads the precompiled NIF with elixir_make 0.10.1
  • mix tailwind.install downloads the Tailwind binary with tailwind 0.5.2
  • mix compile --warnings-as-errors, mix format --check-formatted, mix credo --strict, mix deps.unlock --check-unused, mix test: all pass

Risk

Low: patch releases of two build-time dependencies, mix.lock only. The image job runs only on main, so the Docker build itself is first checked after the merge.

🤖 Generated with Claude Code

shostakovich and others added 2 commits October 24, 2026 15:58
GitHub's release-download redirects now send about 11 KB of headers,
more than httpc's default limit of 10 KB. elixir_make 0.10.0 failed to
download lazy_html's precompiled NIF in the Docker build and fell back
to compiling from source, which needs cmake. 0.10.1 raises the limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Tailwind binary download hits the same httpc header limit on
GitHub's release redirects, so `mix assets.deploy` fails in the Docker
build, where `_build` starts empty. 0.5.2 raises the limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@shostakovich
shostakovich merged commit 344c646 into main Oct 24, 2026
6 checks passed
@shostakovich
shostakovich deleted the fix-image-build branch October 24, 2026 14:08
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