[codex] fix pi home archive restore - #127
Merged
Merged
Conversation
|
Visit the preview URL for this PR (updated for commit fa5af94): https://pi-agents-cloud--pr127-codex-fix-pi-home-ar-5rq2h0nj.web.app (expires Wed, 08 Jul 2026 01:58:20 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: ad3a3866d5dcd316f5eca68b23f0ce7295063677 |
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
$PI_CODING_AGENT_DIR/npm/node_modulesfrom the persisted$HOMEarchive targetRoot Cause
pi-basicand related Pi images bake packages such aspi-mcp-adapterinto the Pi agent npm tree. Startup then restored the persisted/rootarchive over that tree before Express started listening. GNU tar could fail on.pi/agent/npm/node_modules/.bin, causing Cloud Run to report that the container never listened onPORT=8080.Validation
npm --prefix session-runner testnpm --prefix session-runner run lintnpm run docs:checkBrowser QA intentionally skipped at user request; user will QA.
Deployment
FIREBASE_CLI_DISABLE_UPDATE_NOTIFIER=true firebase deploy --only functions --project pi-agents-cloudsucceeded. UpdatedapiandreapIdleSessions.gcloud builds submit session-runner --project pi-agents-cloud --config session-runner/cloudbuild.pi-basic.yamlsucceeded. Pushedsession-runner:pi-basicdigestsha256:5e65f13ed1d2195002391c27c539cfe34b54bef9294e47526ca70656300e7ce0.Closes #126