Skip to content
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

fix(versioning): handle versioned environments for associated-features endpoint #4735

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Oct 16, 2024

Changes

Adds a new query parameter to the segments/:id/associated-features/ endpoint which allows us to filter segment overrides by the current environment, and hence we can filter by latest versions.

How did you test this code?

Added unit test for the API.

Tested FE changes locally.

@matthewelwell matthewelwell requested review from a team as code owners October 16, 2024 10:26
@matthewelwell matthewelwell requested review from kyle-ssg and zachaysan and removed request for a team October 16, 2024 10:26
Copy link

vercel bot commented Oct 16, 2024

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

Name Status Preview Comments Updated (UTC)
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 1:18pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2024 1:18pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2024 1:18pm

@github-actions github-actions bot added front-end Issue related to the React Front End Dashboard api Issue related to the REST API fix labels Oct 16, 2024
Copy link
Contributor

github-actions bot commented Oct 16, 2024

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-e2e:pr-4735 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api-test:pr-4735 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-4735 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-4735 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api:pr-4735 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-4735 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4735 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-4735 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-4735 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-frontend:pr-4735 Finished ✅ Results

Copy link
Contributor

github-actions bot commented Oct 16, 2024

Uffizzi Ephemeral Environment deployment-57306

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

📄 View Application Logs etc.

What is Uffizzi? Learn more!

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.21%. Comparing base (8b823a7) to head (8a077c1).
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4735   +/-   ##
=======================================
  Coverage   97.21%   97.21%           
=======================================
  Files        1172     1172           
  Lines       40508    40544   +36     
=======================================
+ Hits        39380    39416   +36     
  Misses       1128     1128           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthewelwell matthewelwell requested review from a team and khvn26 and removed request for zachaysan and a team October 16, 2024 12:30
@github-actions github-actions bot added fix and removed fix labels Oct 16, 2024
@matthewelwell matthewelwell force-pushed the fix/associated-features-endpoint branch from 4366e68 to 8a077c1 Compare October 16, 2024 12:32
@github-actions github-actions bot added fix and removed fix labels Oct 16, 2024
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 fix front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants