Repository navigation
Fix/copilot concurrency limit - #7730
Open
ApfelPresse wants to merge 6 commits into
Open
ApfelPresse wants to merge 6 commits into
ApfelPresse wants to merge 6 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7730 +/- ##
==========================================
+ Coverage 56.50% 57.33% +0.82%
==========================================
Files 772 931 +159
Lines 52285 58361 +6076
==========================================
+ Hits 29546 33463 +3917
- Misses 19974 21837 +1863
- Partials 2765 3061 +296
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: kev <12345678+ApfelPresse@users.noreply.github.com>
Signed-off-by: kev <12345678+ApfelPresse@users.noreply.github.com>
Signed-off-by: kev <12345678+ApfelPresse@users.noreply.github.com>
Sovietaced
force-pushed
the
fix/copilot-concurrency-limit
branch
from
August 4, 2026 19:55
5b1770d to
a365dc1
Compare
Member
|
Is it ready for review? |
Author
Thanks for checking in! I havent had much time to work on this recently. The code itself is pretty much finished but I still wanted to add a few more tests to improve the coverage since the codecov report was still failing. |
Signed-off-by: kev <12345678+ApfelPresse@users.noreply.github.com>
ApfelPresse
marked this pull request as ready for review
September 21, 2026 13:18
This branch has not been deployed
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.
Why are the changes needed?
Before this change multipart upload/download could start one goroutine per file.
With many small files, this created too much parallel work, drove CPU usage up, and in some cases caused jobs to fail.
This PR adds a configurable concurrency limit, so the number of parallel transfers is capped (
GOMAXPROCS * concurrency-per-cpu, with a maximum limit).That makes behavior more stable in Kubernetes/container environments while still allowing tuning for throughput.
What changes were proposed in this pull request?
--concurrency-per-cpu(default:data.DefaultConcurrencyPerCPU)GOMAXPROCS * concurrency-per-cpu, bounded byMaxConcurrencyDownloadFileFromHTTPnow returns an error for non-2xx responsesHow was this patch tested?
sanitizeConcurrencyPerCPUgetConcurrencyacquireSemaphore(including context cancellation)Labels
fixed
changed
Setup process
Screenshots
Check all the applicable boxes
Docs link
Flytecopilot readme.md file