chore(platform): satisfy runtime lint
Some checks failed
CD Pipeline / select-latest-carrier (push) Successful in 50s
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 1m21s
CD Pipeline / revalidate-deploy-carrier (push) Has been skipped
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / revalidate-post-deploy-carrier (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped
Some checks failed
CD Pipeline / select-latest-carrier (push) Successful in 50s
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 1m21s
CD Pipeline / revalidate-deploy-carrier (push) Has been skipped
CD Pipeline / build-and-deploy (push) Has been skipped
CD Pipeline / revalidate-post-deploy-carrier (push) Has been skipped
CD Pipeline / post-deploy-checks (push) Has been skipped
This commit is contained in:
@@ -75,10 +75,10 @@ def canonical_traceparent(run_id: UUID) -> str:
|
||||
"""Derive a stable W3C traceparent from one durable run identifier."""
|
||||
|
||||
trace_hex = hashlib.sha256(
|
||||
f"awooop-runtime-trace:{run_id}".encode("utf-8")
|
||||
f"awooop-runtime-trace:{run_id}".encode()
|
||||
).hexdigest()[:32]
|
||||
span_hex = hashlib.sha256(
|
||||
f"awooop-runtime-root-span:{run_id}".encode("utf-8")
|
||||
f"awooop-runtime-root-span:{run_id}".encode()
|
||||
).hexdigest()[:16]
|
||||
return f"00-{trace_hex}-{span_hex}-01"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user