Skip to content

chore(dor): drop unused ppid from ambient process declaration - #359

Open
dormouse-bot wants to merge 1 commit into
mainfrom
chore/drop-dead-ppid-decl
Open

chore(dor): drop unused ppid from ambient process declaration#359
dormouse-bot wants to merge 1 commit into
mainfrom
chore/drop-dead-ppid-decl

Conversation

@dormouse-bot

Copy link
Copy Markdown
Collaborator

Nightly survey finding.

The ambient process declaration in dor/src/node-runtime.d.ts declares ppid: number, but nothing in dor/ reads .ppidgrep -rn 'ppid' dor/ matches only the declaration line itself. Every other member of the ambient declarations is consumed (platform, cwd(), the node:net/node:fs/node:path members, the timers), so this is the lone dead entry. Removing it.

No test is added: this is a type-declaration-only change with no runtime behavior, and the dor build (tsc -p tsconfig.json) is the check that would have caught a stray reference — none exists.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 8, 2026

Copy link
Copy Markdown

Deploying mouseterm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3fe310b
Status: ✅  Deploy successful!
Preview URL: https://8c23805d.mouseterm.pages.dev
Branch Preview URL: https://chore-drop-dead-ppid-decl.mouseterm.pages.dev

View logs

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