fix(sdk): root @flow span must use kind=flow_root #33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/root-flow-span-kind"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Caught by an E2E driver after #32 merge: the entry @flow’s wrapper was emitting kind="step" for the root span instead of "flow_root", because the boot stub calls the wrapper directly (not _open_root_span). Fix detects the no-parent case and sets kind="flow_root" in both the cache-hit and fresh-execution branches.
Verified end-to-end: 4 driver scripts pass after the fix, including a new spankind_demo asserting
{flow_root: 2, step: 4}after pause+resume.