Skip to content

Preserve AppError backtraces when applying context wrappers#169

Merged
RAprogramm merged 1 commit intonew_versionfrom
eye-of-ra/fix-backtrace-cloning-error
Oct 5, 2025
Merged

Preserve AppError backtraces when applying context wrappers#169
RAprogramm merged 1 commit intonew_versionfrom
eye-of-ra/fix-backtrace-cloning-error

Conversation

@RAprogramm
Copy link
Owner

Summary

  • store captured backtraces on AppError using shared Arc snapshots so existing traces can be reused without cloning
  • update ResultExt::context to reuse the shared backtrace when wrapping an existing AppError
  • bump the crate version to 0.24.17 and document the fix in the changelog and README

Testing

  • cargo +nightly fmt --
  • cargo +1.90.0 clippy -- -D warnings
  • cargo +1.90.0 build --all-targets
  • cargo +1.90.0 test --all
  • cargo +1.90.0 doc --no-deps
  • cargo audit
  • cargo deny check

https://chatgpt.com/codex/tasks/task_e_68e1ed19b024832b924720b66758db9c

@RAprogramm RAprogramm merged commit 4e305d9 into new_version Oct 5, 2025
2 checks passed
@RAprogramm RAprogramm deleted the eye-of-ra/fix-backtrace-cloning-error branch October 5, 2025 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant