Skip to content

chore(deps): update axum to 0.8.9 - #657

Merged
beardthelion merged 2 commits into
mainfrom
deps/axum-0-8-9
Dec 1, 2026
Merged

beardthelion merged 2 commits into
mainfrom
deps/axum-0-8-9

Conversation

@beardthelion

@beardthelion beardthelion commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

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 Multipart extractor; axum features are http1, http2, json and ws), so no behavior change is expected here. The axum consumer that matters is the GraphQL WebSocket route.

Kind of change

  • Bug fix
  • Feature
  • Security fix
  • Docs
  • Tests / CI
  • Refactor (no behavior change)
  • Breaking or protocol change (issue required first)

What changed

  • Update Axum, tokio-tungstenite, and tungstenite in Cargo.lock. No workspace crate source changed.

How a reviewer can verify

Run from the repository root with DATABASE_URL set to a local Postgres test database and cargo-audit installed.

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-targets

Before you request review

  • Scope is one logical change; no unrelated churn
  • cargo test --workspace passes locally
  • New behavior is covered by tests (required for fixes)
  • cargo fmt --all and cargo clippy --workspace --all-targets -- -D warnings are clean
  • Commit titles use Conventional Commits (feat(...), fix(...), docs(...))
  • Docs / .env.example updated if behavior or config changed (or N/A)
  • Checked existing PRs so this isn't a duplicate

Notes for reviewers

Postgres workspace tests, fmt, audit, and the Rust 1.91 check passed locally. The hosted fmt + clippy job passed.

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

[!WARNING]

Walkthrough skipped

File diffs could not be summarized.

Suggested reviewers: kevincodex1

Change: Other

Merge Risk: Minimal · up to 5d38b · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Title check Inconclusive The change summary is unavailable and a repository-based assessment could not be completed. Rerun pre-merge checks when repository evidence is available, or run a full review to generate a change summary.
Description check Inconclusive The change summary is unavailable and a repository-based assessment could not be completed. Rerun pre-merge checks when repository evidence is available, or run a full review to generate a change summary.
Passed Passed checks: 2 passed

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4efd2a97-2432-4a1d-9c9c-06cdc323534e
Commits

Reviewing files that changed from the base of the PR and between e4e5f36 and 5d38b3f.

Files ignored due to path filters: 1

  • Cargo.lock is excluded by !**/*.lock

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@jatmn jatmn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@beardthelion

Copy link
Copy Markdown
Collaborator Author

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.

@beardthelion
beardthelion added this pull request to the merge queue Dec 1, 2026
Merged via the queue into main with commit d90d9a1 Dec 1, 2026
22 checks passed
@jatmn jatmn mentioned this pull request Dec 2, 2026
8 of 14 tasks
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.

2 participants