- Notifications
You must be signed in to change notification settings - Fork 1.4k
🌱 Add items to cache immediately after apply #12877
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 Add items to cache immediately after apply #12877
Conversation
5e9c698 to 83a129c Compare 83a129c to 3f0d275 Compare 2355648 to f8f74c5 Compare f8f74c5 to 6b2932e Compare This improves the SSA helper by avoding a second no-op patch just to add items to the cache. Instead we calculate the new request identifier and add to the cache directly. Signed-off-by: Lennart Jern <lennart.jern@est.tech>
6b2932e to c0c8c9a Compare | Hmm race detected. I wonder if that could be a genuine issue from the code change 🤔 |
| Should be unrelated to your PR . I'll take a closer look during review. Also very likely the race is just in test code (fake client) |
| @lentzi90 Thank you very much. Last nit. I also tested it with Tilt and it works perfectly |
Signed-off-by: Lennart Jern <lennart.jern@est.tech>
c0c8c9a to 5d3943e Compare | Thanks! Fixed the last nit. Do you want me to squash the commits? I kept the changes to |
| Separate commits is fine. Thank you! /lgtm |
| LGTM label has been added. DetailsGit tree hash: 44b6fc3887fa81c6adc276abef888b2632edac3b |
| Thanks for this improvement (and thanks @sbueringer for helping in getting this PR is such a good state)! |
| [APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Add items to cache immediately after apply to avoid extra no-op patch just for caching.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Part of #12291