Add integration and performance test workflows - #217
Merged
Jackson Weber (JacksonWeber) merged 2 commits intoAug 11, 2026
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot started reviewing on behalf of
Jackson Weber (JacksonWeber)
August 11, 2026 19:27
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds CI coverage for end-to-end OTLP export from the built distribution and introduces a baseline-vs-candidate performance benchmark workflow with regression gating, producing artifacts for PR review.
Changes:
- Add a built-package OTLP HTTP integration test and wire it into PR validation.
- Add performance benchmark + comparison scripts with a regression threshold gate and artifact reporting.
- Extend package scripts/formatting targets to include new integration/perf
.mjsfiles.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/integration/built-package-otlp.test.mjs | New Node test that spawns the built distro and verifies it exports OTLP trace payloads to a local HTTP collector. |
| perf/compare.mjs | New comparison tool to generate a Markdown report and fail the job on gated regressions over a threshold. |
| perf/benchmark.mjs | New benchmark harness that measures span creation overhead from a built distro and writes results JSON. |
| package.json | Adds integration/performance test scripts and updates prettier globs to format new .mjs files. |
| .github/workflows/pr-validation.yml | Adds a dedicated integration test job to PR validation. |
| .github/workflows/performance.yml | Adds a PR-triggered performance workflow comparing base vs PR results and uploading artifacts. |
Suppressed comments (1)
perf/benchmark.mjs:79
- To keep baseline vs candidate runs comparable (and avoid API version skew), resolve
@opentelemetry/apifrom thepackageRootbeing benchmarked rather than from the harness checkout.
const distroEntryPoint = pathToFileURL(join(packageRoot, "dist", "esm", "index.js")).href;
process.env.MICROSOFT_OTEL_SDKSTATS_DISABLED = "true";
const { shutdownMicrosoftOpenTelemetry, useMicrosoftOpenTelemetry } = await import(
distroEntryPoint
);
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Hector Hernandez (hectorhdzg)
approved these changes
Aug 11, 2026
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.
Summary
Validation
npm run formatnpm run lintnpm run buildnpm run test:integration