Skip to content

Commit b6c3741

Browse files
authored
test: Make hermetic e2e tests part of checks-passed ci job (#1635)
1 parent cf778dd commit b6c3741

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/checks.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ jobs:
500500
- ensure-pinned-actions
501501
- js-test
502502
- js-build
503+
- e2e-hermetic
503504
- js-api-compatibility
504505
- js-smoke-discover
505506
- js-smoke-test
@@ -532,6 +533,7 @@ jobs:
532533
check_result "ensure-pinned-actions" "${{ needs.ensure-pinned-actions.result }}"
533534
check_result "js-test" "${{ needs.js-test.result }}"
534535
check_result "js-build" "${{ needs.js-build.result }}"
536+
check_result "e2e-hermetic" "${{ needs.e2e-hermetic.result }}"
535537
check_result "js-api-compatibility" "${{ needs.js-api-compatibility.result }}"
536538
check_result "js-smoke-discover" "${{ needs.js-smoke-discover.result }}"
537539
check_result "js-smoke-test" "${{ needs.js-smoke-test.result }}"

e2e/scenarios/openrouter-traces/scenario.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
resolveScenarioDir,
88
withScenarioHarness,
99
} from "../../helpers/scenario-harness";
10+
import { E2E_TAGS } from "../../helpers/tags";
1011

1112
const scenarioDir = await prepareScenarioDir({
1213
scenarioDir: resolveScenarioDir(import.meta.url),
@@ -86,6 +87,9 @@ function getAutoContract(): Promise<OpenRouterContract> {
8687

8788
test(
8889
"wrap-openrouter-traces captures wrapper instrumentation",
90+
{
91+
tags: [E2E_TAGS.externalApi],
92+
},
8993
async () => {
9094
const contract = await getWrapperContract();
9195

@@ -98,6 +102,9 @@ test(
98102

99103
test(
100104
"openrouter auto-instrumentation via node hook collects traces without manual wrapping",
105+
{
106+
tags: [E2E_TAGS.externalApi],
107+
},
101108
async () => {
102109
const [wrapperContract, autoContract] = await Promise.all([
103110
getWrapperContract(),

0 commit comments

Comments
 (0)