RealDevSquad / RealDevSquad/website-backend

Add Feature Flag for GET discord-actions/groups API on PROD

Open
#1,410 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.