fix(forge): writable /home/forge volume + specify-cli install fix - #39
Merged
Conversation
…li install as root - docker-compose: add forge-home:/home/forge volume (was read-only, broke uv cache and ~/.supabase) - forge-entrypoint: install specify-cli as root with UV_CACHE_DIR=/tmp, UV_TOOL_BIN_DIR=/usr/local/bin (su - forge required a password) - infra-regression: assert forge-home volume + specify install flags
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.
Problema
O primeiro deploy instalou uv/vercel/supabase, mas o specify-cli não instalou e o supabase quebrava no worker:
su - forgeexigia senha (forge tem senha aleatória) → entrypoint falhava silencioso (|| true)/home/forgeera read-only (imagemread_only: true) →~/.cache/uve~/.supabasenão podiam ser criadosCorreções
forge-home:/home/forge(writable, mesmo padrão de forge-workspace/forge-codex-home)UV_CACHE_DIR=/tmp/uv-cacheeUV_TOOL_BIN_DIR=/usr/local/binVerificação local
infra-regression.sh→ all assertions passed/home/forgewritable: uv cache,~/.supabase, e tool dirs do forge funcionamDeploy
Após merge: workflow_dispatch pra rebuild + deploy OVH.