Skip to content

Only async package caching needs prod install#2151

Open
manuelkoester wants to merge 4 commits into
AcademySoftwareFoundation:mainfrom
manuelkoester:bugfix/only_async_package_cache_needs_prod_install
Open

Only async package caching needs prod install#2151
manuelkoester wants to merge 4 commits into
AcademySoftwareFoundation:mainfrom
manuelkoester:bugfix/only_async_package_cache_needs_prod_install

Conversation

@manuelkoester

Copy link
Copy Markdown

Hey!

Basically the same as #2136, but does the same check in another needed location & adds some tests!

Ref #1500

Cheers,
Manuel

Signed-off-by: Manuel Köster <manuelkoestercg@gmail.com>
Signed-off-by: Manuel Köster <manuelkoestercg@gmail.com>
@manuelkoester
manuelkoester requested a review from a team as a code owner July 9, 2026 10:11
test_add_variants_sync cached versioned-3.0 but never cleaned up,
causing the subsequent test_cache_variant to find it already cached
and fail with VARIANT_FOUND instead of VARIANT_CREATED.

Signed-off-by: Manuel Köster <manuelkoestercg@gmail.com>
@manuelkoester
manuelkoester force-pushed the bugfix/only_async_package_cache_needs_prod_install branch from c5fdc5c to e94cb6c Compare July 9, 2026 20:17
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.42%. Comparing base (6654418) to head (a0225db).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2151      +/-   ##
==========================================
+ Coverage   61.32%   61.42%   +0.09%     
==========================================
  Files         164      164              
  Lines       20568    20568              
  Branches     3575     3575              
==========================================
+ Hits        12613    12633      +20     
+ Misses       7084     7067      -17     
+ Partials      871      868       -3     

☔ 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.

@maxnbk maxnbk added this to the Next milestone Jul 17, 2026
@maxnbk

maxnbk commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

I've reviewed this and found no substantive issues with the logic and exposed bits and bobs. I'm approving this and put it into the "Next" release milestone. @manuelkoester I'm not bothered by the one-liner coverage gap because the value of the fix supercedes the coverage stat, but if you want to find an easy way to cover it, I wouldn't complain.

Signed-off-by: Manuel Köster <manuelkoestercg@gmail.com>
@manuelkoester

Copy link
Copy Markdown
Author

Cheers for the review! Added the ~same tests for the other line 🫡

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.

2 participants