From 6c384aa30f619d7b28963f2bab24d8dacbe73cb6 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Mon, 26 Oct 2026 21:05:54 +0000 Subject: [PATCH] fix(ai): resolve pi-telemetry from source in workspace tests The root and ./testing exports of pi-telemetry had no source condition, so Durable's and pi-env's tests, which resolve with source, failed to import it without a build: the Environments workflow has failed on every run since 2026-10-18. --- packages/telemetry/CHANGELOG.md | 4 ++++ packages/telemetry/package.json | 2 ++ 2 files changed, 6 insertions(+) diff --git a/packages/telemetry/CHANGELOG.md b/packages/telemetry/CHANGELOG.md index b71b6c86e..52617bb21 100644 --- a/packages/telemetry/CHANGELOG.md +++ b/packages/telemetry/CHANGELOG.md @@ -2,6 +2,10 @@ ## [Unreleased] +### Fixed + +- The package root and `./testing` exports have a `source` condition, like `./render`, so workspace tests that resolve with `source` (Durable's and pi-env's, as the Environments workflow runs them) work without a build. + ## [1.4.0] - 2026-10-21 ### Breaking Changes diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json index 92b1f04e4..c571023b6 100644 --- a/packages/telemetry/package.json +++ b/packages/telemetry/package.json @@ -7,6 +7,7 @@ "types": "./dist/index.d.ts", "exports": { ".": { + "source": "./src/index.ts", "types": "./dist/index.d.ts", "import": "./dist/index.js" }, @@ -16,6 +17,7 @@ "import": "./dist/render.js" }, "./testing": { + "source": "./src/testing/index.ts", "types": "./dist/testing/index.d.ts", "import": "./dist/testing/index.js" }