Repository navigation
Fix four rough edges from an early-access install - #521
Merged
Merged
Conversation
An npm alias read as a missing package, mark-build did not recognise a Next.js server build, protect --check called reporting off when the key sits in an env file, and the CLI's exit on Windows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
🎯 Elite quality (93%) — Four targeted CLI fixes, three with focused regression tests and clear explanatory comments. 📦 Medium 🤖 Written by Claude Code — going by its own attribution. Unknown whether a person read it; agents can report that with the 🟢 Low risk — 104 lines of code, and nothing that needs a person. ✅ Reviewed — approved by @daniloradovic. 🩺 Coderbuds triage found nothing that should stop this merge, but worth a look: changes Windows exit to a deferred process.exit with timer in |
Contributor
Author
|
/review |
daniloradovic
approved these changes
Nov 26, 2026
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.
Four small problems reported from one install on a self-hosted Next.js app.
1. An npm alias was reported as a missing package
"zod4": "npm:zod@^4"is locked and installed under the namezod. The staleness check compared the keyzod4against those names, found nothing, called the lockfile out of date and fell back to walkingnode_modules/. A declared alias now counts as present under either name.2.
mark-buildsaid no build directory was found for a Next.js server buildA Next.js build that is not a static export writes
.next/, which has no page files to mark. The postbuild step now says that and points atguide, and no longer lists directories it looked for and suggests--dir.3.
protect --checkcalled detection reporting off when the key is in an env fileThe check reads this command's environment and the project's config files. A framework that loads
.envgives the running app a key this command never sees, so the check printedoff (unavailable-no-credential)for an app that was reporting. When an env file sets the key, the check now says it cannot judge from here and names the file. The value is not read out.4. The CLI's exit on Windows
Commands finished their work and then ended with a Node assertion (
UV_HANDLE_CLOSING), which reads as a crash. On Windows the process is now left to end on its own once its work is done, with a 3 second backstop. Other platforms exit as before.Checked
npm testpasses excepttests/field-test-cli-log.test.ts(a temp-path difference on my machine).tests/protect/response-json-structure.test.ts, a timing test, failed once in the full run and passes on its own.typecheckandcapabilities:checkpass.Outstanding
mark-buildandprotect --checkoutput are read by installing assistants. The post-release field-test run is owed after the release that carries this.🤖 Generated with Claude Code