Skip to content

Capture JobBatchName from the HTCondor job ad - #35

Merged
iross merged 2 commits into
mainfrom
feat/job-batch-name-jobad
Sep 22, 2026
Merged

iross merged 2 commits into
mainfrom
feat/job-batch-name-jobad

Conversation

@iross

@iross iross commented Sep 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add JobBatchName to the default ClassAd field mapping so it's captured by jobad.py's in-job $_CONDOR_JOB_AD read and post.py's post-script event.
  • Thread job_batch_name through history_enrich.py's condor_history query mapping and job.assigned mirroring, and add the corresponding column to condor_history in db.py (with stale-schema migration handling).
  • Bump version to 0.1.0rc26.

Test plan

  • tests/provenance/test_jobad.py, test_post.py, test_history_enrich.py, test_db.py pass (67 passed, 1 skipped — htcondor2-only test not runnable on macOS)
  • ruff check on changed files shows no new warnings

🤖 Generated with Claude Code

iross and others added 2 commits September 18, 2026 08:46
Add JobBatchName to the default ClassAd field mapping so it's captured
by jobad.py's in-job $_CONDOR_JOB_AD read and post.py's post-script
event, and threaded through history_enrich.py's condor_history and
job.assigned mirroring into the condor_history table.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@iross
iross merged commit 3723d85 into main Sep 22, 2026
1 check passed
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