Repository navigation
fix(pm-stack): point supabase-export at muse-dev2, retire legacy project ref - #5379
Merged
Merged
Conversation
developing-today
Bot
requested review from
a team and
dezren39
as code owners
November 4, 2026 09:55
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
…ect-ref; correct install.sh secret comment
This was referenced Nov 4, 2026
Closed
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.
Drew's ruling 2026-11-04: "one url muse dev2 everywhere."
The legacy muse-dev project (ref nltgxorqwxhgfzseiirt) was deleted on 2026-11-02, but parts of pm-stack still pointed at it or at Bitwarden names retired the same day.
Commit 1 — supabase-export (discharges the audit ask in #5120):
supabase-export/supabase-quota-export.mjs:DEFAULT_PROJECT_REFnowkeihfchslgjetkmnmzra(muse-dev2); header example updated.supabase-export/supabase-quota-export.test.mjs: the fake Management API now serves the muse-dev2 project (REF + project name); provenance comment de-named.supabase-export/README.md: example document + prose now name muse-dev2 / the dev2 ref.aggregator/test/supabase-export.test.ts: fixture doc + plan-view labels now muse-dev2 / dev2 ref.logs/github/(historical artifacts, not source).Commit 2 — runtime Bitwarden resolution + comment correction:
aggregator/src/supabase.tsandaggregator/scripts/collect-fleet-feed.ts: the project-ref resolution chain (env → Bitwarden → hardcoded dev2 ref) now readssupabase.muse-dev2.project-ref. Since the 2026-11-04 Bitwarden rename (below), the old name no longer resolves and these were silently riding the hardcoded fallback — correct value, dead pointer.dispatch/install.sh: the secrets-layout comment repeated the fix(pm-dispatch): sops-managed Supabase config; SUPABASE_URL required (#5120) #5129-era claim that the un-namespaced Bitwarden service-role key was the legacy project's. Verified false on 2026-11-04 (hashes + JWT decode + store metadata): the trio was flipped to muse-dev2 values at the 2026-10-30 cutover; the legacy project's preserved key issupabase.muse-dev.service-role-key. Comment corrected.Verified on the laptop in the branch worktree:
bun testin pm-stack/supabase-export (12 pass / 0 fail) and aggregatortest/supabase-export.test.ts(16 pass / 0 fail). Full aggregator suite shows 4 failures inconflicts-1282.test.ts+ fixture/env errors that reproduce identically on pristine main in a bare worktree (missing node_modules / PM_AGG_SOURCE) — pre-existing, untouched by this PR.Context: the same ruling rewired every live consumer of the un-namespaced Bitwarden trio (
supabase.project-ref/.project-url/.service-role-key) to thesupabase.muse-dev2.*names and renamed the trio in place tosupabase.legacy-muse-dev.*. pm-dispatch is unaffected (SOPS-managed since #5129). The deployed ~/atlas exporter copy was verified legacy-free on 2026-11-03; this PR makes the repo source match so the next redeploy keeps it that way.Deliberately NOT in this PR:
secrets/sops/common/bws.yamlstill keys its mirror entries by the retired trio names (and lacks the namespaced sets). Hand-renaming sops keys breaks the file's MAC (verified); regeneration vialib/bws-to-sops.shworks and produces the renamed keys, but it is a full-vault sync (~20 unrelated entries change) — tracked as its own follow-up issue rather than riding along here.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.