Repository navigation
Conversation
…1–8)
runners/go/main.go (separate go.mod, go 1.24):
- go-github v66: Users, Repositories, Issues, RateLimit, PullRequests, Checks
- WithEnterpriseURLs("https://HOST/api/v3/", "https://HOST/api/uploads/") — both trailing slashes
- ETag/304 tested via raw http.Client with If-None-Match header
- githubv4: NewEnterpriseClient("https://HOST/api/graphql", httpClient)
- ghinstallation v2: itr.BaseURL = restBase (trailing slash)
- GOG-7 (PullRequests.Merge) skipped to preserve fixture PR
runners/dotnet/OctokitNetTest.cs:
- Octokit.NET 14.0.0: new GitHubClient(header, new Uri("https://HOST/"))
- Host root URI (not /api/v3) — Octokit.NET appends it internally
- Top-level statements + async/await; outputs TAP to stdout
runners/java/src/test/java/dev/githome/compat/HubApiTest.java:
- hub4j 1.321: GitHubBuilder().withEndpoint("https://HOST/api/v3")
- JUnit 5 @TestMethodOrder; each test = one gate
- JAV-7 (CreateCheckRun) skipped via Assumptions.assumeTrue(false)
runners/shell/terraform_test.sh:
- terraform-provider-github 6.6.0
- base_url = "https://HOST/api/v3/" (trailing slash required)
- TF-1: data.github_repository reads default_branch
- TF-2: github_repository create + destroy
- TF-3–8: skipped pending full app auth setup
tamnd
force-pushed
the
feat/runners-compiled
branch
from
June 10, 2026 04:56
cfcc01c to
790f39d
Compare
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.
What
Compiled-language runners and the Terraform runner covering 35 gates across Go, C#, Java, and Terraform.
Go runner (
runners/go/)Standalone Go module (
go 1.24). Deps:go-github v66,githubv4,ghinstallation/v2,oauth2.Key quirks baked in:
WithEnterpriseURLs(restBase, uploadBase)— both need trailing slash (/api/v3/,/api/uploads/)GetDefaultBranch(),GetMergeable()nil-safe getters throughouthttp.ClientIf-None-Matchround-trip (G9)githubv4.NewEnterpriseClient("https://HOST/api/graphql", httpClient)(no trailing slash)ghinstallation.itr.BaseURL = restBase(trailing slash)Run:
.NET runner (
runners/dotnet/)net9.0,Octokit 14.0.0. Top-level statements, TAP to stdout.Key quirk:
new GitHubClient(header, new Uri("https://HOST/"))— host root URI, Octokit.NET appends/api/v3internally.Run:
Java runner (
runners/java/)Java 21, JUnit 5, Maven, hub4j 1.321.
Key quirk:
withEndpoint("https://HOST/api/v3")— no trailing slash (different from Octokit.rb).Each gate = one
@Testmethod in sequential@TestMethodOrder. JAV-7 (CheckRun) usesAssumptions.assumeTrue(false)to skip.Run:
mvn -pl runners/java test -Dsurefire.useFile=falseTerraform runner (
runners/shell/terraform_test.sh)terraform-provider-github 6.6.0.Key quirk:
base_url = "https://HOST/api/v3/"— trailing slash required (provider builds URLs withurl.PathEscape).TF-1 exercises
data.github_repository; TF-2 exercisesgithub_repositorycreate + destroy. TF-3–8 are skipped pending dedicated app auth setup.