Commit 46d0d2e
fix: replace #[tracing::instrument] with manual tracing events
tracing 0.1.41+ introduced PhantomNotSend in Span, making futures
produced by #[tracing::instrument] !Send. This breaks tokio::spawn
and JoinSet::spawn call sites. Replace the proc macro attribute on
execute_with_session with explicit tracing::info/warn calls that
don't hold a Span across .await boundaries.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2fc764e commit 46d0d2e
3 files changed
Lines changed: 27 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
861 | 861 | | |
862 | 862 | | |
863 | 863 | | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | 864 | | |
875 | 865 | | |
876 | 866 | | |
877 | 867 | | |
878 | 868 | | |
879 | 869 | | |
880 | 870 | | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
881 | 877 | | |
882 | | - | |
883 | | - | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
884 | 895 | | |
885 | 896 | | |
886 | | - | |
887 | | - | |
| 897 | + | |
888 | 898 | | |
889 | 899 | | |
890 | 900 | | |
| |||
0 commit comments