Skip to content

[Audit] Verify W3C traceparent propagation is wired in _http.py (SDK-06) #1

Description

@RobLe3

Summary

The README claims SDK-06 (W3C traceparent propagation) is implemented (✓). Verify that _http.py's get_json() and post_json() actually inject a traceparent header on every outbound request, and add a test that asserts the header is present in mock calls.

Expected

In src/iicp_client/_http.py, every outbound request should include:

traceparent: 00-{32 hex chars}-{16 hex chars}-01

If not present, implement it and add a test in tests/test_client.py (test name: test_sdk06_traceparent_header_present).

Note

test_sdk06_node_token_not_in_error exists but does not check the outbound traceparent header. Close this issue once a test for the outbound header is added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions