Skip to content

ci: turn off CLI telemetry in our GitHub workflows - #3869

Draft
javirln wants to merge 1 commit into
mainfrom
ci/do-not-track
Draft

javirln wants to merge 1 commit into
mainfrom
ci/do-not-track

Conversation

@javirln

@javirln javirln commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Our own GitHub workflows run the chainloop CLI, and each command sends a telemetry event. These runs are not product usage. They use the telemetry event quota and change the CLI usage numbers.

This PR sets DO_NOT_TRACK: "1" in the top-level env of each workflow that runs the CLI: release.yaml, package_chart.yaml, package_sandbox_kit.yaml, sync_contracts.yml, codeql.yml and author_verification.yml. The CLI does not send telemetry when DO_NOT_TRACK is 1 or true.

scorecards.yml runs the CLI through reusable workflows of chainloop-dev/labs. A reusable workflow does not get the env of its caller, so this PR does not change it.

AI disclosure: Claude Code assisted with this change.

View guided diff

Each workflow that runs the chainloop CLI sets DO_NOT_TRACK=1 in its
top-level env. CI runs are not product usage, so they must not send
CLI telemetry events.

Assisted-by: Claude Code
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>

Chainloop-Trace-Sessions: 659da690-47c2-4f5e-96c6-1125942bb9c1
@chainloop-platform

chainloop-platform Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

AI Session Checks — 🟡 60% · ✅ 0 failing

Avg score Sessions Failing policies Attribution Files Lines Total Duration
🟡 60% 1 ✅ 0 100% AI / 0% Human 6 +24 / -0 3m50s

🟡 60% — 100% AI — ✅ All policies passing

Dec 2, 2026 09:47 UTC · 3m50s · $4.76 · 162 in / 47.1k out · claude-code 2.1.334 (claude-opus-5-5)

View session details ↗

Change Summary

Adds top-level DO_NOT_TRACK="1" to six CLI workflows. Adds a comment explaining that CI executions should not send product telemetry.

AI Session Overall Score

🟡 60% — Autonomous workflow opt-outs are focused, but real telemetry suppression remains unverified.

AI Session Analysis Breakdown

🟢 98% · scope-discipline

No notes.

🟢 95% · solution-quality

🟢 Workflow environment blocks disable telemetry at the CLI input while preserving existing jobs and permissions. · High Impact

🟢 94% · context-and-planning

🟢 The ticket was captured before edits, defining repositories, inheritance constraints, and the telemetry acceptance check. · High Impact

🟢 90% · alignment

🟢 All six reviewed workflows receive the requested top-level opt-out, matching the reported edits. · High Impact

🔴 35% · verification

🔴 No captured execution checks that GitHub Action CLI runs stop producing telemetry events. · High Severity

💡 Exercise a representative CLI workflow and inspect telemetry before treating the opt-out as verified.

🟡 One-shot session has no user confirmation by design. · Low Severity

abstained · user-trust-signal

🟡 user-trust-signal not assessed — reviewer should confirm coverage · Low Severity


File Attribution

████████████████████ 100% AI / 0% Human

Status Attribution File Lines
modified ai .github/workflows/author_verification.yml +4 / -0
modified ai .github/workflows/codeql.yml +4 / -0
modified ai .github/workflows/package_chart.yaml +4 / -0
modified ai .github/workflows/package_sandbox_kit.yaml +4 / -0
modified ai .github/workflows/release.yaml +4 / -0
modified ai .github/workflows/sync_contracts.yml +4 / -0

Policies (4)

Status Policy Material Messages
✅ Passed ai-config-ai-agents-allowed ai-coding-session-659da6 -
✅ Passed ai-config-no-dangerous-commands ai-coding-session-659da6 -
✅ Passed ai-config-no-secrets ai-coding-session-659da6 -
✅ Passed ai-config-mcp-servers-allowed ai-coding-session-659da6 -

Powered by Chainloop and Chainloop Trace

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

View guided diff | Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant