Skip to content

[FEATURE] Sync GitHub release asset download totals to PostHog #558

Description

@charlesjohnson

Outcome

PostHog contains a daily snapshot of cumulative download totals for AURA’s uploaded GitHub release assets for use in reporting.

Requirements

  • Collect download totals for uploaded release assets from the GitHub Releases API at least once per UTC calendar day.
  • Send one PostHog event per release asset containing:
    • repository
    • release ID and tag
    • asset ID
    • asset name
    • cumulative download count
    • snapshot date
  • Use the GitHub asset ID as the stable asset identifier; asset names alone are not necessarily unique.
  • Make retries idempotent so an asset produces no more than one snapshot for a given date.
  • Paginate through all in-scope releases and release assets.
  • Make failures visible early enough to retry within the same calendar day.
  • The implementation may run in this repository’s GitHub Actions or on another suitable runner.
  • Store the PostHog project token and any other required credentials securely.

Non-goals

  • Calculating or storing daily download increments.
  • Reconstructing daily totals from before the first successful snapshot.
  • Counting downloads of GitHub-generated source-code ZIP or tar archives.
  • Counting GitHub Actions workflow artifacts.
  • User-level attribution.

Activity

  1. added 13 commits that reference this issue on Sep 9, 2026
    b5498b4
    133a17b
    b1bf828
    483da38
    6b24973
    45d39a6
    c6d5b18
    be8503e
    b319b51
    533f4a1
    c587b68
    b31b68a
    54c3657
  2. 11 remaining items

  3. added 12 commits that reference this issue on Sep 10, 2026
    c14481e
    8f4dc0c
    500b3c0
    094ea09
    fab8023
    f9b697c
    2266797
    0d34664
    7a1788e
    dee0580
    04e58bc
    1246d70
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions