Repository navigation
Closed
Labels
area: e2eEnd-to-end tests, nightly failures, or validation infrastructurearea: performanceLatency, throughput, resource use, benchmarks, or scalingintegration: slackSlack integration or channel behavior
Description
Problem
PR #5245 / issue #5090 wires NEMOCLAW_TRACE_DIR into the legacy nightly cloud-onboard-e2e shell lane and reports trace timing in the nightly Slack/GitHub scorecard. The newer Vitest E2E suite under test/e2e-scenario does not yet get equivalent trace artifacts or timing summaries, so onboard/runtime performance visibility is split across E2E surfaces.
Scope
Extend trace artifact capture to the Vitest E2E scenario suite without changing onboard orchestration or timeout behavior.
Candidate implementation shape:
- Set
NEMOCLAW_TRACE_DIRfor relevante2e-vitest-scenarios.yamljobs under each job/scenario artifact root, e.g.e2e-artifacts/vitest/<scenario-or-job>/traces/. - Ensure the Vitest fixture child-env boundary allows trace env vars through to
nemoclaw onboardwhile preserving secret minimization. - Upload trace files with the existing Vitest artifacts using
include-hidden-files: falseand the existing retention policy. - Add workflow-boundary/support tests so the trace artifact path and env passthrough do not regress.
- Optionally parameterize the feat(ci): add nightly onboard trace timing summaries #5245 trace analyzer so Vitest runs can produce a GitHub summary and, later, Slack timing lines.
Out of Scope
- New tracing framework or dashboard.
- Timeout tuning or performance optimization changes.
- Posting raw trace JSON or sensitive runtime payloads to Slack.
- Making the manual Vitest scenario workflow part of the nightly Slack scorecard unless a baseline/aggregation contract is explicitly defined.
Acceptance Criteria
- Vitest E2E scenario runs produce sanitized trace artifacts when onboarding/runtime trace spans are emitted.
- Trace artifacts are uploaded under the existing
e2e-artifacts/vitest/...artifact structure. - Fixture env filtering passes only the trace controls required for this feature and does not broaden secret passthrough.
- Tests cover workflow wiring and trace env passthrough.
- Documentation explains Vitest trace artifact paths and how they relate to the feat(ci): add nightly onboard trace timing summaries #5245 legacy nightly trace summary.
Related Work
Metadata
Metadata
Assignees
Labels
area: e2eEnd-to-end tests, nightly failures, or validation infrastructurearea: performanceLatency, throughput, resource use, benchmarks, or scalingintegration: slackSlack integration or channel behavior
Activity
perf(e2e): extend trace timing artifacts to Vitest targets (NVIDIA#6153)
perf(e2e): extend trace timing artifacts to Vitest targets (NVIDIA#6153)