Skip to content

Parallel upload - #737

Merged
jkloetzke merged 2 commits into
BobBuildTool:masterfrom
jkloetzke:parallel-upload
Nov 9, 2026
Merged

jkloetzke merged 2 commits into
BobBuildTool:masterfrom
jkloetzke:parallel-upload

Conversation

@jkloetzke

Copy link
Copy Markdown
Member

Upload packages in parallel to dependent packages.

In parallel builds the UPLOAD of a package had to finish before any
dependent step could start. Run the upload as a separate task instead so
that the build can proceed. The upload still occupies a job slot to
honour the configured number of jobs. Pending uploads are waited for at
the end of the build, even if the build failed or is restarted, so that
successfully built packages are not lost. Sequential builds (-j1) keep
uploading inline.

Shared packages are now installed before the upload. The installation
may move the workspace to the shared location, which must not race with
a running upload. The upload then reads the package from the shared
location.

Fixes BobBuildTool#695.
The upload command of the archive waits until the dependent package was
built. This only succeeds if the upload runs in the background. Also
check that failing background uploads still fail the build.
@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.34%. Comparing base (10d7962) to head (06aca85).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #737      +/-   ##
==========================================
+ Coverage   90.31%   90.34%   +0.02%     
==========================================
  Files          50       50              
  Lines       17217    17238      +21     
==========================================
+ Hits        15550    15573      +23     
+ Misses       1667     1665       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jkloetzke
jkloetzke merged commit b3e834b into BobBuildTool:master Nov 9, 2026
11 checks passed
@jkloetzke
jkloetzke deleted the parallel-upload branch November 9, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant