Skip to content

fix(actor): drop on_stop claim from unwind error record; update Cargo.lock - #127

Merged
hiking90 merged 2 commits into
mainfrom
fix/unwind-record-and-deps
Sep 18, 2026
Merged

hiking90 merged 2 commits into
mainfrom
fix/unwind-record-and-deps

Conversation

@hiking90

Copy link
Copy Markdown
Owner

Summary

  • fix(actor): 063bb33 was pushed to feat/panic-diagnostics after feat(actor): name the actor in an error record when its task ends during a panic unwind #125 was merged, so it never reached main. Cherry-picked here. The panic-unwind error record no longer claims on_stop was not called; it keeps only what holds on every unwind path (queued messages are discarded).
  • chore(deps): cargo update against the MSRV-aware resolver. Bumps cfg-if, libc, log, smallvec (1.15 -> 1.16), syn, tokio-macros, unicode-ident, zerocopy. tokio-macros 2.7.2 now depends on syn 3 instead of syn 2; syn 3 was already in the lockfile via futures-macro.

cargo update --dry-run --verbose reports nothing left to bump within Rust 1.75. Held back: rand 0.10 (needs 1.85) and syn 2 -> 3 (major).

Verification (local, Rust 1.75.0)

  • cargo build --all-features --all-targets
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo doc --no-deps
  • cargo test: 351 passed, 0 failed
  • cargo test --all-features: 458 passed, 0 failed

Stable: cargo fmt --check and clippy with -D warnings pass.

🤖 Generated with Claude Code

The record is written from `LifecycleChannels::drop`, which cannot tell
which phase panicked. When `on_stop` itself panics, "on_stop is not
called" states the opposite of what happened. Keep only the part that
holds on every unwind path: queued messages are discarded.
Bump cfg-if, libc, log, smallvec (1.15 -> 1.16), syn, tokio-macros,
unicode-ident and zerocopy to the latest Rust 1.75-compatible releases.
tokio-macros 2.7.2 now depends on syn 3 instead of syn 2.
@hiking90
hiking90 merged commit a4ccf17 into main Sep 18, 2026
23 checks passed
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.

1 participant