Skip to content

Move Slurm sacct collection off the completion path#261

Open
nkeilbart wants to merge 2 commits intomainfrom
fix/slurm-batched-sacct-runtime
Open

Move Slurm sacct collection off the completion path#261
nkeilbart wants to merge 2 commits intomainfrom
fix/slurm-batched-sacct-runtime

Conversation

@nkeilbart
Copy link
Copy Markdown
Collaborator

Summary

  • move Slurm sacct collection off the synchronous job-completion path
  • batch sacct lookups by allocation in a background worker so short jobs do not inherit accounting latency
  • update Slurm accounting docs to describe the asynchronous collection behavior

Validation

  • cargo fmt -- --check
  • cargo clippy --all --all-targets --all-features -- -D warnings
  • dprint check

Record Slurm job completion before any sacct lookup so short
jobs do not inherit accounting latency. Queue completed steps by
allocation and persist slurm_stats from a background worker after
resources are freed.
@nkeilbart nkeilbart requested a review from daniel-thom April 8, 2026 23:56
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