RealDevSquad / RealDevSquad/website-backend
Add Feature Flag for GET discord-actions/groups API on PROD
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 74
- Forks
- 276
- Avg merge
- 1d 26m
- Merged PRs (30d)
- 14
Description
Description
Currently, the GET discord-actions/groups API is experiencing discrepancies between STAGING and PROD environments. While the API functions as expected on STAGING, it returns an Internal Server Error on PROD. While the root cause has not been definitively identified, there's a consensus that the issue might be related to stale data in the PROD environment.
To facilitate a controlled testing and debugging process, this issue aims to add a feature flag to the GET discord-actions/groups API. The feature flag will enable us to gradually release the new changes to the API on different environments and observe its behavior.
Proposed Solution
The proposed solution involves introducing a feature flag mechanism that will allow the use of the new API changes only when the flag is set. By implementing this feature flag, we can enable the new API changes on specific environments while keeping it disabled by default and hence not breaking the existing functionality. This will provide us with the opportunity to further investigate and debug the discrepancies between the environments before a full release.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the GET discord-actions/groups API entry point and examining how environment-specific behavior is handled. Identify the project's feature-flag conventions, then verify that the flag is disabled by default and can selectively enable the new API behavior for controlled STAGING and PROD testing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100