Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 5 additions & 0 deletions plan_docs/log.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 4 additions & 2 deletions plan_docs/milestones/m2-speculative-merge-textual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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**
Expand Down
Loading