feat: push speed optimizations#1189
Merged
jescalada merged 9 commits intofinos:mainfrom Sep 19, 2025
Merged
Conversation
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
✅ Deploy Preview for endearing-brigadeiros-63f9d0 canceled.
|
pullRemote optimizations
21 tasks
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1189 +/- ##
==========================================
- Coverage 83.74% 83.72% -0.03%
==========================================
Files 67 67
Lines 2892 2888 -4
Branches 366 366
==========================================
- Hits 2422 2418 -4
Misses 410 410
Partials 60 60 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
coopernetes
approved these changes
Sep 16, 2025
Contributor
coopernetes
left a comment
There was a problem hiding this comment.
LGTM, one minor point on the singleBranch arg.
This was referenced Dec 3, 2025
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.
Fixes #985. The profiling screenshots are in the issue discussion.
This PR reduces push times by around 50% by using the
depth: 1andsingleBranch: trueoptions inpullRemotewhen cloning. It also adds thestream: trueoption to theexpress-http-proxyconfiguration, which should help with larger pushes.I've experimented with other optimizations to the chain actions but it seems that the majority of time is spent cloning the target repository (and therefore limited by download speeds).
I'd say storing the target repository so we only clone the entire repo once is the best option, the tradeoff being that we might need to store several GB of data for larger repos. Perhaps we could have a config option to toggle this so admins can do as they see fit?