Repository navigation
fix(ci): route npm lifecycle hooks to their host test lanes - #12569
ShuaixinHuang wants to merge 1 commit into
Conversation
[Medium impact] The PR appears safe to merge. SummaryThis PR routes npm pre- and post-test hook edits to the matching SQLite, Python, or reverse-tools CI lane.
No actionable issues found. Validation was source-based; tests were not rerun. Local history shows no superseding revision, but live PR status was not available. Reviews (1) · Last reviewed commit: "fix(ci): route npm lifecycle hooks to th..." · Reviewed by Greptile |
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. |
|
Hi @morluto @kaoru0822-kitauji @N0zoM1z0 @gensokyo-dev @vincentkoc, When a maintainer has time, could you review this PR at GitHub is still rejecting my attempts to open new upstream PRs. I can continue updating existing branches and addressing review feedback. |
* test(ida): consolidate worker release and retry checks * test(ida): point lifecycle coverage at retained cleanup checks
|
TL;DR: I ran the PR's one changed test file on Node 22.23.4, 24.22.1 and 26.12.1. All 438 tests passed on each version. With Findings
The red run fails the same 4 tests on all three versions. All are in
The PR changes 2 files against the merge base: The head is 346 commits behind main 6cf4328. CI on afc54c2, read live with
Not run
Test setupCommandsnpm ci --offline
npm run test:prepare
xvfb-run -a npm run test:focused -- tests/boundary/filesystem/ciChangeScope.test.ts🤖 Written and tested with Claude Code (Sonnet 5.5, verified by Opus 5.5), posted with my OK 🦊 |
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.Author readiness
Human owner: @ShuaixinHuang
Before merge