Repository navigation
Fix OTel smoke test execution and diagnostics - #11971
Merged
Merged
Conversation
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
lpcox
marked this pull request as ready for review
November 23, 2026 01:38
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Changes to success criteria and failure gating interact across host pre-steps, sandbox reporting, and OTLP delivery, exceeding the scope of conservative automated approval.
No open issues 🎉
What changed in this PR
This PR fixes AWF’s OpenTelemetry smoke workflow so tests run and failures propagate, addressing #11959. It also distinguishes local fallback tracing from confirmed collector delivery.
Changes:
- Use Jest’s supported
--testPathPatternsflag and remove failure-masking behavior. - Strengthen assertions that tracing remains enabled with
FileSpanExporterwhen OTLP configuration is absent. - Correct diagnostic paths, clarify reporting, and add source/lock regression checks.
| File | Description |
|---|---|
scripts/ci/smoke-otel-tracing-workflow.test.ts |
Adds regression checks for workflow commands, assertions, diagnostics, and reporting. |
containers/api-proxy/otel-fanout.test.js |
Verifies the fallback exporter type and output path. |
.github/workflows/smoke-otel-tracing.md |
Fixes test execution and clarifies fallback versus collector validation. |
.github/workflows/smoke-otel-tracing.lock.yml |
Synchronizes the compiled workflow with the source changes. |
Review effort: Balanced (adaptive)
Contributor
|
✅ Copilot review passed with no inline comments. @lpcox Add the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The OTel smoke workflow silently skipped tests because Jest 30 rejected
--testPathPatternand|| truemasked the error. Diagnostics also used the wrong directory and inferred export behavior from local files despite configured OTLP collectors.FileSpanExporterwhile tracing remains enabled.api-proxy-logs; require backend span evidence to confirm collector delivery. Clarify that post-step output is unavailable during agent execution.