Skip to content

feat: swap 4949 workflow overhaul [WIP]#1297

Draft
jekabs-karklins wants to merge 81 commits intodevelopfrom
SWAP-4949-workflow-overhaul
Draft

feat: swap 4949 workflow overhaul [WIP]#1297
jekabs-karklins wants to merge 81 commits intodevelopfrom
SWAP-4949-workflow-overhaul

Conversation

@jekabs-karklins
Copy link
Contributor

@jekabs-karklins jekabs-karklins commented Jan 6, 2026

Description

This PR introduces new database structures to improve the workflow management system.

Motivation and Context

The current workflow management system has limitations and inefficiencies that are addressed by the introduction of new database structures. This change is required to enhance the system's performance and user experience.

Changes

  1. Addition of new tables "workflow_has_statuses" and "workflow_status_connections" to manage workflow statuses and their connections.
  2. Introduction of composite keys and constraints to enforce data integrity and consistency.
  3. Removal of the "workflow_status_changing_events" table and moving events to the codebase.
  4. Renaming of the existing "status_actions" table to "workflow_status_actions".
  5. Linking proposals to the new workflow graph by adding a new column "workflow_status_id" to the "proposals" table.
  6. Migration script to transition existing data to new structures.

How Has This Been Tested?

Fixes Jira Issue

https://jira.esss.lu.se/browse/SWAP-4949

Depends On

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

jekabskarklins added 30 commits December 22, 2025 14:13
…ntroducing CreateWorkflowConnection mutation
…vents table and updating related references
…tatusConnectionId and refactor related properties
…authorization checks for proposal assignments
jekabskarklins added 30 commits January 27, 2026 10:38
…adding workflow view, and improving UI components
…sts by adding multiple statuses dynamically
…tusId' and add workflow status to proposals
…atus handling across experiments and proposals
…oject/user-office-core into SWAP-4949-workflow-overhaul
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