Repository navigation
fix(ci): route npm lifecycle hooks to their host test lanes - #14078
ShuaixinHuang wants to merge 1 commit into
Conversation
[Medium impact] The PR appears safe to merge. SummaryRoutes npm pre- and post-hook edits to the existing Python, SQLite, and reverse-tools test lanes.
Reviews (1) · Last reviewed commit: "fix(ci): route npm lifecycle hooks to th..." · Reviewed by Greptile |
Codex Review Summary: ❌ FailedThis 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. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Summary
CI invokes checks through npm, which runs pre- and post-scripts automatically. The planner matches only the main script name for SQLite, Python and reverse-tools, so a hook-only edit can select the generic Linux runtime without selecting the check whose execution actually changed.
Use the npm lifecycle target for those dedicated lanes. Regression cases cover both hook prefixes and all three lane families.
Validation
git diff --checkpassed. Hosted CI is pending.Supersedes #12569.
Author readiness
Human owner: @ShuaixinHuang
Before merge