feat(star-tracker): operator /_admin tenant list#67
Merged
Conversation
Adds an operator-only page that lists every registered tenant (newest first) with owner, repo counts, total stars tracked, and last event/ping — so we can tell at a glance whether anyone is using the tool. Gated by ADMIN_USERNAMES (comma-separated GitHub logins, set via `wrangler secret put`). Non-admins 404 so the page isn't advertised. Path uses an underscore prefix so it can't collide with a valid GitHub slug. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
wavekat-eason
pushed a commit
that referenced
this pull request
May 21, 2026
🤖 I have created a release *beep* *boop* --- ## [0.0.24](wavekat-com-v0.0.23...wavekat-com-v0.0.24) (2026-05-21) ### Features * **star-tracker:** operator /_admin tenant list ([#67](#67)) ([2663192](2663192)) ### Bug Fixes * **gha-runners:** restore cargo PATH after sudo re-exec ([#69](#69)) ([15f8f2c](15f8f2c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/_admin— operator-only page listing every registered tenant (newest first) with owner, repo counts, total stars, last event, last ping, plus aggregate totals at the top. Lets us tell at a glance whether anyone is using the tool.ADMIN_USERNAMESenv var (comma-separated GitHub logins). Non-admins (and signed-out users) get 404 rather than 403 so the page isn't advertised. Leave unset to disable the page entirely.SLUG_RErequires[a-z0-9]as the first char).Test plan
ADMIN_USERNAMESviawrangler secret put ADMIN_USERNAMES(prod) or.dev.vars(local).GET /_adminreturns 404.GET /_adminreturns 404.ADMIN_USERNAMES→ all/_adminrequests 404 even for previously-listed users.🤖 Generated with Claude Code