Skip to content

fix(experimentation): remove the experiment_rollout_decision flag - #9058

Merged
Zaimwa9 merged 1 commit into
mainfrom
chore/remove-experiment-rollout-decision-flag
Nov 23, 2026
Merged

Zaimwa9 merged 1 commit into
mainfrom
chore/remove-experiment-rollout-decision-flag

Conversation

@Zaimwa9

@Zaimwa9 Zaimwa9 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Contributes to https://linear.app/flagsmith/issue/ENG-663/what-happens-to-rollout-when-an-experiment-ends

  • Completing an experiment always opens the rollout decision modal; the experiment_rollout_decision gate and the old confirm are removed.
  • completeExperiment requires a body again, since the API (feat(experimentation): decide the rollout when completing an experiment #9018) rejects completion without a rollout_decision.
  • Fixes completion on self-hosted installs that can't fetch Flagsmith-on-Flagsmith flags, where the flag is always off.

How did you test this code?

Typecheck, lint and the experiments unit tests.

@Zaimwa9
Zaimwa9 requested a review from a team as a code owner November 23, 2026 12:46
@Zaimwa9
Zaimwa9 requested review from talissoncosta and removed request for a team November 23, 2026 12:46
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Building Building Preview Nov 23, 2026 12:46pm UTC
flagsmith-frontend-preview Ready Ready Preview Nov 23, 2026 12:46pm UTC
flagsmith-frontend-staging Ready Ready Preview Nov 23, 2026 12:46pm UTC

Request Review

@linear-code

linear-code Bot commented Nov 23, 2026

Copy link
Copy Markdown

ENG-663

@github-actions github-actions Bot added front-end Issue related to the React Front End Dashboard chore labels Nov 23, 2026
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-9058 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-9058 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api:pr-9058 Finished ✅ Results ✅
ghcr.io/flagsmith/flagsmith:pr-9058 Finished ✅ Results ✅
ghcr.io/flagsmith/flagsmith-private-cloud:pr-9058 Finished ✅ Results ✅
ghcr.io/flagsmith/flagsmith-frontend:pr-9058 Finished ✅ Results ✅

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Removes the experiment_rollout_decision flag, always opening the rollout decision modal with a required body. This fixes self-hosted completion but expands the new flow to all installations, so the rollout cutover needs human sign-off.

Turn on auto-fix | Re-trigger cubic

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23586 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  7 passed

Details

stats  7 tests across 6 suites
duration  37.6 seconds
commit  4ee2b95
info  🔄 Run: #23586 (attempt 1)

🗂️ Previous results
✅ private-cloud · depot-ubuntu-latest-16 — run #23586 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  7 passed

Details

stats  7 tests across 6 suites
duration  18.1 seconds
commit  4ee2b95
info  🔄 Run: #23586 (attempt 1)

✅ oss · depot-ubuntu-latest-arm-16 — run #23586 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  36.9 seconds
commit  4ee2b95
info  🔄 Run: #23586 (attempt 1)

✅ oss · depot-ubuntu-latest-16 — run #23586 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  38.7 seconds
commit  4ee2b95
info  🔄 Run: #23586 (attempt 1)

@github-actions

Copy link
Copy Markdown
Contributor

Visual Regression

26 screenshots compared. See report for details.
View full report

@Zaimwa9 Zaimwa9 changed the title chore(experimentation): remove the experiment_rollout_decision flag fix(experimentation): remove the experiment_rollout_decision flag Nov 23, 2026
@Zaimwa9
Zaimwa9 merged commit f02c65d into main Nov 23, 2026
31 checks passed
@Zaimwa9
Zaimwa9 deleted the chore/remove-experiment-rollout-decision-flag branch November 23, 2026 12:53

This branch was successfully deployed

2 active deployments
Preview – flagsmith-frontend-staging — 4ee2b951 Deployed Nov 23, 2026 by vercel[bot]
Preview – flagsmith-frontend-preview — 4ee2b951 Deployed Nov 23, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore front-end Issue related to the React Front End Dashboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants