Repository navigation
chore(package): add direct setup verifier script - #9392
ShuaixinHuang wants to merge 1 commit into
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
[Low impact] The change reaches the developer workflow for package setup checks. The PR should not merge until Findings
Fix with agent prompt### Issue 1
package.json:undefined-268
`verify:package:setup` runs a module that only exports `verifyPackageSetup`; it never calls that function. After a successful build, the command can exit successfully without checking setup or uninstall.
Add a runnable entry point that creates the installed package, isolated home, and command runner required by the shared verifier, calls it, and cleans up afterward.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.SummaryAdds
Reviews (2) · Last reviewed commit: "chore(package): add direct setup verifie..." · Reviewed by Greptile |
| "verify:fixtures": "npm run build:fixtures && node scripts/verify-conformance-fixtures.mjs", | ||
| "verify:readiness": "npm run build:cached && npm run verify:fixtures && node scripts/verify-reconstruction-readiness.mjs", | ||
| "verify:package": "npm run build:cached && node scripts/verify-package.mjs", | ||
| "verify:package:setup": "npm run build:cached && node scripts/verify-package-setup.mjs", |
There was a problem hiding this comment.
verify:package:setup runs a module that only exports verifyPackageSetup; it never calls that function. After a successful build, the command can exit successfully without checking setup or uninstall.
Add a runnable entry point that creates the installed package, isolated home, and command runner required by the shared verifier, calls it, and cleans up afterward.
Prompt To Fix With AI
This is a comment left during a code review.
Path: package.json
Line: 268
Comment:
**Setup checks never run**
`verify:package:setup` runs a module that only exports `verifyPackageSetup`; it never calls that function. After a successful build, the command can exit successfully without checking setup or uninstall.
Add a runnable entry point that creates the installed package, isolated home, and command runner required by the shared verifier, calls it, and cleans up afterward.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9a6626085a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "verify:fixtures": "npm run build:fixtures && node scripts/verify-conformance-fixtures.mjs", | ||
| "verify:readiness": "npm run build:cached && npm run verify:fixtures && node scripts/verify-reconstruction-readiness.mjs", | ||
| "verify:package": "npm run build:cached && node scripts/verify-package.mjs", | ||
| "verify:package:setup": "npm run build:cached && node scripts/verify-package-setup.mjs", |
There was a problem hiding this comment.
Invoke the setup verifier from an executable entry point
Once the build succeeds, this command executes the specified module (node --help: node [options] [ script.js ] [arguments]), but scripts/verify-package-setup.mjs only declares helpers and exports verifyPackageSetup; it never invokes that function. The actual invocation is in scripts/verify-package.mjs:205–221, after preparing the packaged CLI and isolated environment. Consequently, the new standalone command can return success without running any setup or uninstall assertions. Point it at a runner that initializes those prerequisites and calls verifyPackageSetup.
Useful? React with 👍 / 👎.
|
Consolidating this related verifier-entry change into a single batch PR as requested. |
|
Hi @ShuaixinHuang, thank you for your interest in contributing to REA. I’m closing this PR along with your recent submissions because the volume has become difficult for the maintainers to review, particularly the many separate one-line PRs without linked issues. We receive Greptile and Codex usage through open-source programs and/or our personal subscriptions, and each PR consumes some of that limited review capacity. A large stream of small, uncoordinated PRs can exhaust it as well as the maintainers’ time. Please open or discuss an issue first, explain the problem and proposed change, and group related changes into a focused PR when appropriate. Please pause the stream of individual PRs while we coordinate scope. If this continues, we may need to restrict PR submissions again to established users, and in extreme cases block accounts. We appreciate your understanding and hope to work together on scoped contributions. |
Summary
Add
verify:package:setupas a direct package-script entry for the existing package setup verifier. The aggregateverify:packageflow remains unchanged.Validation
git diff --checkbuild:cached