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

feat: implement git backend environments storage #3854

Merged
merged 6 commits into from
Jan 30, 2025

Conversation

GeorgeMac
Copy link
Member

@GeorgeMac GeorgeMac commented Jan 29, 2025

Supports #3832

Merging this means that main does not compile yet (on v2).
This is due to the fact that I need to fixup the wiring for legacy APIs (flags and eval), which now need to handle the fact there is no concepts of environments (need to support a default env + env switching header).

That said, this introduces the functionality for reading and writing flag state to a single target branch (i.e. trunk / main etc).
It brings in the environment store along with a git implementation that supports being backed either by memory or the local filesystem.

@GeorgeMac GeorgeMac force-pushed the gm/v2-environments-storage branch from cd8920c to 90b12c2 Compare January 29, 2025 14:24
@GeorgeMac GeorgeMac force-pushed the gm/v2-environments-storage branch from 90b12c2 to 8b9280b Compare January 29, 2025 14:27
@GeorgeMac GeorgeMac marked this pull request as ready for review January 29, 2025 14:32
@GeorgeMac GeorgeMac requested a review from a team as a code owner January 29, 2025 14:32
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Jan 29, 2025
Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor things, lgtm!!

internal/cmd/grpc.go Show resolved Hide resolved
internal/config/credentials.go Show resolved Hide resolved
internal/config/credentials.go Show resolved Hide resolved
@GeorgeMac GeorgeMac merged commit dc83cba into v2 Jan 30, 2025
3 of 6 checks passed
@GeorgeMac GeorgeMac deleted the gm/v2-environments-storage branch January 30, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XXL This PR changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants