Skip to content

fix(cli): skip uncaptured workspace hotpatch crates#5597

Open
mirsella wants to merge 1 commit into
DioxusLabs:mainfrom
mirsella:fix/hotpatch-skip-uncaptured-reverse-deps
Open

fix(cli): skip uncaptured workspace hotpatch crates#5597
mirsella wants to merge 1 commit into
DioxusLabs:mainfrom
mirsella:fix/hotpatch-skip-uncaptured-reverse-deps

Conversation

@mirsella

@mirsella mirsella commented May 28, 2026

Copy link
Copy Markdown

Summary

  • filter workspace hotpatch replay to crates with captured lib rustc args
  • skip and warn for uncaptured reverse-dependents instead of failing the rebuild
  • remove the unused replay-args fallback path

Motivation

Fixes #5540

Workspace hotpatch replay can include reverse-dependents that were not part of the initial app build graph. Those crates have no captured rustc args, so thin replay failed with Missing rustc args for replay.

Validation

  • cargo fmt --check
  • cargo check -p dioxus-cli
  • cargo build -p dioxus-cli --bin dx

Hotpatch replay can include workspace reverse-dependents that were not part of the app build graph, so their rustc arguments were never captured. Filter replay to captured workspace lib targets and warn when uncaptured reverse-dependents are skipped instead of failing the rebuild.
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.

dx serve --hotpatch tries to replay uncaptured workspace crates

1 participant