diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 114a2e8..eda6947 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,8 +51,11 @@ jobs: strategy: fail-fast: false matrix: - # 24 is the floor declared in `engines` and floats, since a floor is a - # claim about a line rather than a build. 26 is what development runs + # 24 is the floor declared in `engines`. It is held at 24.21.0, the last + # release whose recursive watcher survives a directory becoming + # unreadable; 24.22.0 on Linux does not (nodejs/node#66791), and a + # floating cell would fail every run on a bug that is Node's. Unpin it + # once that is fixed. 26 is what development runs # on and is read from `.node-version`, so a required check runs the # build a developer has rather than the newest one GitHub has. # macOS earns one cell rather than a full axis: it is where path @@ -62,6 +65,8 @@ jobs: include: - os: ubuntu-latest node: '24' + # Named apart from `node` so the job keeps its name. + version: '24.21.0' - os: ubuntu-latest node: '26' pinned: true @@ -85,7 +90,7 @@ jobs: - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 if: ${{ !matrix.pinned }} with: - node-version: ${{ matrix.node }} + node-version: ${{ matrix.version || matrix.node }} cache: pnpm - name: Install diff --git a/README.md b/README.md index c730aaa..39da2dd 100644 --- a/README.md +++ b/README.md @@ -102,10 +102,11 @@ repository's attributes read from a commit rather than a checkout — flags from git 2.40 and 2.41. macOS ships 2.39 at `/usr/bin/git`; install a newer one — Homebrew's, for instance — and put it first on `PATH`. -On Linux, not Node 26.9.0. Its recursive directory watcher throws `EACCES` from -inside Node's own event callback when a watched directory becomes unreadable — -an unmounted volume, a permission change — and nothing outside Node can catch -it, so the daemon stops. Node 26.8 and earlier are unaffected, as is macOS. +On Linux, not Node 26.9.0 or later, nor 24.22.0 or later. Their recursive +directory watcher throws `EACCES` from inside Node's own event callback when a +watched directory becomes unreadable — an unmounted volume, a permission +change — and nothing outside Node can catch it, so the daemon stops. Node 26.8 +and 24.21 and earlier are unaffected, as is macOS. ## License diff --git a/plan_docs/log.md b/plan_docs/log.md index 37a83e5..b82f217 100644 --- a/plan_docs/log.md +++ b/plan_docs/log.md @@ -4,6 +4,11 @@ Short entries: done, decided, blocked. Newest first. --- +## 2026-11-13 — the 24 cell held at 24.21.0 + +- **Found — the regression is wider than 26.9.0.** nodejs/node#66791 reports the recursive watcher's `EACCES` on 24.22.0 and 26.12.0 as well; 24.21.0 and 26.8.2 survive. The floating 24 cell took 24.22.0, so `status.test.ts`'s unreadable-worktree test ended the run with an unhandled error on `dev` and on every branch cut from it. The 26 cells read `.node-version` (26.4.0) and were never exposed. +- **Decided — hold the 24 cell at 24.21.0 rather than work around Node.** The fix upstream is nodejs/node#66792, open. A code workaround (one watch per directory) stays the rewrite this task already declined, and the test is right. The README names the affected lines; unpinning is in the task's Done when. + ## 2026-10-16 — typecheck runner, reworked from the review of #97 - **Reworked from review.** #97 was a parallel version of this task on an older base; the review kept nine of its parts for `dev`'s service (#91) and trimmed the rest. Ported onto #91's design, not rebased: the tree's listing, the outcome kinds, the deadline and its grace, the install identity, an empty worker environment and a configured heap, the walk past a workspace link, the bench script and its numbers, and the importer-cancellation test. Already on `dev` and kept as they were: plugin stripping and its `extends` test, the `tsc`-parity tests, the heap check after each check. Task rewritten in the same change, and ticked: every `Done when` passes, archestra's numbers included. diff --git a/plan_docs/milestones/m2-speculative-merge-textual.md b/plan_docs/milestones/m2-speculative-merge-textual.md index 5c91950..5b3cbc4 100644 --- a/plan_docs/milestones/m2-speculative-merge-textual.md +++ b/plan_docs/milestones/m2-speculative-merge-textual.md @@ -53,7 +53,8 @@ Typecheck cost is the budget that decides whether this product runs on a laptop. unreadable throws `EACCES` from inside Node's own callback, past every `'error'` listener, and the process dies. Measured across the line: 26.4.0, 26.5.1, 26.6.0, 26.7.0 and 26.8.2 survive; 26.9.0 does not, and is the - newest 26.x. Not worked around — there are no users to protect, a workaround + newest 26.x. The regression (PR 65486) also reached 24.22.0, and 26.12.0 + has it too; 24.21.0 does not. The fix is nodejs/node#66792, open. Not worked around — there are no users to protect, a workaround would be a permanent shape carried for a temporary bug, and the one thing that reliably prevented the crash was closing the watch, which is the very over-reaction the task above removes. Recorded in `README.md` instead. @@ -67,7 +68,8 @@ Typecheck cost is the budget that decides whether this product runs on a laptop. load-bearing subsystem in the daemon and wants its own measurements. **Done when:** the regression is filed upstream and fixed, the `README.md` - paragraph is gone, and the required CI cells run a Node that has the fix. + paragraph is gone, the 24 cell in `ci.yml` floats again instead of being held + at 24.21.0, and the required CI cells run a Node that has the fix. **Constraints:** hard rule 5 — the test that trips this is correct and stays. - [x] **Shadow clone lifecycle**