Skip to content

feat: add asynchronous task for rebuilding environment caches #5382

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matthewelwell
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Update the logic to rebuild caches used by Environment.get_from_cache() instead of just clearing them when an update is made to an environment.

How did you test this code?

Updated existing tests.

Copy link

vercel bot commented Apr 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Apr 24, 2025 3:08pm
flagsmith-frontend-preview ⬜️ Ignored (Inspect) Apr 24, 2025 3:08pm
flagsmith-frontend-staging ⬜️ Ignored (Inspect) Apr 24, 2025 3:08pm

@github-actions github-actions bot added api Issue related to the REST API feature New feature or request labels Apr 24, 2025
Copy link
Contributor

github-actions bot commented Apr 24, 2025

Uffizzi Ephemeral Environment deployment-63108

☁️ https://app.uffizzi.com/github.com/Flagsmith/flagsmith/pull/5382

📄 View Application Logs etc.

What is Uffizzi? Learn more!

Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.62%. Comparing base (8dc92c3) to head (85b45a8).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5382   +/-   ##
=======================================
  Coverage   97.61%   97.62%           
=======================================
  Files        1237     1237           
  Lines       42975    42993   +18     
=======================================
+ Hits        41952    41970   +18     
  Misses       1023     1023           

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant