Skip to content

Update zio-http to 3.0.1 - #889

Merged
zkaoudi merged 2 commits into
apache:mainfrom
soujasK:fix/498-zio-http-3.0.1
Nov 18, 2026
Merged

zkaoudi merged 2 commits into
apache:mainfrom
soujasK:fix/498-zio-http-3.0.1

Conversation

@soujasK

@soujasK soujasK commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Fixes #498

zio-http 3.0.1 no longer has toHttpApp,so the Routes are now passed straight to Server.serve.

I also bumped zio-schema (0.4.17 -> 1.4.1) and zio-json (0.6.2 -> 0.7.2).zio-http 3.0.1 needs these newer versions,and since the pom pins the old ones Maven would pick those and mix versions.

Testing:

  • Built wayang-api-json with JDK 17.
  • Started the JSON API and sent a small plan (inputCollection -> map -> filter) to /submit-plan/json.It returned Buffer(30, 40, 50),same as on main.
  • Bad JSON still returns 400 and unknown paths return 404.

Used an AI assistant to help with this.

Generated-by: Claude
zio-http 3.0.1 needs netty 4.1.108 or newer (it uses HttpDecoderConfig).
The netty-all 4.1.89.Final pin in wayang-api-utils and wayang-api-scala-java
made the distribution ship netty 4.1.89, so the JSON REST server dropped
every connection in the Docker image.

Generated-by: Claude
@soujasK

soujasK commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

The Docker smoke test failed because zio-http 3.0.1 needs netty 4.1.108+,but wayang-api-utils and wayang-api-scala-java pin netty-all 4.1.89,so the distribution shipped netty 4.1.89 and the REST server dropped every connection.I bumped that pin to 4.1.112.Final and ran the Docker smoke tests locally on the built distribution (Java WordCount and the Python wordcount through the REST API),both pass now.

@zkaoudi
zkaoudi merged commit 71331fa into apache:main Nov 18, 2026
5 checks passed
@zkaoudi

zkaoudi commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Thank you @soujasK

@soujasK

soujasK commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Thank you.if you have any issue which is unresolved or unassigned you can feel free to point out to it.Ill try my best to resolve it

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.

Update zio http to a released version

2 participants