fix(ops): print which supabase project invite and keys:rotate wrote to
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- next.js, supabase, typescript
- 領域
- devops
調査の方向性
scripts/invite.ts と scripts/rotate-encryption-key.ts を読み、続いてそれらのテストと docs/operations/deploy.md の手順 4 を確認してください。各スクリプトが NEXT_PUBLIC_SUPABASE_URL をどのように読み込み、出力を表示するかを追跡してください。各出力行にプロジェクトのホストと .env.local がその値を提供したかどうかを追加し、remove コマンドをその変数で更新して、ユニットテストで出力行を 1 つ検証してください。
索引モデルが issue の本文から書いたものです。
説明
Context
Found by the Fable pre-production review on 2026-12-02 (main at cedc1914; every line reference below re-checked on main at cde5aa3b). Source: deploy readiness report, new issue 7.
Both operator scripts load .env.local when it exists (process.loadEnvFile(".env.local"), scripts/invite.ts:43, scripts/rotate-encryption-key.ts:43); variables already in the shell win, so a command without them acts on whatever .env.local points at. The output never says which project: Invited <email> and Removed <email> (scripts/invite.ts:49, :59), and keys:rotate prints only the key id and counts (rotate-encryption-key.ts:47-49). docs/operations/deploy.md:196 shows the remove command without the variables ("same variables" is only a comment).
Impact: low, operator only. From a dev checkout, npm run invite -- [email protected] --remove as printed edits the local database and still prints "Removed", so Eddie believes a production invite was withdrawn when it was not.
Plan
- Print the Supabase project host (from
NEXT_PUBLIC_SUPABASE_URL, host only, never a key) in every line both scripts print, and whether.env.localsupplied it. - Repeat the variables on the remove command at
deploy.md:196. - Unit test the output line.
Acceptance criteria
-
inviteandkeys:rotateoutput names the project host. -
deploy.md:196repeats the variables. - A unit test covers the output.
- Playwright e2e: none needed, scripts only.
Files and areas
scripts/invite.ts, scripts/rotate-encryption-key.ts, their tests, docs/operations/deploy.md (step 4 only).
Non-goals: rotation coverage (#{n8}).
Verification
npm run typecheck, npm run lint, npx vitest run scripts.
Branch: <issue-number>-script-project-host
Model: anthropic/claude-opus-5-5 | Reasoning effort: unknown
- 主要言語
- TypeScript
- スター
- 13
- フォーク
- 2
- 平均マージ
- 5時間 20分
- マージ済み PR(30日)
- 287
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eddiejaoude/StackDash のほかの issue
-
area: integrations documentation priority: P2 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eddiejaoude/StackDash#798 ·
メンテナーはふだん 1 日以内に返信
-
area: ops documentation priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
eddiejaoude/StackDash#796 ·
メンテナーはふだん 1 日以内に返信
-
area: docs documentation impact: low priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eddiejaoude/StackDash#790 ·
メンテナーはふだん 1 日以内に返信
-
area: connections enhancement impact: low priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
eddiejaoude/StackDash#768 ·
メンテナーはふだん 1 日以内に返信
-
area: ci area: database enhancement priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
eddiejaoude/StackDash#747 ·
メンテナーはふだん 1 日以内に返信
eddiejaoude/StackDash の issue をすべて見る
似ている issue
-
bot:ai-assisted component:midnight-js status:untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
midnightntwrk/midnight-js#1790 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
area:vscode bug has repro platform:macos platform:vscode regression
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
anthropics/claude-code#113502 ·
-
Add: Rajdhani TV HDオープンcheck:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
effort/l priority/p1 risk/high triage/core
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
iflytek/skillhub#1188 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信