Skip to content

fix(coil): verify gate must not require unreachable Bun-runtime imports - #107

Merged
radroid merged 1 commit into
mainfrom
coil/verify-bun-runtime-only
Aug 14, 2026
Merged

fix(coil): verify gate must not require unreachable Bun-runtime imports#107
radroid merged 1 commit into
mainfrom
coil/verify-bun-runtime-only

Conversation

@radroid

@radroid radroid commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Follow-up to #106 (issue #102). The now-sidecar-aware gate flagged @effect/platform-bun and @effect/sql-sqlite-bun as unresolvable on Windows (release run 31839839479). Both are dynamic imports behind Bun-runtime detection (typeof Bun !== \"undefined\" in server.ts, process.versions.bun in persistence/Layers/Sqlite.ts); the shipped app always runs the server under Node via ELECTRON_RUN_AS_NODE, and upstream's Windows sidecar deliberately omits both. Documented allowlist + pinning test (scripts suite 319/319 with env -u ELECTRON_RUN_AS_NODE).

🤖 Generated with Claude Code

…hipped app cannot reach

The sidecar-aware gate (#102, PR #106) surfaced two more phantom
requirements on Windows: @effect/platform-bun and @effect/sql-sqlite-bun,
imported by the server bundle only behind Bun-runtime detection. The
shipped app always runs the server under Node (ELECTRON_RUN_AS_NODE), so
the branch is unreachable, and upstream's Windows sidecar deliberately
stages neither — their absence broke release run 31839839479 without
breaking anything real. The macOS artifact only carries them because its
staging installs the full production dependency set.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@radroid
radroid merged commit 96a78da into main Aug 14, 2026
1 of 2 checks passed
@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 28aabb5c-6d30-4f44-ae89-324a90c39ebb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@radroid
radroid deleted the coil/verify-bun-runtime-only branch August 14, 2026 21:03
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