Skip to content

System "Now running": project name + muted catalog + current step#180

Merged
bscholer merged 1 commit into
mainfrom
system-active-job-step-and-catalog
May 14, 2026
Merged

System "Now running": project name + muted catalog + current step#180
bscholer merged 1 commit into
mainfrom
system-active-job-step-and-catalog

Conversation

@bscholer

Copy link
Copy Markdown
Owner

Summary

  • Lead each active-job row with the project name; the catalog name (e.g. NGC 7380) now sits next to it as muted mono, but only when it differs from the project name.
  • The sub-label below the progress bar now shows the display name of the in-flight node (Calibrate, Register, Stack...) instead of the generic template id. Falls back to the template id when no step has started yet.
  • Plumbed through system_metrics: _job_progress became _job_step_state and now returns (progress, current_step_id, current_step_kind). SystemActiveJob carries the two new fields.

Test plan

  • Open /system with a running job: row leads with project name; catalog name renders muted next to it when distinct; sub-label shows the running step (e.g. Calibrate) and advances as steps complete.
  • Queued job (no events yet): sub-label falls back to the template id.
  • Ad-hoc submission with no Project row: primary label is the catalog name, no muted side-label.

Before, each active-job row led with the catalog name (NGC 7380) and a
generic template id (calibrate_register_stack) underneath, which buried
the project the user actually named ("North America Nebula") and never
named the work currently happening.

Now the primary label is the project name. The catalog name sits next to
it in a muted mono style when it's distinct, and the sub-label shows the
display name of the in-flight step (Calibrate, Register, Stack...) by
looking up the current node's kind, falling back to the template id when
no step has started yet.

Plumbed through system_metrics: _job_progress became _job_step_state and
returns (progress, current_step_id, current_step_kind); the active-job
dict and SystemActiveJob TS type carry the two new fields.
@bscholer
bscholer merged commit 7f92aa2 into main May 14, 2026
@bscholer
bscholer deleted the system-active-job-step-and-catalog branch May 14, 2026 16:42
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