Skip to content

Fall back to named scheduler lookup#150

Merged
Pigbibi merged 1 commit into
mainfrom
fix/scheduler-describe-fallback
Jun 10, 2026
Merged

Fall back to named scheduler lookup#150
Pigbibi merged 1 commit into
mainfrom
fix/scheduler-describe-fallback

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • fall back from gcloud scheduler jobs list to ${service}-scheduler describe lookups when list is denied
  • keep scheduler-aware heartbeat usable with narrower Cloud Scheduler IAM permissions
  • add regression coverage for the named scheduler lookup path

Tests

  • PYTHONPATH=. python -m pytest -q tests/test_execution_report_heartbeat.py
  • python -m ruff check scripts/execution_report_heartbeat.py tests/test_execution_report_heartbeat.py
  • python -m py_compile scripts/execution_report_heartbeat.py tests/test_execution_report_heartbeat.py

@Pigbibi Pigbibi merged commit e1056a9 into main Jun 10, 2026
1 check passed
@Pigbibi Pigbibi deleted the fix/scheduler-describe-fallback branch June 10, 2026 05:15
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