Skip to content

chore: revert cache stuff#19108

Merged
dashrews78 merged 2 commits intomasterfrom
dashrews/revert-cache-stuff
Feb 19, 2026
Merged

chore: revert cache stuff#19108
dashrews78 merged 2 commits intomasterfrom
dashrews/revert-cache-stuff

Conversation

@dashrews78
Copy link
Copy Markdown
Contributor

Description

Reverts #19069 as it broke generated files checks on master.

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

change me!

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • The inline comments with precise cache sizes (e.g., ~2,000 MB) are likely to drift over time; consider either removing the size details or replacing them with a more durable explanation (e.g., that saving caches here interferes with generated file checks) so the rationale stays accurate.
  • You now repeat with: save: false for cache-go-dependencies in several jobs; if this is intended to be the default behavior, consider moving the save: false logic into the composite action itself (or using YAML anchors) to avoid duplication and ensure future jobs inherit the same behavior.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The inline comments with precise cache sizes (e.g., `~2,000 MB`) are likely to drift over time; consider either removing the size details or replacing them with a more durable explanation (e.g., that saving caches here interferes with generated file checks) so the rationale stays accurate.
- You now repeat `with: save: false` for `cache-go-dependencies` in several jobs; if this is intended to be the default behavior, consider moving the `save: false` logic into the composite action itself (or using YAML anchors) to avoid duplication and ensure future jobs inherit the same behavior.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@dashrews78 dashrews78 changed the title chore: evert cache stuff chore: revert cache stuff Feb 19, 2026
@dashrews78 dashrews78 enabled auto-merge (squash) February 19, 2026 12:19
@rhacs-bot
Copy link
Copy Markdown
Contributor

Images are ready for the commit at a748e42.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-150-ga748e42ff2.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.52%. Comparing base (7dff17d) to head (a748e42).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19108      +/-   ##
==========================================
- Coverage   49.52%   49.52%   -0.01%     
==========================================
  Files        2672     2672              
  Lines      201665   201665              
==========================================
- Hits        99874    99870       -4     
- Misses      94333    94336       +3     
- Partials     7458     7459       +1     
Flag Coverage Δ
go-unit-tests 49.52% <ø> (-0.01%) ⬇️

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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dashrews78 dashrews78 merged commit 18b8c86 into master Feb 19, 2026
93 of 94 checks passed
@dashrews78 dashrews78 deleted the dashrews/revert-cache-stuff branch February 19, 2026 14:14
davdhacs added a commit that referenced this pull request Feb 19, 2026
…files

PR #19069 removed all save: false, but check-generated-files
modifies the working tree (regenerates protos, removes mocks)
which breaks hashFiles('**/go.sum') in the GOMODCACHE post-step,
causing cache save failures. Reverted in #19108.

Re-enable saves for all other jobs (unit-tests, style-check,
scanner-db-integration-tests) while keeping save: false only for
check-generated-files where the hashFiles failure occurs.

Partially generated by AI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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