Skip to content

Upgrade deps and replace cowboy test server with gen_tcp - #38

Merged
lpgauth merged 2 commits into
masterfrom
chore/upgrade-deps
Jun 5, 2026
Merged

Upgrade deps and replace cowboy test server with gen_tcp#38
lpgauth merged 2 commits into
masterfrom
chore/upgrade-deps

Conversation

@lpgauth

@lpgauth lpgauth commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Upgrade foil from 0.1.4 to 0.1.6 and shackle from 0.7.1 to 0.7.3 (pulls in knot 0.1.2 transitively)
  • Remove fprofx profile tooling (Makefile target, test profile module)
  • Replace the cowboy eunit HTTP fixture with a ~130-line gen_tcp server (keep-alive, content-length bodies, chunked transfer, HEAD) and drop the test profile entirely — cowboy 2.13+ publishes compound hex version constraints that the rebar3 bundled with the erlang:25 CI image cannot parse, and no rebar3 release that can parse them still runs on OTP 25

lpgauth added 2 commits June 4, 2026 14:19
foil 0.1.4 -> 0.1.6
shackle 0.7.1 -> 0.7.3 (pulls in knot 0.1.2 transitively)
cowboy 2.12.0 -> 2.15.0 (test profile)

Also remove the fprofx profile tooling.
cowboy 2.13+ publishes compound hex version constraints
(">= 2.16.0 and < 3.0.0") that the rebar3 bundled with the erlang:25
CI image cannot parse, and no rebar3 release that can parse them still
runs on OTP 25.

buoy only used cowboy as the eunit HTTP fixture, so replace it with a
~130-line gen_tcp server speaking just enough HTTP/1.1 (keep-alive,
content-length bodies, chunked transfer, HEAD) to serve the five test
routes, and drop the test profile entirely.
@lpgauth
lpgauth force-pushed the chore/upgrade-deps branch from ecea12f to 41c1372 Compare June 4, 2026 18:19
@lpgauth lpgauth changed the title Upgrade foil, shackle and cowboy deps Upgrade deps and replace cowboy test server with gen_tcp Jun 4, 2026
@lpgauth
lpgauth merged commit 51e8928 into master Jun 5, 2026
4 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