Repository navigation
chore(deps): update axum to 0.8.9 - #657
Conversation
jatmn
left a comment
There was a problem hiding this comment.
Merge readiness
Rebase deps/axum-0-8-9 onto current main (d4cbdb3) before merge. The branch tip is based on 1ba71bcd, which is three commits behind the live target (#649 signed GraphQL mutation ledger, #647, #646). Cargo.lock merges cleanly onto current main (git merge-tree reports no conflict), but CI on this PR never exercised axum 0.8.9 + tungstenite 0.29 together with #649’s server.rs / auth changes. Integrated confidence should come from main CI after rebase, not only from green checks on the pre-#649 tree.
The PR description highlights axum 0.8.9 fixes for CONNECT routing and multipart limit error text. This workspace does not register axum CONNECT handlers or the axum Multipart extractor (twigpine-node axum features omit multipart; limits use DefaultBodyLimit / SIGNED_BODY_LIMIT and reqwest multipart for Pinata/IPFS). The operative consumer surface here is GraphQL WebSocket on /graphql/ws. Consider tightening the PR body so reviewers do not expect CONNECT/multipart behavior changes in production.
Checks: Required PR checks are green on head 2b92e022 (including test (stable) and test (beta)). Merge state is BLOCKED pending review policy, not merge conflicts (mergeable: MERGEABLE).
🟢 Thanks for the contribution. I do not see any actionable code issues from my review of the current diff. The lockfile bump is consistent with cargo check --locked -p twigpine-node and the workspace CI matrix on this branch.
|
Brought the branch current with main (e4e5f36) by merge rather than rebase, so the reviewed commit is unchanged. Cargo.lock merged without conflict and still pins axum 0.8.9 with tokio-tungstenite and tungstenite 0.29. On the merged tree, cargo check, cargo fmt --check, cargo clippy -D warnings, the Rust 1.91 check and cargo audit all pass, and the workspace tests pass against Postgres (3855 passed, 0 failed). On the description: confirmed, the workspace registers no axum CONNECT handler and no axum Multipart extractor (axum features are http1, http2, json and ws; multipart here is reqwest and the S3 SDK). The CONNECT and multipart fixes do not change behavior in this node. The consumer that matters is the GraphQL WebSocket route. |
Summary
Update Axum to 0.8.9 and refresh its WebSocket dependencies.
Motivation & context
Routine refresh. Axum 0.8.9 fixes CONNECT routing and multipart limit errors, but this workspace uses neither (no axum CONNECT handler and no axum
Multipartextractor; axum features arehttp1,http2,jsonandws), so no behavior change is expected here. The axum consumer that matters is the GraphQL WebSocket route.Kind of change
What changed
tokio-tungstenite, andtungsteniteinCargo.lock. No workspace crate source changed.How a reviewer can verify
Run from the repository root with
DATABASE_URLset to a local Postgres test database andcargo-auditinstalled.cargo fmt --all -- --check cargo clippy --locked --workspace --all-targets -- -D warnings cargo test --locked --workspace cargo audit cargo +1.91 check --locked --workspace --all-targetsBefore you request review
cargo test --workspacepasses locallycargo fmt --allandcargo clippy --workspace --all-targets -- -D warningsare cleanfeat(...),fix(...),docs(...)).env.exampleupdated if behavior or config changed (or N/A)Notes for reviewers
Postgres workspace tests, fmt, audit, and the Rust 1.91 check passed locally. The hosted
fmt + clippyjob passed.