Skip to content

chore(deps): bump reqwest-sse from 0.1.0 to 0.2.0 in /generators/cli/sdk - #17486

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/generators/cli/sdk/reqwest-sse-0.2.0
Open

chore(deps): bump reqwest-sse from 0.1.0 to 0.2.0 in /generators/cli/sdk#17486
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/generators/cli/sdk/reqwest-sse-0.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 20, 2026

Copy link
Copy Markdown
Contributor

Bumps reqwest-sse from 0.1.0 to 0.2.0.

Commits
  • 8808d3d chore(release): 0.2.0
  • 9f79afc docs: update example and code sample
  • 4c10675 feat: improve content-type validation
  • 6a8fe58 refactor: explicit cloning of data
  • 67fdfb1 ci: use cargo test instead of nextest
  • 3e2f65a feat: impl core::error::Error for error types
  • 4547aca doc: update README
  • a8b3524 refactor: use type alias to simplify signatures
  • b9be580 feat: bump reqwest to 0.13
  • a2efc01 build: update toolchain
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Open in Devin Review

Bumps [reqwest-sse](https://github.com/vvvinceocam/reqwest-sse) from 0.1.0 to 0.2.0.
- [Commits](vvvinceocam/reqwest-sse@v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: reqwest-sse
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Aug 20, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) August 20, 2026 18:25

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

Open in Devin Review

# Added by the generated SDK crate for specs with server-sent events (see
# AbstractRustGeneratorContext, which declares these two behind an `sse` feature).
reqwest-sse = { version = "0.1", optional = true }
reqwest-sse = { version = "0.2", optional = true }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔴 Locked dependency version no longer matches what the generated CLI code requires, breaking reproducible builds

The pinned server-sent-events library is moved to a new major line (reqwest-sse = "0.2" at generators/cli/sdk/Cargo.toml:110) even though the generated CLI code still asks for the previous line (0.1), so the shipped lock file no longer contains a version the generated output can use.
Impact: Generated CLIs that use streaming can no longer be built or audited in locked/offline mode, silently disabling the dependency-auditing guarantee this dependency exists to provide.

Version-closure mismatch between cli/sdk lock and the Rust SDK generator

This dependency is declared solely to pin the generated model/SDK crates' dependency closure into the shipped Cargo.lock (see the comments at generators/cli/sdk/Cargo.toml:88-109, which state "Versions must match what the model generator emits ... Any package they need that is absent from this lock makes the generated output fail cargo build --locked ... cargo audit").

The Rust SDK generator still emits reqwest-sse = { version: "0.1", optional: true } (generators/rust/base/src/context/AbstractRustGeneratorContext.ts:212) and reqwest = { version: "0.12", ... } (AbstractRustGeneratorContext.ts:114-115). In Cargo semver, the requirement "0.1" means >=0.1.0, <0.2.0, which 0.2.0 does not satisfy. The lock was regenerated to reqwest-sse 0.2.0 (generators/cli/sdk/Cargo.lock:1817-1818), so the generated crate's ^0.1 requirement can no longer be resolved from the shipped lock — defeating the lock-closure purpose.

Secondly, reqwest-sse 0.2.0 depends on reqwest 0.13.4 (generators/cli/sdk/Cargo.lock:1823), while the SSE template code calls response.events() through the EventSource trait on a reqwest 0.12 Response (generators/rust/base/src/asIs/sse_stream.rs:5, :155-158). The 0.2 trait is implemented against reqwest 0.13 types, so the generated SSE code would not compile against reqwest 0.12.

The bump should be coordinated: AbstractRustGeneratorContext.ts (and the reqwest version / sse_stream.rs usage) must be updated together with this pin, or the pin should stay at 0.1.

Prompt for agents
The reqwest-sse pin in generators/cli/sdk/Cargo.toml exists only to make the generated Rust SDK's dependency closure resolvable in the shipped Cargo.lock (see comments at lines 88-109). The Rust SDK generator still emits reqwest-sse = "0.1" (generators/rust/base/src/context/AbstractRustGeneratorContext.ts:212) and reqwest = "0.12" (same file, lines 114-121). Cargo's "0.1" requirement means >=0.1.0,<0.2.0, which 0.2.0 does not satisfy, so after this bump the lock no longer contains a reqwest-sse version the generated crate can resolve under --locked. Additionally reqwest-sse 0.2 depends on reqwest 0.13 (generators/cli/sdk/Cargo.lock:1823), while the SSE template code in generators/rust/base/src/asIs/sse_stream.rs uses response.events() on a reqwest 0.12 Response, so the generated code would not compile against 0.2. Either revert this pin to 0.1, or coordinate the upgrade: bump reqwest-sse to 0.2 (and reqwest to 0.13) in AbstractRustGeneratorContext.ts, adapt sse_stream.rs to the new reqwest-sse 0.2 API, and update all affected generated seed outputs and versions.yml.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants