feat(rivetkit): otel trace workflow runs and steps - #5753
NathanFlurry merged 5 commits into
Conversation
|
This PR was not deployed automatically as @eersnington does not have access to the Railway project. In order to get automatic PR deploys, please add @eersnington to your workspace on Railway. |
3db9e4b to
75a22f1
Compare
061c0ec to
a182e43
Compare
75a22f1 to
8568e29
Compare
Review (updated)Re-reviewed against the latest push. The only functional delta since the last review is the Checking off items from the prior review against the current diff:
Also spot-checked a few things that looked risky at a glance and turned out fine:
No correctness, security, or test-coverage blockers. The workflow test suite in |
a182e43 to
465da0d
Compare
1134011 to
f71c35a
Compare
e614052
into
stack/docs-rivetkit-add-actor-tracing-docs-mqqwnuwl
Adds traces for
rivetkit/workflow. Sits on top of stack/docs-rivetkit-add-actor-tracing-docs-mqqwnuwl #5734c.client()calls, queue sends, and logs inside a step nest under the step's span._rivet_wf_kv, so runs stay linked across actor sleep. No schema migration.c.run.startWorkflowSpan(),c.run.startWorkflowStepSpan(name, attempt), andc.run.runOutsideWorkflowSpan(body), for@rivet-dev/workflowsto call later.