chore(caretaker): enable fleet-registry heartbeat with OAuth2#46
Merged
ianlintner merged 2 commits intomainfrom Apr 22, 2026
Merged
chore(caretaker): enable fleet-registry heartbeat with OAuth2#46ianlintner merged 2 commits intomainfrom
ianlintner merged 2 commits intomainfrom
Conversation
…credentials Bumps the pinned caretaker version to 0.12.0 and turns on the fleet-registry heartbeat so this repo shows up on the central caretaker dashboard. The heartbeat uses the OAuth2 client_credentials grant — OAUTH2_CLIENT_ID and OAUTH2_CLIENT_SECRET secrets plus the OAUTH2_TOKEN_URL variable were provisioned against roauth2.cat-herding.net ahead of this change. The in-process JWT cache in caretaker keeps token fetches to one per process. Triage is also enabled here for the first time (default-on since 0.11.0) but pinned to dry_run for the first few runs so its plan is logged without mutating any PRs or issues. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
@claude caretaker is requesting a full code review for this PR. Repo: Please review this pull request for:
Post a review comment summary and inline comments where applicable. Delegated by caretaker's PRReviewerAgent via ClaudeCodeExecutor hand-off. |
Pre-commit's end-of-file-fixer hook was flagging the existing workflow file on this PR's CI run. Long-standing issue pre-dating this change. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
client_credentialsclient with in-process JWT caching).fleet_registrywithendpoint: https://caretaker.cat-herding.net/api/fleet/heartbeatso this repo's run summaries feed the central dashboard.fleet_registry.oauth2— the emitter attachesAuthorization: Bearer <jwt>using theOAUTH2_CLIENT_ID/OAUTH2_CLIENT_SECRETsecrets plus theOAUTH2_TOKEN_URLvariable (all provisioned againstroauth2.cat-herding.netahead of this change).triageblock indry_run: truemode. Triage defaults to on as of caretaker 0.11.0; dry_run keeps the first few runs read-only so the plan can be reviewed before any state mutation.Test plan
Bearer …header and a 2xx response.dry_runis set.triage.dry_runtofalsein a follow-up once the plan looks correct.🤖 Generated with Claude Code