Skip to content

Commit 05e426c

Browse files
[UX]: Make run status in UI and CLI easier to understand #2716
1 parent b47d813 commit 05e426c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/tests/_internal/server/routers/test_runs.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,8 +515,10 @@ async def test_lists_runs(self, test_db, session: AsyncSession, client: AsyncCli
515515
"finished_at": None,
516516
"inactivity_secs": None,
517517
"status": "submitted",
518+
"status_message": "submitted",
518519
"termination_reason": None,
519520
"termination_reason_message": None,
521+
"error": None,
520522
"exit_status": None,
521523
"job_provisioning_data": None,
522524
"job_runtime_data": None,
@@ -532,6 +534,7 @@ async def test_lists_runs(self, test_db, session: AsyncSession, client: AsyncCli
532534
"finished_at": None,
533535
"inactivity_secs": None,
534536
"status": "submitted",
537+
"status_message": "submitted",
535538
"termination_reason_message": None,
536539
"termination_reason": None,
537540
"error": None,
@@ -542,7 +545,7 @@ async def test_lists_runs(self, test_db, session: AsyncSession, client: AsyncCli
542545
"cost": 0,
543546
"service": None,
544547
"termination_reason": None,
545-
"error": "",
548+
"error": None,
546549
"deleted": False,
547550
},
548551
{
@@ -558,7 +561,7 @@ async def test_lists_runs(self, test_db, session: AsyncSession, client: AsyncCli
558561
"cost": 0,
559562
"service": None,
560563
"termination_reason": None,
561-
"error": "",
564+
"error": None,
562565
"deleted": False,
563566
},
564567
]

0 commit comments

Comments
 (0)