Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Comments

Replace torngit_cache with the regular one#598

Merged
Swatinem merged 1 commit intomainfrom
swatinem/better-torngitcache
Apr 3, 2025
Merged

Replace torngit_cache with the regular one#598
Swatinem merged 1 commit intomainfrom
swatinem/better-torngitcache

Conversation

@Swatinem
Copy link
Contributor

@Swatinem Swatinem commented Apr 2, 2025

The torngit_cache was never active, as our production config has never enabled the vcs_cache.enabled flag.

Apart from that, the cache was used for status checks and check suites, which is something that we actively poll for changes, as it is changing as a result of CI runs.

In contrast, commits, diffs and comparisons are immutable, and a good target to cache, so lets do that.


Based on #597

@Swatinem Swatinem requested a review from a team April 2, 2025 12:21
@Swatinem Swatinem self-assigned this Apr 2, 2025
@codecov-notifications
Copy link

codecov-notifications bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codecov
Copy link

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.59%. Comparing base (ece4366) to head (b0cafe8).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #598      +/-   ##
==========================================
- Coverage   88.64%   88.59%   -0.05%     
==========================================
  Files         464      463       -1     
  Lines       12839    12784      -55     
  Branches     1464     1458       -6     
==========================================
- Hits        11381    11326      -55     
  Misses       1153     1153              
  Partials      305      305              
Flag Coverage Δ
shared-docker-uploader 88.59% <100.00%> (-0.05%) ⬇️

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

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

@codspeed-hq
Copy link

codspeed-hq bot commented Apr 2, 2025

CodSpeed Performance Report

Merging #598 will not alter performance

Comparing swatinem/better-torngitcache (b0cafe8) with main (ece4366)

Summary

✅ 9 untouched benchmarks

Base automatically changed from swatinem/cache-instance to main April 2, 2025 14:55
The `torngit_cache` was never active, as our production config has never enabled the `vcs_cache.enabled` flag.

Apart from that, the cache was used for status checks and check suites, which is something that we actively poll for changes, as it is changing as a result of CI runs.

In contrast, commits, diffs and comparisons are immutable, and a good target to cache, so lets do that.
@Swatinem Swatinem force-pushed the swatinem/better-torngitcache branch from 113cb1d to b0cafe8 Compare April 2, 2025 14:57
@Swatinem Swatinem marked this pull request as ready for review April 2, 2025 15:01
@Swatinem Swatinem added this pull request to the merge queue Apr 3, 2025
Merged via the queue into main with commit 81d9bd8 Apr 3, 2025
10 of 12 checks passed
@Swatinem Swatinem deleted the swatinem/better-torngitcache branch April 3, 2025 10:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants