Repository navigation
chore(package): add direct managed verifier script - #9396
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 adds a direct entry point for one existing package-check workflow. Do not merge yet: the new command does not run the managed package checks. Findings
Fix with agent prompt### Issue 1
package.json:undefined-268
After `build:cached` succeeds, the new command loads `scripts/verify-package-managed.mjs`, but that file only defines helpers and exports `verifyManaged`; it never calls it. The command therefore succeeds without testing the package, leaving broken managed commands undetected.
Add a runnable entry point that reuses the package setup and cleanup, then calls `verifyManaged` with the installed CLI, workspace, environment, and command runner.
---
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 managed verif..." · 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:managed": "npm run build:cached && node scripts/verify-package-managed.mjs", |
There was a problem hiding this comment.
After build:cached succeeds, the new command loads scripts/verify-package-managed.mjs, but that file only defines helpers and exports verifyManaged; it never calls it. The command therefore succeeds without testing the package, leaving broken managed commands undetected.
Add a runnable entry point that reuses the package setup and cleanup, then calls verifyManaged with the installed CLI, workspace, environment, and command runner.
Prompt To Fix With AI
This is a comment left during a code review.
Path: package.json
Line: 268
Comment:
**Managed checks never run**
After `build:cached` succeeds, the new command loads `scripts/verify-package-managed.mjs`, but that file only defines helpers and exports `verifyManaged`; it never calls it. The command therefore succeeds without testing the package, leaving broken managed commands undetected.
Add a runnable entry point that reuses the package setup and cleanup, then calls `verifyManaged` with the installed CLI, workspace, environment, and command runner.
---
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: ced06be0c4
ℹ️ 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:managed": "npm run build:cached && node scripts/verify-package-managed.mjs", |
There was a problem hiding this comment.
Invoke the managed verifier through a runnable entry point
Once build:cached succeeds, this command runs a module that never invokes its verifier: scripts/verify-package-managed.mjs:308–358 only exports verifyManaged, and its sole caller is the aggregate runner at scripts/verify-package.mjs:167–173. Node's documented node [options] [ script.js ] [arguments] invocation (node --help) evaluates the script rather than calling its exports, so the new command exits successfully without exercising any managed CLI checks. Add a runnable entry point that prepares the package/workspace, awaits verifyManaged, and cleans up, rather than executing the helper directly.
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:managedas a direct package-script entry for the existing managed package verifier. The aggregateverify:packageflow remains unchanged.Validation
git diff --checkbuild:cached