Skip to content

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

Merged
migmartri merged 1 commit into
mainfrom
ci/do-not-track
Dec 3, 2026
Merged

migmartri merged 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

PR validation — ⚠️ 1 failing

Status Policy Material Messages
✅ Passed pr-min-approvals pr-info -
✅ Passed pr-description-required pr-info -
⚠️ Failed pr-user-story-linked pr-info PR/MR #3869 does not reference a user story or issue in title, description, or branch 'ci: turn off CLI telemetry in our GitHub workflows'. Expected patterns: ["(?i)[A-Z]+-[0-9]+", "#[0-9]+", "(?i)gh-[0-9]+", "(?i)\\[[A-Z]+-[0-9]+\\]"]

View attestation ↗

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 -

Security Checks — ✅ 8 passing

✅ AI Security Analysis

Nothing this change touches re-opens a recorded security fix.

View in Chainloop ↗ · How this works ↗

✅ Secret Scan

Status Policy Messages
✅ Passed secrets-detection -

✅ GitHub Actions Scan

Status Policy Messages
✅ Passed ci-pipeline-security -

✅ SAST Scan

Status Policy Messages
✅ Passed owasp-top10-2025 -
✅ Passed sast -
✅ Passed cwe-top25 -
✅ Passed cwe-top26-40-cusp -

✅ IaC Scan

Status Policy Messages
✅ Passed iac-misconfiguration -
Scan not applied (1)
Scan Reason
Vulnerability Scan no manifest/lockfile changed

View attestation ↗


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

@javirln
javirln marked this pull request as ready for review December 3, 2026 05:30
@migmartri
migmartri merged commit 515b454 into main Dec 3, 2026
15 of 16 checks passed
@migmartri
migmartri deleted the ci/do-not-track branch December 3, 2026 23:15
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.

3 participants