Repository navigation
feat: read_head_check_runs completion port method (Nexus-new #2068) - #513
Merged
Merged
Conversation
Host + bridge: paginated GET commits/{sha}/check-runs?filter=latest, 40-hex and per-run head_sha validation, app slug/id, fail closed on any error.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Resolve each GitHub Actions run's workflow file via actions/runs?head_sha (check_suite_id -> path), paginated, fail closed; non-Actions apps get workflow_path ''. Bridge passes app_id/workflow_path into the observation; drop last_head_check_run_apps. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…est_target suite test Co-Authored-By: Claude Sonnet 5.5 <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.
Implements the
read_head_check_runs(*, head_sha)port method required by Nexus-new #2068 (exact-head Exact-base impact gate before CAS).read_head_check_runs->GET /repos/{repo}/commits/{sha}/check-runs?filter=latest&per_page=100&page=N, all pages, total_count cross-checked; requested SHA must be 40-hex lowercase; every run's head_sha must equal it; each run returns name/status/conclusion/head_sha/app_slug/app_id.read_head_check_runsreturnsHeadCheckRunObservation(name,status,conclusion,head_sha). The model is extra=forbid so app slug/id are exposed onHostPort.last_head_check_run_apps; pinning in-loop needs an Nexus-new model change.🤖 Generated with Claude Code