Polish live runs status layout
This commit is contained in:
parent
ba33491479
commit
73617cd40c
6 changed files with 203 additions and 48 deletions
|
|
@ -915,7 +915,9 @@ def _project_running_execution(
|
|||
"slug": job.source.slug,
|
||||
"job_id": job_id,
|
||||
"execution_id": execution_id,
|
||||
"started_at": started_at.strftime("%Y-%m-%d %H:%M UTC"),
|
||||
"duration": _format_duration(started_at, reference_time),
|
||||
"started_at": _humanize_relative_time(reference_time, started_at),
|
||||
"started_at_iso": started_at.isoformat(),
|
||||
"runtime": f"running for {int(runtime.total_seconds())}s",
|
||||
"status": "Stopping" if execution.stop_requested_at else "Running",
|
||||
"stats": _stats_summary(execution),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue