Improve Codespaces startup and PG bootstrap flow#95
Merged
Conversation
db7e986 to
95879a2
Compare
95879a2 to
0484cf6
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.
Summary
scripts/pg-common.shfor pgrx environment resolution, cluster bootstrap, role compatibility, and extension checks.scripts/pg-start.shto use shared helpers, support--skip-build/--pg-version, and align empty-data-dir initialization with Codespaces bootstrap behavior..devcontainer/onCreateCommand.shto prepare and verify the local pgrx PostgreSQL cluster during prebuild..devcontainer/postCreateCommand.shinto a passive status-and-guidance script that avoids slow build/start actions on Codespace open.README.mdanddocs/CODESPACES_PREBUILDS.mdto match current prebuild/post-create behavior and GH_PAT handling.scripts/measure-memory.shfor explicit admin-role checks in automation paths.Validation
bash -non updated shell scripts.devcontainer/postCreateCommand.shscripts/pg-start.sh