[smoke-otel-tracing] OTEL smoke: jest flag silently skipped, diagnostic path mismatch, api-proxy spans unverified
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- github-actions, typescript
- Ambito
- ci-cd, observability
Direzione di ricerca
Start with .github/workflows/smoke-otel-tracing.md and its compiled .lock.yml; compare the Jest command and diagnostic log paths, then trace the api-proxy log host mapping from containers/api-proxy/otel.js. The issue reports that --testPathPatterns passes 75 tests. Confirm the mapping and span output in the post-step; done when the workflow fails on Jest errors, reads the correct log, and verifies api-proxy spans and token attributes.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Smoke run 44409831996 (PR #11794) found three defects in .github/workflows/smoke-otel-tracing.md and its compiled .lock.yml.
1. Test step never runs tests (unexpected failure)
The "Run api-proxy OTEL tests" step runs npx jest --verbose --ci --testPathPattern='otel' 2>&1 || true. The installed Jest (30.1.3) rejects --testPathPattern with Option "testPathPattern" was replaced by "--testPathPatterns" and exits 1. The || true hides this, so the step reports success with no tests run.
Running npx jest --ci --testPathPatterns='otel' in containers/api-proxy passes: 3 suites, 75/75 tests (otel.test.js, otel-fanout.test.js, otel-workload-identity.test.js).
Fix: use --testPathPatterns in both the .md and .lock.yml, and remove || true so a failing invocation fails the step.
2. Diagnostic path mismatch
smoke-otel-tracing.mdpost-step reads/tmp/gh-aw/sandbox/firewall/logs/api-proxy/otel.jsonl.- The compiled
.lock.ymlreads/tmp/gh-aw/sandbox/firewall/logs/api-proxy-logs/otel.jsonl.
The api-proxy writes /var/log/api-proxy/otel.jsonl inside the container (containers/api-proxy/otel.js). Confirm the host mapping, fix the source, and recompile.
3. api-proxy span export not verified
At agent time, /tmp/gh-aw/sandbox/firewall/logs was empty. The only exported span was gh-aw.agent.setup (in /tmp/gh-aw/otel.jsonl), not an api-proxy request span, so no gen_ai.usage.* attributes were observed. The post-step runs after the agent, so confirm span export and token attributes in that step's output for this run.
Passing scenarios
otel.jsloads;isEnabled()returnstrue; exports includestartRequestSpan,setTokenAttributes,endSpan,endSpanError,shutdown.- Env forwarding:
GITHUB_AW_OTEL_TRACE_IDandGITHUB_AW_OTEL_PARENT_SPAN_IDinenv-passthrough.ts;GH_AW_OTLP_ENDPOINTS,OTEL_EXPORTER_OTLP_ENDPOINT, and both trace IDs inapi-proxy-env-config.ts. onUsagehook present incontainers/api-proxy/token-tracker-http.js.
📡 OTel tracing validated by Smoke OTel Tracing
Add label ready-for-aw to run again
- expires on Nov 25, 2026, 10:37 PM UTC
- Lingua principale
- TypeScript
- Stelle
- 165
- Fork
- 84
- Merge medio
- 5h 57m
- PR unite (30g)
- 390
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/gh-aw-firewall
-
code-quality refactoring
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
github/gh-aw-firewall#11797 ·
I maintainer di solito rispondono entro 1 giorno
-
awf-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/gh-aw-firewall#11612 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows automated dependencies
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/gh-aw-firewall#3837 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
github/gh-aw-firewall#11802 ·
I maintainer di solito rispondono entro 1 giorno
-
automation otel smoke-test tracing
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 1/100
github/gh-aw-firewall#11801 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di github/gh-aw-firewall
Issue simili
-
bug documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Potential Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Comfy-Org/ComfyUI_frontend#23773 ·
I maintainer di solito rispondono entro 1 giorno
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
lingdojo/kana-dojo#34301 · 1 commento · 5 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
code-yeongyu/senpi#7007 ·
I maintainer di solito rispondono entro 1 giorno
-
area/renderer bug plugin/echarts priority/P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno