Skip to content

test(cli): guard config schema against inbucket name leakage#5664

Open
jgoux wants to merge 1 commit into
developfrom
chore/config-schema-inbucket-guard
Open

test(cli): guard config schema against inbucket name leakage#5664
jgoux wants to merge 1 commit into
developfrom
chore/config-schema-inbucket-guard

Conversation

@jgoux

@jgoux jgoux commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #5333 (the inbucketlocal_smtp config rename).

Strengthens the config-schema unit test so the deprecated implementation name cannot creep back into the published schema: the assertion now checks the generated schema case-insensitively (schemaString.toLowerCase()), covering descriptions as well as keys — not just the lowercase inbucket substring.

#5333 already removed the last user-facing inbucket references (the section key, plus the schema descriptions/link which now point at the actual local tool, Mailpit). This test makes that invariant durable.

🤖 Generated with Claude Code

Assert the generated schema contains no `inbucket` substring case-insensitively
(descriptions included), so the deprecated implementation name cannot creep back
into the published schema.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jgoux jgoux requested a review from a team as a code owner June 23, 2026 16:00
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@jgoux jgoux enabled auto-merge June 23, 2026 16:03
@github-actions

Copy link
Copy Markdown

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@89ffc8c5612b9d62db53184a079ff292470cccde

Preview package for commit 89ffc8c.

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.

1 participant