Skip to content

Fix job attribution for OSPool grand-total report - #22

Merged
iross merged 2 commits into
mainfrom
fix/ospool-grand-total-job-attribution
Aug 24, 2026
Merged

Fix job attribution for OSPool grand-total report#22
iross merged 2 commits into
mainfrom
fix/ospool-grand-total-job-attribution

Conversation

@iross

@iross iross commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • extract_job_name_from_metl() checked for the 000 (cluster_id. submission line and DAG Node: on the same line, but DAG Node: always appears on the following line. This made the fallback always return None.
  • The misconfigured DAGs used to build full_ospool-grand-total.csv have no local .dagman.out file, so they relied entirely on this broken fallback for job attribution. Every one of their execution events was silently dropped as unmapped, making the grand-total CSV identical to full_ospool.csv.
  • Adds the _refresh-ospool-grand-total and _csv-ospool-grand-total just recipes that produce full_ospool-grand-total.csv using this fix.

Test plan

  • Regenerated full_ospool-grand-total.csv with just _csv-ospool-grand-total: attempts went from 1384 to 2362, correctly split between the two misconfigured DAG sources (505 / 473 rows)
  • Confirmed every row from the non-misconfigured full_ospool.csv is still present unchanged in the regenerated grand-total CSV

iross and others added 2 commits August 24, 2026 13:12
extract_job_name_from_metl() checked for "000 (cluster_id." and
"DAG Node:" on the same line, but DAG Node always appears on the
line after the submission event. This made the fallback always
return None, silently dropping every job that relies on it (e.g.
DAGs with no local .dagman.out file) as unmapped.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds the just recipes that pull the misconfigured-DAG data and
generate full_ospool-grand-total.csv, which relies on the
DAG Node fallback fix in mldag/report/csv.py.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@iross
iross merged commit 964190e into main Aug 24, 2026
1 check passed
@iross iross mentioned this pull request Aug 24, 2026
1 task
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