Skip to content

Move to Runtime Platform Flags #2615

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zkayyali812
Copy link
Contributor

@zkayyali812 zkayyali812 commented Jun 12, 2025

What is this PR doing:

Requires the following PR to be merged in first - ansible/django-ansible-base#736

This PR moves the Galaxy feature flag source from Settings based feature flags, to platform database level feature flags.
This also makes gateway the provider of this data for the platform.

This is required to enable platform level feature flags.

Gateway is the provider of the feature flag value updates, and is resource synced to Galaxy/other components.

It can be validated and tested simply with AAP Dev, and requires the following DAB PR to be merged in beforehand -
ansible/django-ansible-base#736

To test -

Clone AAP-Dev
make configure-sources
Select DAB, GW, and Hub for sources
make aap
Attempt to hit <GATEWAY_API>/feature_flags/X api endpoint and patch a flags value.
If Gateway Setting RUNTIME_FEATURE_FLAGS == True, the update succeeds and flag value is resource synced to Hub
If Gateway Setting RUNTIME_FEATURE_FLAGS == False, the update fails with error explaining why.

Issue: AAP-45881

Reviewers must know:

PR Author & Reviewers: Keep or remove backport labels per Backporting Guidelines
Reviewers: Look for sound code, no code smells, docs & test coverage
Merger: When merging, include the Jira issue link in the squashed commit

@github-actions github-actions bot added backport-4.9 This PR should be backported to stable-4.9 (2.4) backport-4.10 labels Jun 12, 2025
@zkayyali812 zkayyali812 force-pushed the zk/platform-flags branch 4 times, most recently from 8fc3e83 to 767b919 Compare June 12, 2025 15:31
@fao89 fao89 self-requested a review June 12, 2025 15:31
@zkayyali812 zkayyali812 force-pushed the zk/platform-flags branch 5 times, most recently from 6a45156 to 340a741 Compare June 13, 2025 18:38
@zkayyali812 zkayyali812 marked this pull request as ready for review June 17, 2025 16:26
@zkayyali812 zkayyali812 requested a review from a team as a code owner June 17, 2025 16:26
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-4.9 This PR should be backported to stable-4.9 (2.4) backport-4.10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant