Skip to content

headless: matrix Jobs at default priority, print transcripts per cell (#157) - #158

Merged
cboettig merged 1 commit into
mainfrom
matrix-priority-streaming
Nov 4, 2026
Merged

cboettig merged 1 commit into
mainfrom
matrix-priority-streaming

Conversation

@cboettig

@cboettig cboettig commented Nov 4, 2026

Copy link
Copy Markdown
Member

Closes #157.

  • Priority. run-matrix-k8s.sh takes a new PRIORITY_CLASS variable. Empty (the default) omits priorityClassName, so matrix Jobs run at the cluster default. PRIORITY_CLASS=opportunistic remains available for short, massively parallel work.
  • Per-cell transcripts. run_matrix.sh gains EMIT_TRANSCRIPTS=1 (set by the Job), which prints each cell's transcript under the existing ----- qN__model__tK.json ----- marker as soon as the cell finishes. The end-of-run dump is removed so each transcript appears exactly once (glen-benchmark's collect_run.py does not deduplicate). A Job that stops early keeps every finished cell.
  • Reruns. New SKIP_CELLS (space-separated qN__model__tK names) skips cells a stopped Job already finished.

README, AGENTS.md and CHANGELOG updated.

Testing: rendered the template with and without PRIORITY_CLASS (line dropped when empty, YAML valid; invalid value rejected). Ran run_matrix.sh with a stub node and parsed the output with glen-benchmark's transcripts_from_log and FAIL_RE: 3/3 transcripts, 2/2 FAILs, skipped cell skipped. Not yet run as a Job on the cluster.

…#157)

PRIORITY_CLASS for run-matrix-k8s.sh (empty = cluster default, the line
is omitted). run_matrix.sh EMIT_TRANSCRIPTS=1 prints each cell's
transcript under the existing ----- <name>.json ----- marker as soon as
the cell finishes; the Job sets it and drops the end-of-run dump, so a
preempted Job keeps every finished cell. SKIP_CELLS reruns only the
missing cells.
@cboettig
cboettig merged commit 72e9db7 into main Nov 4, 2026
1 check passed
@cboettig
cboettig deleted the matrix-priority-streaming branch November 4, 2026 03:49
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.

Matrix Jobs run at opportunistic priority and lose every transcript when preempted

1 participant