Repository navigation
Section 8: GitHub workflow runs REST API shape (extdeps.github.workflow_runs) - #5691
Merged
Merged
Conversation
added 4 commits
June 23, 2026 23:27
Co-Authored-By: Claude Sonnet 4.6 <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
dsl/extdeps/github/workflow_runs.dag: typed shape for the GitHub Actions workflow runs REST API (GET /repos/{owner}/{repo}/actions/runs)WorkflowRunStatus(6 variants: Queued/InProgress/Completed/Waiting/Requested/Pending) andWorkflowRunConclusion(8 variants: success through startup_failure)CoproductWireContract+StringVariant { naming: SnakeCase }), parse/label codec fns,WorkflowRunrecord,WorkflowRunList, andListForRefservice operationdsl/test/claim/github_workflow_runs_witness_test.dag: 26test fnwitnesses covering wire labels, parse, round-trips, and structural dataDESIGN §3 compliance:
WorkflowRunConclusionis genuinely distinct fromactions.dag'sCheckConclusion— workflow runs API hasstartup_failure(not in Checks), Checks API hasstale(not in runs). Adissolve_onmarker tracks consolidation when a unified authority becomes available.Selection rule: GitHub workflow runs REST API is a real external upstream (api.github.com) with no self-API read of the dashboard's own store.
Test plan
gunbc compile --source-root dsl --source-root src/v2→ 0 diagnostics, exit 0dsl_compile_clean_gate_passes→trueworkflow_run_conclusion_roundtrip_allwitness →truesample_run_has_success_conclusionwitness →truesample_run_list_has_one_runwitness →true🤖 Generated with Claude Code