Repository navigation
fix(ci): run npm lifecycle hooks in the selected host lanes - #14871
Closed
ShuaixinHuang wants to merge 3 commits into
Closed
ShuaixinHuang wants to merge 3 commits into
ShuaixinHuang wants to merge 3 commits into
Conversation
ShuaixinHuang
requested review from
N0zoM1z0,
gensokyo-dev,
kaoru0822-kitauji and
morluto
as code owners
November 27, 2026 08:33
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. |
Contributor
[Medium impact] The reviewed changes appear safe to merge. SummaryRoutes npm hook changes to the SQLite, Python, and reverse-tools checks. Adds explicit hook calls where CI runs the underlying commands directly.
Diagram%%{init: {'theme': 'neutral'}}%%
flowchart LR
A[Package script changes] --> B[Strip pre or post prefix]
B --> C[Select dedicated lane]
C --> D[Python through npm]
C --> E[SQLite hooks around runtime tests]
C --> F[Coverage through npm and hooks around mutation preflights]
Reviews (3) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." · Reviewed by Greptile |
This was referenced Nov 28, 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.
Replaces #14717 at the same commit
b0b5d4a56e813743a32ceac72010fb62f61ae3d9. The prior PR records the review history and validation for this commit.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.
Resubmission of #14078.
Replaces #14353 at the same commit. See the previous PR for the review history.
Author readiness
Human owner: @ShuaixinHuang
Before merge