Repository navigation
ci: turn off CLI telemetry in our GitHub workflows - #3869
Conversation
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
PR validation —
|
| Status | Policy | Material | Messages |
|---|---|---|---|
| ✅ Passed | pr-min-approvals |
pr-info |
- |
| ✅ Passed | pr-description-required |
pr-info |
- |
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]+\\]"] |
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)
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% HumanStatus 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-allowedai-coding-session-659da6- ✅ Passed ai-config-no-dangerous-commandsai-coding-session-659da6- ✅ Passed ai-config-no-secretsai-coding-session-659da6- ✅ Passed ai-config-mcp-servers-allowedai-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 |
Powered by Chainloop and Chainloop Trace
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-levelenvof each workflow that runs the CLI:release.yaml,package_chart.yaml,package_sandbox_kit.yaml,sync_contracts.yml,codeql.ymlandauthor_verification.yml. The CLI does not send telemetry whenDO_NOT_TRACKis1ortrue.scorecards.ymlruns the CLI through reusable workflows ofchainloop-dev/labs. A reusable workflow does not get theenvof its caller, so this PR does not change it.AI disclosure: Claude Code assisted with this change.