fix: harden embedded Postgres install and recovery on Linux#8
Merged
rabsef-bicrym merged 3 commits intodevfrom Feb 27, 2026
Merged
fix: harden embedded Postgres install and recovery on Linux#8rabsef-bicrym merged 3 commits intodevfrom
rabsef-bicrym merged 3 commits intodevfrom
Conversation
- Preserve library symlink targets during embedded Postgres extraction - Validate required binaries and shared libraries before reusing an install - Repair invalid installs automatically and improve shared-library failure guidance
- map uname x86_64 -> x64 and aarch64 -> arm64 to match build artifact names - copy from packages/voltcode/dist, which is where build.ts writes outputs when run from repo root - ensure ~/.voltcode/bin exists before copying
be8c027 to
82ff808
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What
This PR fixes Volt startup failures on Arch Linux by hardening embedded Postgres installation and recovery. It resolves broken shared-library link states that could cause
initdbto fail with missing library errors.Why
Issue #7 reports a startup crash on Arch with shared library load failures during embedded Postgres initialization. The install path could accept broken library link states as valid and then repeatedly fail on subsequent launches.
Changes
Testing
bun run --cwd packages/voltcode typecheckCloses #7.