Skip to content

ci: improve setup to do a single build - #14202

Closed
shwstppr wants to merge 1 commit into
apache:4.22from
shapeblue:improve-ci-gha
Closed

shwstppr wants to merge 1 commit into
apache:4.22from
shapeblue:improve-ci-gha

Conversation

@shwstppr

Copy link
Copy Markdown
Contributor

Description

Earlier CI workflow was doing the build as many times as the number of
tests set. If the build fails, it is kind of not an optimal use of resources.
This change allows building once and then sharing the built artifacts to
all test runners.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Earlier CI workflow was doing the build as many times as the number of
tests set. If the build fails, it is kind of not optimal use os
resources.
This change allows building once and then sharing the built artifacts to
all test runners.

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr shwstppr changed the title Improve ci gha ci: improve setup to do a single build Sep 18, 2026
@codecov

codecov Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.98%. Comparing base (d0d49bc) to head (e9bcfbf).
⚠️ Report is 9 commits behind head on 4.22.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.22   #14202      +/-   ##
============================================
+ Coverage     17.93%   17.98%   +0.05%     
- Complexity    16143    16191      +48     
============================================
  Files          5928     5930       +2     
  Lines        535174   535615     +441     
  Branches      65494    65582      +88     
============================================
+ Hits          95981    96344     +363     
- Misses       428266   428298      +32     
- Partials      10927    10973      +46     
Flag Coverage Δ
uitests 4.02% <ø> (ø)
unittests 19.06% <ø> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nvazquez nvazquez added this to the 4.22.2 milestone Sep 18, 2026
@weizhouapache

Copy link
Copy Markdown
Member

@shwstppr
is this similar to #12774 ?

@shwstppr shwstppr closed this Sep 18, 2026
@weizhouapache

Copy link
Copy Markdown
Member

@shwstppr
we could backport #12774 to 4.22, what do you think ?

@shwstppr

Copy link
Copy Markdown
Contributor Author

@weizhouapache I guess it would make sense. But sorry I'm not volunteering for that right now 🙂
I somehow missed that PR altogether.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants