Repository navigation
Conversation
|
@tlq5l is attempting to deploy a commit to the Nitro Team on Vercel. A member of the Team first needs to authorize it. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
🔗 Linked issue
Resolves #29
❓ Type of change
📚 Description
With an unquoted
compatibility_date = 2026-09-01inwrangler.toml, node compat is now inferred from the date, andnodejs_compatis added for dates before 2026-08-04. TOML parses the unquoted value as aDate, so both comparisons with"2026-08-04"were false.readWranglerConfignow turns a date-onlyDatevalue into itsYYYY-MM-DDstring; other values are left as they are.Tests (agent-run) at ebee69d, clean setup (empty HOME, no git config):
corepack enable >/dev/null 2>&1 && pnpm install --frozen-lockfile >/dev/null 2>&1 && pnpm stub >/dev/null 2>&1 && pnpm vitest run test/unit/cloudflare-config.test.ts, exit 0.Fails without fix: the same command on ebee69d, with the fix's code reverted to
origin/main: exit 1, the two new unquoted-date cases fail.AI disclosure: this PR was written with an AI coding agent; the test results above come from the agent's run on a clean checkout.
📝 Checklist