Skip to content

refactor: group Parcel watcher child process ownership - #33079

Merged
nwparker merged 1 commit into
mainfrom
nwparker/module-organization-watcher-process
Oct 24, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/module-organization-watcher-process

Conversation

@nwparker

@nwparker nwparker commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Parcel watcher child acquisition, cancellation, and termination currently span twelve owners at the IPC root. This groups those owners and four existing suites under filesystem/watcher-process/, with direct imports from their concrete owners and no barrels or forwarding modules.

Caller imports, four shard timing keys, seven process-import baseline paths, and live reliability commands follow the moves. Six historical evidence records retain their executed commands and use the existing currentCommand field to link to the relocated suites.

The resource probe also fixes its child PID lookup to read the supervisor’s current slot, retaining legacy supervisor compatibility. The original probe incorrectly counted zero children; the corrected baseline and candidate both pass the existing healthy, quarantine, capacity, budget, and exact-PID cleanup checks. Production watcher behavior and worker output names are preserved.

Validation: 99 cases across 15 suites match the baseline by name, status, and mapped path; 16 WSL cases pass after the concrete registry namespace import; 32 reliability-checker cases pass. Node typecheck, main build, changed-code quality, formatting, direct-import gate, reliability manifest, and commit hooks pass. Two independent source audits approve the exact committed head. Full CI is required before merge.

@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 11 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e73c1174-f626-459f-866b-6d03224ddc9c
Commits

Reviewing files that changed from the base of the PR and between e9c80a4 and 922f3e2.

Files selected for processing: 40
  • config/process-host-direct-import-baseline.txt
  • config/reliability-gates.jsonc
  • config/scripts/ci-shard-timings.json
  • config/scripts/runtime-file-watcher-resource-probe.mjs
  • src/main/ipc/filesystem-watcher-lifecycle-model.test.ts
  • src/main/ipc/filesystem-watcher-local-capacity.ts
  • src/main/ipc/filesystem-watcher-local-install.ts
  • src/main/ipc/filesystem-watcher-native-capacity.test.ts
  • src/main/ipc/filesystem-watcher-removal-restore.test.ts
  • src/main/ipc/filesystem-watcher-wsl.test.ts
  • src/main/ipc/filesystem-watcher-wsl.ts
  • src/main/ipc/filesystem-watcher.test.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-cancellation-restart.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-cancellation-tracker.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-child-launch.test.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-child-launch.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-child-messaging.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-child-recovery.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-child-registry.test.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-child-registry.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-child-slot.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-child-termination.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-disconnect-termination.test.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-interrupted-cancellation.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-owned-children.test.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-owned-children.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-pending-cancellation.ts
  • src/main/ipc/filesystem/watcher-process/parcel-watcher-pending-subscribe.ts
  • src/main/ipc/parcel-watcher-host-subscriptions.ts
  • src/main/ipc/parcel-watcher-native-error-retirement.test.ts
  • src/main/ipc/parcel-watcher-process-supervisor.ts
  • src/main/ipc/parcel-watcher-process.test.ts
  • src/main/ipc/parcel-watcher-supervisor-capacity-wait.test.ts
  • src/main/ipc/parcel-watcher-supervisor-capacity-wait.ts
  • src/main/ipc/parcel-watcher-supervisor-capacity.test.ts
  • src/main/ipc/parcel-watcher-supervisor-disposal.test.ts
  • src/main/ipc/parcel-watcher-supervisor-disposal.ts
  • src/main/ipc/parcel-watcher-supervisor-message.ts
  • src/main/ipc/parcel-watcher-supervisor-subscribe.ts
  • src/main/ipc/parcel-watcher-unsubscribe-timeout.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit b5ee026 into main Oct 24, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant