Skip to content

fix(junior): Validate app plugin option wiring#389

Merged
dcramer merged 1 commit into
mainfrom
codex/example-check-plugin-options
May 21, 2026
Merged

fix(junior): Validate app plugin option wiring#389
dcramer merged 1 commit into
mainfrom
codex/example-check-plugin-options

Conversation

@dcramer
Copy link
Copy Markdown
Member

@dcramer dcramer commented May 21, 2026

Update the example app to use the current plugin configuration shape in both Nitro and runtime app setup. This fixes the worker boot failure where config defaults were validated before the intended packaged plugin config keys were registered.

Check Validation

junior check now rejects stale pluginPackages options in app entry/config files and validates literal configDefaults keys against discovered plugin config keys. That catches this class of plugin migration miss before the dev worker starts.

Update the example app to use the current plugins option and make junior check reject stale pluginPackages usage and unregistered configDefaults keys.

Co-Authored-By: GPT-5 Codex <noreply@openai.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview, Comment May 21, 2026 4:01am

Request Review

@dcramer dcramer marked this pull request as ready for review May 21, 2026 04:02
@dcramer dcramer merged commit 3c22346 into main May 21, 2026
16 checks passed
@dcramer dcramer deleted the codex/example-check-plugin-options branch May 21, 2026 04:09
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