Issue 115: sync uploaded files to active runners - #128
Merged
Conversation
|
Visit the preview URL for this PR (updated for commit 79b74e1): https://pi-agents-cloud--pr128-115-uploaded-files-t-1c1crdfd.web.app (expires Wed, 08 Jul 2026 02:18:28 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
POST /api/workspaces/{workspaceId}/sync-filesroute that asks running cloud sessions to sync workspace files from Cloud Storage into their live/workspacedirectory.POST /workspace/sync-downendpoint used by Functions after file-browser uploads and editor saves.Closes #115
Tests
npm --prefix functions testnpm --prefix session-runner run lintnpm --prefix session-runner testnpm run test:frontendnpm run docs:checknpm run buildnpm run checkDeploy / Runtime Notes
firebase deploy --only functions --project pi-agents-cloud;apiupdated to revisionapi-00122-nub.session-runner/server.js; affected runner images need rebuilt revisions, and existing Cloud Run sessions need restart/recreation before they expose/workspace/sync-down.QA