Skip to content

providers/rac: fix signals and Endpoint caching (cherry-pick #13529)#13531

Merged
rissson merged 1 commit intoversion-2025.2from
cherry-pick-e3c519-version-2025.2
Mar 14, 2025
Merged

providers/rac: fix signals and Endpoint caching (cherry-pick #13529)#13531
rissson merged 1 commit intoversion-2025.2from
cherry-pick-e3c519-version-2025.2

Conversation

@gcp-cherry-pick-bot
Copy link
Contributor

Cherry-picked providers/rac: fix signals and Endpoint caching (#13529)

  • fix RAC signals

And possibly other things by not using ManagedAppConfig. This was
broken by 2128e7f.

  • invalidate Endpoint cache on update or delete

This will result in more invalidations, but it will also fix some
invalid Endpoint instances from showing up in Endpoint lists.

Since an Endpoint can be tied to a Policy, some invalid results can
still show up if the result of the Policy changes (either because the
Policy itself changes or because data checked by that Policy changes).

Even with those potentially invalid results, I believe the caching
itself is advantageous as long as the API provides an option for
superuser_full_list.

* fix RAC signals

And possibly other things by not using `ManagedAppConfig`. This was
broken by 2128e7f.

* invalidate Endpoint cache on update or delete

This will result in more invalidations, but it will also fix some
invalid Endpoint instances from showing up in Endpoint lists.

Since an Endpoint can be tied to a Policy, some invalid results can
still show up if the result of the Policy changes (either because the
Policy itself changes or because data checked by that Policy changes).

Even with those potentially invalid results, I believe the caching
itself is advantageous as long as the API provides an option for
`superuser_full_list`.
@gcp-cherry-pick-bot gcp-cherry-pick-bot bot requested a review from a team as a code owner March 14, 2025 15:18
@gergosimonyi gergosimonyi enabled auto-merge (squash) March 14, 2025 15:18
@netlify
Copy link

netlify bot commented Mar 14, 2025

Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit ebbd244
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/67d448d8ff7bdd000816a7a0
😎 Deploy Preview https://deploy-preview-13531--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@codecov
Copy link

codecov bot commented Mar 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.66%. Comparing base (eef233f) to head (ebbd244).
Report is 1 commits behind head on version-2025.2.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                Coverage Diff                 @@
##           version-2025.2   #13531      +/-   ##
==================================================
- Coverage           92.73%   92.66%   -0.08%     
==================================================
  Files                 793      793              
  Lines               40299    40298       -1     
==================================================
- Hits                37372    37342      -30     
- Misses               2927     2956      +29     
Flag Coverage Δ
e2e 47.99% <100.00%> (-0.10%) ⬇️
integration 24.32% <100.00%> (+0.23%) ⬆️
unit 90.44% <100.00%> (-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.

@rissson rissson disabled auto-merge March 14, 2025 15:38
@rissson rissson merged commit 8a668af into version-2025.2 Mar 14, 2025
80 of 85 checks passed
@rissson rissson deleted the cherry-pick-e3c519-version-2025.2 branch March 14, 2025 15:38
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