Skip to content

cli: a non-integer or out-of-range PORT env var reaches net.listen and crashes b4 start (#1063) - #1066

Merged
blove merged 2 commits into
mainfrom
adopt/wo-9409eea3d48a98ab
Oct 21, 2026
Merged

blove merged 2 commits into
mainfrom
adopt/wo-9409eea3d48a98ab

Conversation

@blove

@blove blove commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Adopts the software factory's draft PR #1065 (work order wo-9409eea3d48a98ab) for #1063.

The first commit is the factory's, cherry-picked unchanged: the candidate a person approved as bundle
558e485fc83297ac94a0ebbf0cbe57b9b2e7b4ebe124ea6b5e0d9268a0cccb47 (receipt rc-68dd644b-0d6e-47f6-89a2-affef5f5d7d3, verifier docker:eb32c1df43bbdc4cb05adaeee0d9c9d4201764d11390a90642fc2c853f1c0508), verified in the target's image at the pin and re-verified at approval.

The second commit is the adopter's: a changeset (.changeset/factory-wo-9409eea3d48a98ab.md) and the factory's independent check, promoted to packages/cli/test/serve-port.test.ts (translated from node:test; this PR's CI is its first run).

Closes #1063

b4dotrun Bot and others added 2 commits October 21, 2026 14:56
…et.listen` and crashes `b4 start`

Refs #1063

Work order wo-9409eea3d48a98ab, bundle 558e485fc83297ac94a0ebbf0cbe57b9b2e7b4ebe124ea6b5e0d9268a0cccb47.
…` and crashes `b4 start` (#1063)

Adopted from the factory's draft PR #1065 (work order wo-9409eea3d48a98ab): the delivered commit, cherry-picked, plus a changeset (.changeset/factory-wo-9409eea3d48a98ab.md) and the factory's independent check as packages/cli/test/serve-port.test.ts.

Closes #1063
@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
b4-run Ready Ready Preview Oct 21, 2026 9:57pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
navlog-web Ignored Ignored Preview Oct 21, 2026 9:57pm UTC

Request Review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated approval for repository bookkeeping. The maintainer reviews and merges this PR.

@blove
blove merged commit 301bc87 into main Oct 21, 2026
31 checks passed
@blove
blove deleted the adopt/wo-9409eea3d48a98ab branch October 21, 2026 22:23
blove added a commit that referenced this pull request Oct 27, 2026
…dy given, adopt's stale comment, up survives SIGHUP (#1113)

- review --approve --digest that finds the row past the gate answers with the
  intake approval the journal holds for that digest (ok, received, "Intake
  approved", the row as it reads now) instead of "Nothing to review"; a
  `run` following the work order dispatches the moment the approval lands
  (wo-9409eea3d48a98ab, 2026-10-21).
- adopt drops a contiguous `//` run directly above the rewritten built-module
  import when it mentions dist, built or process.cwd (#1066 kept one).
- up ignores SIGHUP, so a terminal that goes away no longer stops the
  factory; `factory down` stops it by the pid <state>/up.lock records (one
  SIGTERM, up's ordered stop) and waits for it to exit.

Co-authored-by: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – b4-run — e2263159 Deployed Oct 21, 2026 by vercel[bot]
vercel-preview — e2263159 Deployed Oct 21, 2026 by blove via vercel-native #3106
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.

cli: a non-integer or out-of-range PORT env var reaches net.listen and crashes b4 start

1 participant