feat: enable feature versioning for environments in newly created projects
Changes
Enable feature versioning for environments in newly created projects (based on a flag).
How did you test this code?
TODO
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Skipped Deployments
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| docs | ⬜️ Ignored (Inspect) | Visit Preview | Jul 8, 2025 11:32am | |
| flagsmith-frontend-preview | ⬜️ Ignored (Inspect) | Visit Preview | Jul 8, 2025 11:32am | |
| flagsmith-frontend-staging | ⬜️ Ignored (Inspect) | Visit Preview | Jul 8, 2025 11:32am |
Uffizzi Ephemeral Environment deployment-60945
:cloud: https://app.uffizzi.com/github.com/Flagsmith/flagsmith/pull/5108
:page_facing_up: View Application Logs etc.
What is Uffizzi? Learn more!
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.77%. Comparing base (
a6a5b06) to head (5ae9249). Report is 1 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #5108 +/- ##
=======================================
Coverage 97.77% 97.77%
=======================================
Files 1255 1255
Lines 44317 44349 +32
=======================================
+ Hits 43331 43363 +32
Misses 986 986
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Ok, I think this PR is ready for review now @khvn26 .
I've made a few simplifications and I think it's a lot clearer now what the purpose of the PR is. I've removed some of the code which was resolving unrelated bad test code to another PR, and created a separate issue in the flagsmith-python-client repository to handle improving our testing capabilities.
Docker builds report
| Image | Build Status | Security report |
|---|---|---|
ghcr.io/flagsmith/flagsmith-e2e:pr-5108 |
Finished :white_check_mark: | Skipped |
ghcr.io/flagsmith/flagsmith-api-test:pr-5108 |
Finished :white_check_mark: | Skipped |
ghcr.io/flagsmith/flagsmith-frontend:pr-5108 |
Finished :white_check_mark: | Results :white_check_mark: |
ghcr.io/flagsmith/flagsmith-api:pr-5108 |
Finished :white_check_mark: | Results :white_check_mark: |
ghcr.io/flagsmith/flagsmith:pr-5108 |
Finished :white_check_mark: | Results :white_check_mark: |
ghcr.io/flagsmith/flagsmith-private-cloud:pr-5108 |
Finished :white_check_mark: | Results :white_check_mark: |