Skip to content

Add job_queue config support and logs command#2

Merged
kyosu-1 merged 1 commit intomainfrom
feature/job-queue-and-logs
Feb 11, 2026
Merged

Add job_queue config support and logs command#2
kyosu-1 merged 1 commit intomainfrom
feature/job-queue-and-logs

Conversation

@kyosu-1
Copy link
Copy Markdown
Owner

@kyosu-1 kyosu-1 commented Feb 11, 2026

Summary

  • Add job_queue field to config for default job queue (used by run and logs commands)
  • Make --job-queue optional in run command — falls back to config value
  • Add logs command to fetch CloudWatch logs for Batch jobs
    • --job-id for specific job, auto-detects latest job when omitted
    • --follow (-f) for real-time tailing until job completes
    • --since for time-based filtering (e.g. 1h, 30m)
    • Supports custom awslogs-group in logConfiguration

Test plan

  • go test -v -race ./... all pass
  • golangci-lint run clean
  • Manual test: batcha logs --config batcha.yml --job-id <id>
  • Manual test: batcha run --config batcha.yml with job_queue in config (no --job-queue flag)

🤖 Generated with Claude Code

- Add job_queue field to Config for default job queue (used by run/logs)
- Make --job-queue optional in run command (falls back to config)
- Add logs command to fetch CloudWatch logs for Batch jobs
  - --job-id for specific job, auto-detect latest job when omitted
  - --follow (-f) for real-time tailing
  - --since for time-based filtering
  - Supports custom awslogs-group in logConfiguration
- Update README with logs command and job_queue config docs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kyosu-1 kyosu-1 merged commit 3797986 into main Feb 11, 2026
2 checks 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