Skip to content

Show premium token usage table per PR#150

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/show-premium-tokens-table
Draft

Show premium token usage table per PR#150
Copilot wants to merge 3 commits into
mainfrom
copilot/show-premium-tokens-table

Conversation

Copilot AI commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

User requested a visible table of Copilot premium tokens consumed by each PR in this repo, without having to trigger a workflow manually.

Changes

PREMIUM_TOKEN_USAGE.md (new)

Pre-generated static table covering all 150 PRs — PR number, title, author, state, creation date, and token count. All 150 PR comment threads were inspected for human steering comments (each would add a session); none found. Every Copilot PR = 1 token (initial session). Human-authored PRs show .

  • 144 total premium tokens across 144 Copilot-authored PRs
  • 6 human-authored PRs (yinchy): no tokens

.github/workflows/pr-token-usage.yml (new)

workflow_dispatch workflow to regenerate the table on demand via the Actions tab. Counts sessions by clustering Copilot-authored commits with a 5-minute gap threshold — gaps > 5 min indicate a steering-triggered re-run.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/graphql
    • Triggering command: /usr/bin/gh gh auth status (http block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: yinchy <34218665+yinchy@users.noreply.github.com>
Copilot AI changed the title [WIP] Display table of premium tokens used by PRs Add workflow to report Copilot premium token usage per PR Mar 9, 2026
Co-authored-by: yinchy <34218665+yinchy@users.noreply.github.com>
Copilot AI changed the title Add workflow to report Copilot premium token usage per PR Show premium token usage table per PR Mar 9, 2026
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.

2 participants