Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

feat(idp): add ui-mcp/siza namespaces, expand feature-toggle tests#138

Merged
LucasSantana-Dev merged 1 commit into
mainfrom
feat/feature-toggles-improvements
Mar 15, 2026
Merged

feat(idp): add ui-mcp/siza namespaces, expand feature-toggle tests#138
LucasSantana-Dev merged 1 commit into
mainfrom
feat/feature-toggles-improvements

Conversation

@LucasSantana-Dev
Copy link
Copy Markdown
Member

Summary

Completes the Forge Space rebranding in the IDP feature-toggle module by adding canonical namespace names while keeping full backwards compatibility.

Changes

patterns/idp/feature-toggles/schema.ts

  • Added 'ui-mcp' and 'siza' as canonical ToggleNamespace values
  • Kept 'uiforge-mcp' and 'uiforge-webapp' with deprecation comments
  • Zero breaking changes — existing stores and code continue to work

patterns/idp/feature-toggles/cli.ts

  • Added 'ui-mcp' and 'siza' to VALID_NAMESPACES array
  • Updated help text to show new canonical namespace names

Tests: 18 → 27 (+9 new)

  • accepts ui-mcp namespace — creates toggle in canonical namespace
  • accepts siza namespace — creates enabled toggle in siza namespace
  • accepts legacy uiforge-mcp namespace for backwards compat
  • filters by ui-mcp namespace
  • filters by siza namespace
  • persists custom strategy config — gradual-rollout with parameters
  • persists user-ids strategy
  • filters by disabled (enabled: false)
  • returns empty array for namespace with no toggles

Metrics

Metric Before After
Feature-toggle tests 18 27
Total tests 600 609
Breaking changes None

- Add 'ui-mcp' and 'siza' as canonical ToggleNamespace values
- Deprecate legacy 'uiforge-mcp' and 'uiforge-webapp' with backwards compat
- Update CLI VALID_NAMESPACES and help text to show new names
- Tests: 18 → 27 (+9 covering canonical namespaces, custom strategies,
  disabled filtering, empty-namespace edge case)
@LucasSantana-Dev LucasSantana-Dev requested a review from a team as a code owner March 15, 2026 06:07
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 15, 2026

Warning

Rate limit exceeded

@LucasSantana-Dev has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 4 minutes and 53 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ad37c366-4713-4e28-ac81-a05463e8a10c

📥 Commits

Reviewing files that changed from the base of the PR and between 2f3e2e0 and dd4f0a7.

📒 Files selected for processing (3)
  • patterns/idp/__tests__/feature-toggles.test.ts
  • patterns/idp/feature-toggles/cli.ts
  • patterns/idp/feature-toggles/schema.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/feature-toggles-improvements
📝 Coding Plan
  • Generate coding plan for human review comments

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
Copy link
Copy Markdown

Project Scorecard


Scorecard: 84/100 (B)
────────────────────────────────────────
  security: 100/100 (A)
  quality: 80/100 (B) — 1 violations
  performance: 67/100 (D) — 1 violations
  compliance: 75/100 (C) — 1 violations
  dependency: 100/100 (A)

Recommendations:
  - Increase test coverage to meet the 80% threshold
  - Extend log retention to at least 90 days for compliance

@sonarqubecloud
Copy link
Copy Markdown

@LucasSantana-Dev LucasSantana-Dev merged commit a80c230 into main Mar 15, 2026
25 checks passed
@LucasSantana-Dev LucasSantana-Dev deleted the feat/feature-toggles-improvements branch March 16, 2026 16:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant