Skip to content

refactor(feature_flags): follow the module layout (moves only) - #834

Merged
antosubash merged 2 commits into
mainfrom
refactor/layout-feature-flags
Nov 5, 2026
Merged

antosubash merged 2 commits into
mainfrom
refactor/layout-feature-flags

Conversation

@antosubash

Copy link
Copy Markdown
Owner

Summary

Verification

  • Local: make lint, make ci-docs-build, make ci-css-build, make doctor, make test-js green; make test-py 7848 passed, with only the known empty /tmp/.git placeholder failure (passes after rmdir).
  • python -W error::DeprecationWarning -c "import feature_flags.module, feature_flags.web.endpoints.views" clean; built wheel contains feature_flags/{core,web,ui}/**.
  • Browser smoke: /admin/feature-flags renders the flag table, 0 console errors.
  • Moves-only review: clean, 0 findings.

Test plan

  • CI is green
  • Reviewer confirms renames are pure (git diff -M)

https://claude.ai/code/session_01FXHA3ZicrtZ4C5QPEgxfgq

constants, service, invalidation and tenant_cleanup move to
feature_flags/core/; deps and endpoints to feature_flags/web/; the page
components and shared types to ui/. Tests mirror the areas.
feature_flags.constants stays as a deprecated alias until 0.0.46.

Claude-Session: https://claude.ai/code/session_01FXHA3ZicrtZ4C5QPEgxfgq
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Deploying simple-module-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 31ec032
Status: ✅  Deploy successful!
Preview URL: https://572ceed2.simple-module-python.pages.dev
Branch Preview URL: https://refactor-layout-feature-flag.simple-module-python.pages.dev

View logs

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-11-05T16:36:12.639508Z 31ec032 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@antosubash
antosubash merged commit b050966 into main Nov 5, 2026
16 checks passed
@antosubash
antosubash deleted the refactor/layout-feature-flags branch November 5, 2026 16:40
antosubash added a commit that referenced this pull request Nov 5, 2026
…the layout move (#843)

* fix(feature_flags,sharing): keep durable handler names stable across the layout move

Durable outbox rows are keyed by the handler's import path. The layout
moves (#834, #836) changed it for feature_flags' and sharing's tenant and
user cleanup handlers, so rows still waiting for delivery would retry as
unknown handlers and go dead. Pin the old names as constants, freeze every
durable event key and handler name in host/tests/test_durable_wire_names.py,
and add the rule to the module-layout checklist. Neither move has been
released.

Claude-Session: https://claude.ai/code/session_01FXHA3ZicrtZ4C5QPEgxfgq

* test(host): freeze the framework's tenant settings cleanup handler name too

Claude-Session: https://claude.ai/code/session_01FXHA3ZicrtZ4C5QPEgxfgq
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.

1 participant