Skip to content

fix: build against start-sdk 4.1.0 so unread stderr can't block Frigate; 1.6.1:2 → 1.6.1:3 - #7

Merged
MattDHill merged 1 commit into
mainfrom
fix/sdk-4.1-stderr
Nov 12, 2026
Merged

MattDHill merged 1 commit into
mainfrom
fix/sdk-4.1-stderr

Conversation

@MattDHill

Copy link
Copy Markdown
Member

The primary daemon sets only onStdout. start-sdk 3.x pipes every output stream when either callback is set but reads only the ones with a callback, so Frigate's stderr is an unread socket: once Frigate or anything it spawns writes about 80 KB there, the next write blocks and the daemon hangs. start-sdk 4.1.0 (Start9Labs/start-technologies#4645) inherits any stream without a callback. Same defect as Start9Labs/jellyfin-startos#48, where it stalled library scans.

  • Bump @start9labs/start-sdk 3.0.3 → 4.1.0. Its default osVersion is 0.4.2, so this release requires StartOS 0.4.2; the release notes say so in every locale.
  • SDK 4 moves addSsl.auth and addSsl.addXForwardedHeaders under proxy, which is off by default for a non-HTTP binding, so both are dropped from the Electrum binding. Same shape as fulcrum-startos.
  • Refresh the bitcoin-core-startos, electrs-startos and fulcrum-startos lockfile pins (and transitive tor-startos) to their current next commits; the old ones don't typecheck against 4.1.0. dependencies.ts imports bitcoin-core's autoconfig as a value, so its current next/31.x code lands in the bundle.
  • 1.6.1:2 is on community-prod, so this is 1.6.1:3.

tsc, prettier and the JS bundle build pass; not installed on a box.

🤖 Generated with Claude Code

…te; 1.6.1:2 → 1.6.1:3

The daemon sets only onStdout. start-sdk 3.x pipes stderr anyway and never
reads it, so once Frigate or a child fills that socket its next stderr write
blocks forever. 4.1.0 inherits any stream without a callback.

SDK 4 moves addSsl's auth and addXForwardedHeaders under proxy, which is off by
default for a non-HTTP binding, so both go from interfaces.ts. Sibling pins
are refreshed to their current next commits, which the 4.1.0 types require.
start-sdk 4.1.0 defaults osVersion to 0.4.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed the SDK and lockfile changes, daemon output handling, Electrum binding, and version/release notes. SDK 4.1.0 inherits stderr when only onStdout is supplied, and omitting proxy preserves raw Electrum TCP with TLS termination. The SDK's manifest default enforces StartOS 0.4.2 as documented. No correctness regressions found.

Merges cleanly with main; all five current CI checks passed. Code review only; no local builds or tests run.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

@MattDHill
MattDHill merged commit e8b8c4d into main Nov 12, 2026
5 checks passed
@MattDHill
MattDHill deleted the fix/sdk-4.1-stderr branch November 12, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants