Repository navigation
fix(shared): preserve URLs inside JSONC block comments - #172
Conversation
Co-authored-by: Simone <[email protected]> Co-authored-by: Julius Marminge <[email protected]> (cherry picked from commit 3460497)
Workbench demoOpen the private 20-minute demo. Sign in to Vercel, then choose Open demo. Reopening this link in the same browser resumes its running demo; Start new demo creates a fresh one. Jira starts disconnected. Application, runtime startup, fixtures, and native smoke: PR Expired? Return to this link and launch again. Use synthetic content with the free OpenCode model. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Upstream already contains the JSONC fix that #172 backported, so its tests follow upstream's pruned versions and the backport's CI scope entry is dropped.
Summary
Valid JSONC containing a URL in a block comment can be rejected, causing
t3.jsondefaults to be ignored. Parse line and block comments together so those files load correctly.Changes
3ff5b3c.Verification
vp test run packages/shared/src/schemaJson.test.ts packages/shared/src/t3ProjectFile.test.ts packages/shared/src/serverSettings.test.ts apps/server/src/project/T3ProjectFileLoader.test.ts. URL comments must preserve project defaults; malformed JSON must remain rejected.T3ProjectFileLoadersmoke check loaded a temporary JSONC file and retained its worktree default and script.Limits
Interactive client verification is unavailable because this cloud task has no T3 Browser panel tools. Preview and CI results are reported separately; no visual waiver applies.
Model metadata is not exposed by this runtime. Harness: Codex Cloud.