Skip to content

bug(nimbus): set broken preview experiments back to draft#14393

Merged
jaredlockhart merged 1 commit intomainfrom
14381
Jan 21, 2026
Merged

bug(nimbus): set broken preview experiments back to draft#14393
jaredlockhart merged 1 commit intomainfrom
14381

Conversation

@jaredlockhart
Copy link
Copy Markdown
Collaborator

Becuase

  • At some point there must have been a bug in the UI that was mistakenly setting publish_status to Preview which is not a valid state
  • Experiments in that state can now not be modified because of the new strict transition checks
  • We can recover those experiments back to Draft with a data migration

This commit

  • Creates a data migration to set experiments with publish_status=Preview back to draft/idle

fixes #14381

@jaredlockhart
Copy link
Copy Markdown
Collaborator Author

Blocked on https://github.com/mozilla/experimenter/pull/14392/changes which also introduces a migration

Becuase

* At some point there must have been a bug in the UI that was mistakenly setting publish_status to Preview which is not a valid state
* Experiments in that state can now not be modified because of the new strict transition checks
* We can recover those experiments back to Draft with a data migration

This commit

* Creates a data migration to set experiments with publish_status=Preview back to draft/idle

fixes #14381
Copy link
Copy Markdown
Contributor

@yashikakhurana yashikakhurana left a comment

Choose a reason for hiding this comment

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

Looks good, thank you @jaredlockhart for fixing this

@jaredlockhart jaredlockhart added this pull request to the merge queue Jan 21, 2026
Merged via the queue into main with commit 6b1d6c8 Jan 21, 2026
18 checks passed
@jaredlockhart jaredlockhart deleted the 14381 branch January 21, 2026 20:57
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.

Stage experiment in broken preview state

2 participants