Loading
Add creating state to GraphQL enum and frontend for SPEP test runs
What does this MR do and why?
Adds the CREATING state to the GraphQL enum and frontend for SPEP (Scheduled Pipeline Execution Policy) test runs.
This is part of a two-MR rollout to add atomic state transitions for test run pipeline creation:
- This MR (frontend-first): Add
CREATINGstate to GraphQL enum and frontend - !244864 (merged) (backend): Add
creatingstate to model and implement atomic state transition in worker
Why deploy frontend first?
The frontend handles unknown states gracefully via DEFAULT_TEST_RUN_CONFIG fallback, so deploying this first is safe. Once merged, the backend MR can be deployed to start using the new state.
Changes
- Add
CREATINGvalue toPolicyScheduleTestRunStateEnumGraphQL enum - Add
CREATINGto frontendTEST_RUN_STATESconstant - Add badge config for
CREATINGstate (info variant, pending icon, "Creating pipeline" text) - Update
isTestRunActiveto includeCREATINGstate (keeps subscription active during pipeline creation) - Add test coverage for new state
References
- Backend MR: !244864 (merged)
- Issue: #591425 (closed)
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Andy Schoenen