Repository navigation
fix(pm-stack): resolve the muse-dev2 namespaced Supabase management-token name - #5390
Merged
Merged
Conversation
…oken name The 2026-11-04 Bitwarden cleanup renamed supabase.access-token-muse-cli to supabase.muse-dev2.access-token-muse-cli (Drew's ruling: dev2 naming everywhere, nothing about the original kept). These files still resolved the retired bare name; resolution fails soft to null, so the aggregator client, the fleet-feed collector, and the supabase quota exporter would degrade on their next resolution/restart. Point all of them at the namespaced name. No test references the literal.
developing-today
Bot
requested review from
a team and
dezren39
as code owners
November 4, 2026 10:28
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
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.
Urgent — closes a gap opened by today's Bitwarden vault cleanup.
The 2026-11-04 cleanup renamed the Bitwarden Management API token entry
supabase.access-token-muse-cli→supabase.muse-dev2.access-token-muse-cli(Drew's ruling: dev2 naming everywhere, nothing about the original kept) and rewired the tool copies (supabase-exec.py, supabase-mirror, supabase-backup). These five files in pm-stack still resolve the retired bare name:pm-stack/aggregator/src/supabase.ts—getSupabaseClient()resolves the token by the bare name. Resolution fails soft to null, and the client promise is memoized, so on its next restart the aggregator's Supabase client would latch null (alerts surface unavailable). The currently running process started before the rename and holds a valid token; it is unaffected until it restarts — which a deploy round will do.pm-stack/aggregator/scripts/collect-fleet-feed.ts— same bare resolution, per run.pm-stack/supabase-export/supabase-quota-export.mjs—DEFAULT_SECRET_NAMEwas the bare name (the quota-gatherer path resolves it per run; no env override is set on the laptop).pm-stack/supabase-export/install-laptop.sh,pm-stack/supabase-export/README.md— comments/docs naming the old default.Change: point all of them at
supabase.muse-dev2.access-token-muse-cli. String literals + comments only; no test references the literal (grep-verified). 5 files, 7 lines.Adjacency note: this touches
supabase.tslines 4/53; PR #5379 touches the project-ref resolution in the same function. If #5379 lands first, this branch may need a trivial rebase — the edits are on different lines.Filed alongside code#5381 (the bws.yaml mirror regeneration, separate scope).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.