Skip to content

docs(env): document decommissioning of testing env and transition of feature flags to git JSON#618

Open
dembrane-sam-bot wants to merge 1 commit into
mainfrom
sam/echo-834-835-document-environments-and-feature-flags
Open

docs(env): document decommissioning of testing env and transition of feature flags to git JSON#618
dembrane-sam-bot wants to merge 1 commit into
mainfrom
sam/echo-834-835-document-environments-and-feature-flags

Conversation

@dembrane-sam-bot

@dembrane-sam-bot dembrane-sam-bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

What changes in the system

  • Testing environment decommissioned: Removed the Testing environment (dashboard.testing.dembrane.com) from documentation. We now do beta testing directly on Echo Next. — echo/docs/branching_and_releases.md
  • Feature Flags migration strategy: Added documentation about transitioning frontend public feature flags from Vercel environment variables to a JSON file in git to reduce overhead. — echo/docs/frontend_configuration.md

Refs: ECHO-834, ECHO-835

Confidence: high. Pure documentation update reflecting team decision.

Summary by CodeRabbit

  • Documentation
    • Updated branching and release process documentation with refined feature development workflow and streamlined procedures.
    • Added Feature Flags Configuration section outlining the updated approach for managing public feature flags.

…feature flags to git JSON

- Remove echo-testing environment from branching_and_releases.md
- Add Feature Flags Configuration strategy note to frontend_configuration.md

Refs: ECHO-834, ECHO-835
@linear

linear Bot commented Jun 4, 2026

Copy link
Copy Markdown

ECHO-834

ECHO-835

@coderabbitai

coderabbitai Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Documentation updates clarifying the branching and release strategy by removing the Testing environment table entry and streamlining the feature development workflow diagram, while adding guidance on managing public feature flags via git-managed JSON instead of Vercel environment variables.

Changes

Operational Documentation

Layer / File(s) Summary
Branching strategy and feature development flow
echo/docs/branching_and_releases.md
Testing environment removed from the environments table. Feature Development Flow diagram simplified, with optional Testing deployment path removed and explicit optional merge-to-testing step added to the numbered workflow, including commands for checking ahead-of-main commits and resetting testing back to main.
Feature flags configuration guidance
echo/docs/frontend_configuration.md
New Feature Flags Configuration section documents the shift of public non-secret feature flags from Vercel environment variables to git-managed JSON consumed directly by the frontend, while keeping secrets and platform-specific settings in env files and Vercel.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Suggested labels

improvement

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title directly and clearly summarizes the two main changes: decommissioning the testing environment and transitioning feature flags to git JSON.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sam/echo-834-835-document-environments-and-feature-flags

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

Hi @dembrane-sam-bot!

Thank you for contributing to Dembrane ECHO! Before we consider your Pull Request, we ask that you sign our Contributor License Agreement (CLA). This is only required for your first Pull Request.

Please review the CLA, and sign it by adding your GitHub username to the contributors.yml file. Thanks!

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@echo/docs/branching_and_releases.md`:
- Line 7: In the table rows that currently use bold emphasis (e.g., the row
containing "| **Echo Next** | dashboard.echo-next.dembrane.com | `main` branch
(on merge) | Staging / preview / beta testing |" and the other bolded cell
referenced in the comment), replace the Markdown bold markers with italics (or
plain text) for emphasis, and where an em dash is used replace it with a period
or colon to match style rules; ensure the visible text reads the same aside from
emphasis and punctuation changes (no bold, no —).

In `@echo/docs/frontend_configuration.md`:
- Around line 67-72: Replace the wordy paragraph and bullet list that begin with
"We are transitioning public, non-secret feature flags..." with a single concise
sentence: state that public/non-secret feature flags are stored in a git-tracked
JSON consumed by the frontend, while secrets and platform-specific settings
remain in env files/Vercel; remove jargon and extra rationale. Update the
section that currently mentions "Public feature flags", "git-managed JSON", and
"Vercel environment variables" to this shorter form to improve clarity and
brevity.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: f754a15e-da71-4919-b524-a089e5fe96e2

📥 Commits

Reviewing files that changed from the base of the PR and between 5635cab and 1d96262.

📒 Files selected for processing (2)
  • echo/docs/branching_and_releases.md
  • echo/docs/frontend_configuration.md

|---|---|---|---|
| **Testing** | dashboard.testing.dembrane.com | `testing` branch (on push) | Shared, unprotected |
| **Echo Next** | dashboard.echo-next.dembrane.com | `main` branch (on merge) | Staging / preview |
| **Echo Next** | dashboard.echo-next.dembrane.com | `main` branch (on merge) | Staging / preview / beta testing |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Replace bold emphasis and em dash in the updated docs copy.

Line 7 and Line 23 use bold for emphasis, and Line 23 uses an em dash. Please switch bold emphasis to plain text or italics, and replace the em dash with a period or colon to match the style rules.

Suggested doc edit
-| **Echo Next** | dashboard.echo-next.dembrane.com | `main` branch (on merge) | Staging / preview / beta testing |
+| Echo Next | dashboard.echo-next.dembrane.com | `main` branch (on merge) | Staging / preview / beta testing |

-4. **After merge** — changes auto-deploy to Echo Next (where beta testing is done directly)
+4. After merge: changes auto-deploy to Echo Next (beta testing is done directly)

As per coding guidelines, "Never use em dashes (—)" and "Never use bold for emphasis; use Royal Blue (#4169e1) or italics instead."

Also applies to: 23-23

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@echo/docs/branching_and_releases.md` at line 7, In the table rows that
currently use bold emphasis (e.g., the row containing "| **Echo Next** |
dashboard.echo-next.dembrane.com | `main` branch (on merge) | Staging / preview
/ beta testing |" and the other bolded cell referenced in the comment), replace
the Markdown bold markers with italics (or plain text) for emphasis, and where
an em dash is used replace it with a period or colon to match style rules;
ensure the visible text reads the same aside from emphasis and punctuation
changes (no bold, no —).

Comment on lines +67 to +72
> We are transitioning public, non-secret feature flags directly into git-managed JSON inside the code instead of Vercel environment variables. This avoids Vercel lock-in, reduces configuration overhead, and eliminates the mental block of updating environment configurations.
>
> In the new strategy:
> - Public feature flags will live directly in git (e.g., in a JSON config file).
> - The frontend application will consume this configuration directly from git.
> - Secrets and platform-specific environment variables will continue to use standard env files/Vercel settings.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Tighten feature-flag note to remove jargon and reduce length.

Line 67 to Line 72 are wordy and include jargon. Please keep this section shorter and more direct so setup steps are easier to follow.

Suggested doc edit
-> We are transitioning public, non-secret feature flags directly into git-managed JSON inside the code instead of Vercel environment variables. This avoids Vercel lock-in, reduces configuration overhead, and eliminates the mental block of updating environment configurations.
+> Public non-secret feature flags now live in a JSON file in git, not in Vercel environment variables. This reduces config overhead.
 >
 > In the new strategy:
-> - Public feature flags will live directly in git (e.g., in a JSON config file).
-> - The frontend application will consume this configuration directly from git.
-> - Secrets and platform-specific environment variables will continue to use standard env files/Vercel settings.
+> - Public feature flags live in git in a JSON config file.
+> - The frontend reads this config from the repository.
+> - Secrets and platform-specific values stay in env files and Vercel settings.

As per coding guidelines, documentation must use "shortest possible text, highest clarity, no jargon."

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
> We are transitioning public, non-secret feature flags directly into git-managed JSON inside the code instead of Vercel environment variables. This avoids Vercel lock-in, reduces configuration overhead, and eliminates the mental block of updating environment configurations.
>
> In the new strategy:
> - Public feature flags will live directly in git (e.g., in a JSON config file).
> - The frontend application will consume this configuration directly from git.
> - Secrets and platform-specific environment variables will continue to use standard env files/Vercel settings.
> Public non-secret feature flags now live in a JSON file in git, not in Vercel environment variables. This reduces config overhead.
>
> In the new strategy:
> - Public feature flags live in git in a JSON config file.
> - The frontend reads this config from the repository.
> - Secrets and platform-specific values stay in env files and Vercel settings.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@echo/docs/frontend_configuration.md` around lines 67 - 72, Replace the wordy
paragraph and bullet list that begin with "We are transitioning public,
non-secret feature flags..." with a single concise sentence: state that
public/non-secret feature flags are stored in a git-tracked JSON consumed by the
frontend, while secrets and platform-specific settings remain in env
files/Vercel; remove jargon and extra rationale. Update the section that
currently mentions "Public feature flags", "git-managed JSON", and "Vercel
environment variables" to this shorter form to improve clarity and brevity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant