Skip to content

Keep the installed-package smoke on embedded storage despite ambient CI variables - #48

Merged
Phoenixrr2113 merged 1 commit into
mainfrom
batch-g-concurrent-boot
Aug 24, 2026
Merged

Keep the installed-package smoke on embedded storage despite ambient CI variables#48
Phoenixrr2113 merged 1 commit into
mainfrom
batch-g-concurrent-boot

Conversation

@Phoenixrr2113

Copy link
Copy Markdown
Owner

What changed

The bootstrap release run failed twice at "concurrent binaries did not share exactly one embedded server socket". Root cause (proven with the pinned CI service image and the exact job environment): the Validate job exports FALKORDB_HOST/PORT for its external-storage lanes, the smoke passed the ambient environment into both installed binaries, and driver selection prefers a remote host whenever those are set, so both processes used the CI's remote FalkorDB and the embedded-socket count was deterministically zero. Not an ownership bug: a 60-iteration simultaneous cold-boot stress harness before and after the fix (120 total) showed exactly one lease, one socket, and one server every time, with both binaries winning the race at different times (58/2 split).

The smoke now resolves platform embedded-capability with the same rules as the graph client, pins CODEGRAPH_DRIVER=falkordblite, and strips inherited FALKORDB_* variables on embedded-capable platforms, keeping the one-socket assertion fully active; external-only platforms keep their external path without a false embedded claim. Also fixed: the script's direct-execution guard now canonicalizes paths with realpathSync (a macOS /var vs /private/var alias could make the copied smoke silently not execute), covered by a symlink-launch process test.

Verification

Red-first on both defects; release-script suite 24/24; embedded ownership integration suite 6/6; typecheck 20/20; forced build 21/21; the exact CI-shaped gate (FALKORDB_HOST/PORT set, service on 16379) now passes end-to-end with the identical tarball SHA a236a1fa9e29db0bbd56d1b6bdcf4ae33d18034d59289a873bd8841f23c95ff6.

🤖 Generated with Claude Code

…CI variables

The release job exports FALKORDB_HOST and FALKORDB_PORT for its external
lanes, and the smoke inherited them, silently flipping both installed
binaries to remote storage while the assertion counted embedded sockets.
The smoke now pins the embedded driver on capable platforms and scrubs
the ambient variables, keeping the exact one-socket ownership assertion.
A symlink-launch regression also guards the direct-execution path check
that macOS path aliasing could defeat. The ownership lease itself held
120 simultaneous cold-boot stress iterations without a single violation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
v0-landing-page-build Ready Ready Preview, v0 Aug 24, 2026 12:42pm

@Phoenixrr2113
Phoenixrr2113 merged commit f6f55f9 into main Aug 24, 2026
12 checks passed
@Phoenixrr2113
Phoenixrr2113 deleted the batch-g-concurrent-boot branch August 24, 2026 12:46
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