@testdriverai/runner 7.9.0-test.40 → 7.9.0-test.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sandbox-agent.js +3 -1
package/package.json
CHANGED
package/sandbox-agent.js
CHANGED
|
@@ -191,7 +191,9 @@ async function main() {
|
|
|
191
191
|
|
|
192
192
|
// Initialize Sentry for distributed tracing
|
|
193
193
|
const sentryDsn = process.env.SENTRY_DSN || config.sentryDsn || 'https://452bd5a00dbd83a38ee8813e11c57694@o4510262629236736.ingest.us.sentry.io/4510480443637760';
|
|
194
|
-
|
|
194
|
+
const runnerChannel = config.sentryChannel || process.env.TD_CHANNEL;
|
|
195
|
+
const isTestOrPreview = runnerChannel === 'test' || process.env.IS_PULL_REQUEST === 'true';
|
|
196
|
+
if (sentryDsn && !isTestOrPreview) {
|
|
195
197
|
const { version } = require('./package.json');
|
|
196
198
|
Sentry.init({
|
|
197
199
|
dsn: sentryDsn,
|