Skip to content

docs(user-guide): document feature flags migration to backend config#302

Open
kostiantyn-pshenychnyi1 wants to merge 7 commits into
codemie-ai:mainfrom
kostiantyn-pshenychnyi1:docs/EPMCDME-12746-feature-flags-backend-config
Open

docs(user-guide): document feature flags migration to backend config#302
kostiantyn-pshenychnyi1 wants to merge 7 commits into
codemie-ai:mainfrom
kostiantyn-pshenychnyi1:docs/EPMCDME-12746-feature-flags-backend-config

Conversation

@kostiantyn-pshenychnyi1

@kostiantyn-pshenychnyi1 kostiantyn-pshenychnyi1 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

Documents the 2.40.0 feature flags migration (EPMCDME-12746): several codemie-ui frontend env vars have been removed and replaced by backend-side mechanisms.

  • viteEnableBudgetManagement / VITE_SHOW_ALL_PROJECTScustomer-config.yaml entries
  • viteEnableUserManagement → computed from ENABLE_USER_MANAGEMENT backend env var
  • VITE_IS_ENTERPRISE_EDITION → computed from enterprise package auto-detection
  • viteIdpProvider, viteMcpAuthOrigin, viteBannerMessage → backend env vars / customer-config.yaml

Changes

  • release-notes.md — 2.40.0 configuration changes section
  • customer-feature-configuration.md — removed runtime-computed entries (features:userManagement, features:enterpriseEdition, idpProvider, mcpAuthOrigin, visualWorkflowEditor) from the reference table; removed stale warnings and Banner Configuration section
  • platform-managed-mode-configuration.md — updated UI setup to reference features:budgetManagement only
  • faq/how-do-i-enable-project-and-user-management-in-codemie.md — updated to reflect that features:userManagement is now backend-computed; features:budgetManagement still requires customer-config.yaml

@codemie-ai

Copy link
Copy Markdown
Owner

[AUTO_CLOSE_WARNING] ⏰ This pull request is older than 14 days and will be automatically closed in 16 more days (when it reaches 30 days old)! To maintain this PR, either convert it to Draft or complete your changes and merge.

@kostiantyn-pshenychnyi1
kostiantyn-pshenychnyi1 force-pushed the docs/EPMCDME-12746-feature-flags-backend-config branch from bc03d55 to fb506aa Compare July 16, 2026 12:51
kostiantyn-pshenychnyi1 and others added 2 commits July 16, 2026 16:00
…(EPMCDME-12746)

- customer-feature-configuration.md: mark features:userManagement and
  features:enterpriseEdition as runtime-computed; add mcpAuthTimeoutSeconds,
  bannerMessage, bannerLinkLabel, bannerLinkRoute entries; add idpProvider
  and mcpAuthOrigin as non-configurable runtime values
- platform-managed-mode-configuration.md: remove outdated UI helm values
  section; only ENABLE_USER_MANAGEMENT=true is required in the backend
- faq: remove codemie-ui helm values section; only backend env var needed
- release-notes.md: add 2.40.0 section covering all four migration changes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kostiantyn-pshenychnyi1
kostiantyn-pshenychnyi1 force-pushed the docs/EPMCDME-12746-feature-flags-backend-config branch from fb506aa to eb2a4ff Compare July 16, 2026 13:08
kostiantyn-pshenychnyi1 and others added 5 commits July 16, 2026 16:22
Remove runtime-computed entries (features:enterpriseEdition,
features:userManagement, idpProvider, mcpAuthOrigin) and
visualWorkflowEditor from the component overview table.

Remove redundant runtime-computed warnings and the Banner
Configuration section from customer-feature-configuration.md.

Generated with AI

Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
…lags

viteEnableUserManagement and VITE_IS_ENTERPRISE_EDITION do not map to
customer-config.yaml entries — they are computed on the backend from
ENABLE_USER_MANAGEMENT env var and enterprise package presence.

Move them to the backend-computed table (item 2) and remove
features:userManagement and features:enterpriseEdition from the
customer-config.yaml migration code block.

Generated with AI

Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
Consolidate items 1 and 2 into a single table covering all removed
frontend variables with an explicit 'Action required?' column.
The danger note now targets only viteEnableBudgetManagement and
VITE_SHOW_ALL_PROJECTS — the two variables that need customer-config.yaml
entries. Backend-computed variables are listed in the same table as
no-action rows.

Generated with AI

Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
Remove 'Was in' and 'Action required' columns, drop the danger/tip
admonitions, the yaml codeblock, and the runtime-computed step.
Single table now lists all removed codemie-ui vars with their
backend replacements.

Generated with AI

Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
@kostiantyn-pshenychnyi1
kostiantyn-pshenychnyi1 force-pushed the docs/EPMCDME-12746-feature-flags-backend-config branch from 41217d2 to f8e86cb Compare July 16, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants