Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .github/workflows/release-downloads.yml

This file was deleted.

16 changes: 0 additions & 16 deletions docs/TELEMETRY.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,22 +151,6 @@ judge at all). `codeaf pool status` says how many rows wait to leave for the
pool; this page describes both streams, so "what is collected" is answered
for everything the binary sends.

## Download counts

The download numbers this repository reports come from public GitHub release
data: the GitHub API publishes a cumulative download count for every asset on
a release, and a daily scheduled workflow reads those counts and sends one
event per binary asset to PostHog (`codeaf:release_downloads`). No code in
the binary is involved, nothing is collected from the person downloading, and
the only facts in the event are the release tag, the asset's platform, and
the count GitHub already shows on the release page. Sidecar files such as
`checksums.txt` are not counted. The workflow lives in
`.github/workflows/release-downloads.yml`; the script behind it is
`scripts/release_downloads.py`, and running it with `--dry-run` prints the
batch it would send.

The release-download workflow fails visibly when its production PostHog key or GitHub token is missing; dry-run still works without a PostHog key.

## Estimates and recovered receipts

See [Model usage accounting](model-usage-accounting.md) for the estimator,
Expand Down
11 changes: 11 additions & 0 deletions docs/changes/unreleased/2193-release-downloads-workflow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
kind: removed
title: The daily Release downloads workflow and its PostHog script are gone
pr: 2193
surface: [build, docs]
invalidates:
- "A daily workflow, .github/workflows/release-downloads.yml, sent GitHub release download counts to PostHog as codeaf:release_downloads; that workflow and scripts/release_downloads.py no longer exist and nothing reports download counts."
---

It failed on every run because its PostHog project key was never set, and the
counts are already visible on the GitHub release pages.
231 changes: 0 additions & 231 deletions scripts/release_downloads.py

This file was deleted.

Loading
Loading