Skip to content

Commit dbe34ac

Browse files
jariy17jariy17
andauthored
fix(ci): disable telemetry in release workflow to fix test failures (#1442)
The release workflow's "Update snapshots" step fails because withCommandRunTelemetry triggers real filesystem and network I/O (createClient → getOrCreateInstallationId → mkdir/writeFile, plus OtelMetricSink construction and flush) that doesn't resolve within the 50-100ms test delays. build-and-test.yml already sets AGENTCORE_TELEMETRY_DISABLED=1 at the workflow level, preventing this. The release workflow was missing it. Co-authored-by: jariy17 <tjariy+jariy17@users.noreply.github.com>
1 parent a84cee4 commit dbe34ac

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release-main-and-preview.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ permissions:
4545
contents: write
4646
pull-requests: write
4747

48+
env:
49+
AGENTCORE_TELEMETRY_DISABLED: '1'
50+
4851
jobs:
4952
# ═══════════════════════════════════════════════════════════════════
5053
# Step 1 — Prepare release (bump both versions, single PR)

0 commit comments

Comments
 (0)