Skip to content

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
@sonarqubecloud
Copy link

@rochacbruno rochacbruno changed the base branch from master to main July 14, 2025 15:11
@fao89
Copy link
Member

fao89 commented Aug 12, 2025

could you please reopen this PR against our new org?

@fao89 fao89 closed this Aug 12, 2025
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.

2 participants