Repository navigation
Disable dry-run telemetry using documented environment opt-outs - #71032
Merged
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Disable dry-run telemetry using known environment variables
Disable dry-run telemetry using documented environment opt-outs
Oct 22, 2026
Contributor
|
Hey
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Generated sandbox exclusions and Codex’s shell policy can prevent the enforced telemetry opt-outs from reaching tools.
2 open issues
What changed in this PR
Adds explicit telemetry opt-outs to gh-aw’s dry-run compiler, complementing the existing removal of telemetry configuration.
Changes:
- Emit six opt-outs and replace conflicting environment values during dry-run compilation.
- Add override, preservation, and idempotence coverage; document that tools must honor the variables.
- Refresh generated workflow version metadata and Claude installation pins.
| File | Description |
|---|---|
pkg/workflow/compiler_yaml.go |
Apply opt-out rewriting during dry-run YAML generation. |
pkg/workflow/compiler_development_telemetry.go |
Add opt-outs and enforce environment overrides. |
pkg/workflow/compiler_development_telemetry_test.go |
Cover overrides, preservation, and idempotence. |
docs/src/content/docs/reference/compilation-process.md |
Explain opt-outs and their limitations. |
.github/workflows/workflow-skill-extractor.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/visual-regression-checker.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/uk-ai-operational-resilience.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/squad-game-planner.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-work-queue.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-issues.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-copilot-small.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-copilot-sdk-routed.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-copilot-sdk-routed-claude.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-copilot-routed.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-copilot-routed-steering.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-copilot-routed-claude.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-copilot-auto.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/smoke-claude-sub-agents.lock.yml |
Update Claude installation pin and metadata. |
.github/workflows/smoke-claude-copilot.lock.yml |
Update Claude installation pin and metadata. |
.github/workflows/smoke-claude-copilot-auto.lock.yml |
Update Claude installation pin and metadata. |
.github/workflows/smoke-claude-auto.lock.yml |
Update Claude installation pin and metadata. |
.github/workflows/pr-description-caveman.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/objective-impact-report.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/layout-spec-maintainer.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/firewall.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/eslint-factory-dispatcher.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/engine-conformance-dispatcher.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/engine-conformance-copilot.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/engine-conformance-claude.lock.yml |
Update Claude installation pin and metadata. |
.github/workflows/daily-work-queues-report.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/daily-work-queue-formal-verification.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/daily-team-status.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/daily-spec-coverage-kiro.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/daily-schema-audit-cursor.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/daily-report-dispatcher.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/daily-regression-audit-kiro.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/daily-pr-review-cursor.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/daily-byok-ollama-test.lock.yml |
Refresh Copilot version metadata. |
.github/workflows/aw-issue-clustering.lock.yml |
Refresh Copilot version metadata. |
Review effort: Max
| @@ -220,7 +220,7 @@ func (c *Compiler) generateYAML(data *WorkflowData, markdownPath string) (string | |||
| return "", nil, nil, err | |||
| } | |||
| if c.dryRun { | |||
| bodyContent, err = removeDryRunTelemetryEnv(bodyContent) | |||
| bodyContent, err = disableDryRunTelemetryEnv(bodyContent) | |||
| @@ -220,7 +220,7 @@ func (c *Compiler) generateYAML(data *WorkflowData, markdownPath string) (string | |||
| return "", nil, nil, err | |||
| } | |||
| if c.dryRun { | |||
| bodyContent, err = removeDryRunTelemetryEnv(bodyContent) | |||
| bodyContent, err = disableDryRunTelemetryEnv(bodyContent) | |||
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.

Dry-run compilation removes telemetry configuration but does not explicitly opt tools out of collection. This change adds documented environment controls.