fix(#5886): forward missing OTEL variables in managed workflows - #5887
Conversation
|
🤖 Finished Review · ✅ Success · Started 8:43 AM UTC · Completed 8:58 AM UTC |
PR Summary by QodoForward missing OTEL env vars across managed GitHub workflows
AI Description
Diagram
High-Level Assessment
Files changed (15)
|
Code Review by Qodo
1.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ReviewFindingsHigh
Medium
Low
Next steps:
Previous runReviewFindingsHigh
Medium
Next steps:
Previous run (2)ReviewFindingsMedium
Previous run (3)ReviewFindingsMedium
Previous run (4)ReviewFindingsHigh
Medium
Low
Labels: PR modifies CI workflow files and dispatch infrastructure for OTEL telemetry forwarding Next steps:
|
9a18630 to
a2263a0
Compare
|
🤖 Review · ❌ Terminated · Started 9:18 AM UTC · Ended 9:33 AM UTC |
Site previewPreview: https://483e91ae-site.fullsend-ai.workers.dev Commit: |
Superseded by updated review
|
🤖 Finished Review · ✅ Success · Started 9:18 AM UTC · Completed 9:33 AM UTC |
waynesun09
left a comment
There was a problem hiding this comment.
Review squad findings (3 agents: Claude ×2, Grok) — 1 HIGH, 2 MEDIUM posted inline. Core OTEL-variable-forwarding change itself verified correct and complete across all 7 reusable workflows, dispatch stages, scaffold callers, and the shim template.
a2263a0 to
fd7557b
Compare
|
🤖 Finished Review · ✅ Success · Started 11:32 AM UTC · Completed 11:46 AM UTC |
waynesun09
left a comment
There was a problem hiding this comment.
Rechecked at fd7557b. All three previously-flagged issues are fixed and verified against the actual diff:
- Migration note now names both
OTEL_EXPORTER_OTLP_TRACES_HEADERSandOTEL_EXPORTER_OTLP_HEADERS - Distributed-tracing doc now documents the checkout-relative-path mechanism for the managed-workflow CA bundle
workflow_call_alignment_test.gostep-boundary extraction now uses an anchored regex with a uniqueness assertion instead of raw substring search
go build ./... and the full TestOTEL* / TestReusableWorkflowsShareCommonInputs / TestWorkflowCallInputAlignment suite pass at this commit. No major issues remaining.
fd7557b to
706a891
Compare
|
🤖 Finished Review · ✅ Success · Started 1:00 PM UTC · Completed 1:18 PM UTC |
The distributed-tracing guide documents OTEL_SDK_DISABLED, OTEL_EXPORTER_OTLP_CERTIFICATE, and OTEL_EXPORTER_OTLP_HEADERS as configurable, but managed workflows did not forward them -- users who set these variables found they had no effect. Add all three to reusable workflows, dispatch inline stages, scaffold thin callers, and the per-repo shim template. OTEL_EXPORTER_OTLP_HEADERS is a secret (may carry auth); threaded through secrets: declarations and forwarded the same way as OTEL_EXPORTER_OTLP_TRACES_HEADERS. The two variable-type entries (OTEL_SDK_DISABLED, OTEL_EXPORTER_OTLP_CERTIFICATE) are injected via vars. context in the agent run step env: block. Update the tracing guide to list the three newly-forwarded entries in the managed workflows section and remove the stale caveat about managed workflows not passing a CA bundle. Tests: extend TestOTELHeadersSecretThreading to cover the new secret and check reusable-dispatch.yml per-step (not whole-file), add OTEL_EXPORTER_OTLP_HEADERS to commonSecrets, and add TestOTELVariableForwarding to verify all five OTEL variables are present in every agent run step. Closes #5886 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Hector Martinez <hemartin@redhat.com>
706a891 to
8870a34
Compare
|
🤖 Finished Review · ✅ Success · Started 6:00 AM UTC · Completed 6:15 AM UTC |
|
🤖 Finished Retro · ✅ Success · Started 9:33 AM UTC · Completed 9:50 AM UTC |
Retro: PR #5887 — Forward missing OTEL variables in managed workflowsOverview: Human-authored PR (rh-hemartin with Claude Code co-authoring) that threaded three missing OTEL environment variables across 7 reusable workflows, 7 scaffold templates, tests, and documentation. The triage agent performed well, correctly flagging the issue as requiring manual intervention (workflow files cannot be modified by the code agent) and providing detailed implementation guidance. The review agent ran 5 times across 5 commits and found legitimate issues, including a stale documentation claim in Review quality delta — what the human review squad caught that agents missed:
What the review agent found that humans didn't:
Evidence supporting existing open issues:
Positive signals:
One proposal filed to fix the stale documentation bug the review agent correctly identified but was left unaddressed at merge. Proposals filed
|
Summary
OTEL_SDK_DISABLED,OTEL_EXPORTER_OTLP_CERTIFICATE,OTEL_EXPORTER_OTLP_HEADERS) across all reusable workflows, dispatch inline stages, scaffold thin callers, and the per-repo shim templateOTEL_EXPORTER_OTLP_HEADERSis threaded as a secret (same pattern asOTEL_EXPORTER_OTLP_TRACES_HEADERS); the two variable-type entries are injected viavars.context in agent run stepenv:blocksTestOTELVariableForwardingto verify all five OTEL variables are present in every agent run step, checking each dispatch stage individually; extendTestOTELHeadersSecretThreadingandTestReusableWorkflowsShareCommonInputsto cover the new secretCloses #5886
🤖 Generated with Claude Code