feat: Added no build source deploys for NodeJS applications#193
Merged
shruti-mantri merged 11 commits intoJan 13, 2026
Merged
Conversation
added 7 commits
December 18, 2025 19:57
6d28345 to
2121ae9
Compare
b057029 to
ce5702b
Compare
ce5702b to
f014b0d
Compare
shruti-mantri
approved these changes
Jan 12, 2026
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.
Implements Feature #192
This PR introduces logic to deploy source artifacts directly to Cloud Run, bypassing the Cloud Build step.
How it works
Instead of building a container image from source, we upload a pre-packaged archive of the application directly to a Cloud Storage bucket. Cloud Run then mounts this archive and executes it on top of a specified base image. This approach results in dramatically faster deployment times.
Limitations & Conditions
The direct source deployment (skipping Cloud Build) automatically triggers only under these specific conditions:
Dockerfile. If aDockerfileis present, we assume custom build logic is required and fall back to Cloud Build.package.jsonmust contain a validstartscript (deploying will fail or fall back if missing).nodejs22as the default base image for the runtime.Other limitations of source deployed applications without build are described here.
Deployment Performance Comparison
Tested with a simple hello-world app
Timelines
With Cloud Build (130s)


Direct Source Deployment (24.24s)
Manual Testing:
Performed manual testing of application deployments with multiple dependencies, ensuring clean and efficient installation and the deployments were successful.