Repository navigation
chore: bump spec v0.2026246.554 → v0.2026248.128 (refs git-op deadline + retry) - #208
Merged
Merged
Conversation
…ne + retry) The bump pulls in spec PR #94: every network git subprocess in the @github ref resolution (refs.GitResolveRef / GitLatestTag / GitDefaultBranch / GitClone / gitCloneByCommit / populateSubmodules) now runs through a bounded runner — a context deadline (30s ref metadata / 60s transfer) plus 2 bounded retries with backoff — so a connection killed in a GitHub HTTP/2 reset window (curl error 92 CANCEL / "RPC failed; HTTP/2 stream 5 reset") re-resolves instead of hanging the pre-deploy phase forever (r9 wave forensics: 3 eval lanes froze on a dead socket — 20x futex_wait + 1x do_epoll_wait). Permanent failures (repo not found / 404) fail fast without retry. No sdk code change: the refs API surface is unchanged (the runner is internal to spec/refs); loaderkit's collection + EnsureRepoDownloaded and kit's DefaultDownloader pick up the bounded resolution through the pinned spec version.
Review — PASSHead SHA: Security screen: PASS — minimal dependency pin (spec v0.2026246.554 → v0.2026248.128) in go.mod/go.sum only; no new module, no secrets, no scope mismatch, no guardrail changes. go.sum hashes updated consistently with go.mod. Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
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
Pins
github.com/opencharly/specv0.2026246.554 → v0.2026248.128 (spec PR #94). The new spec version bounds every network git subprocess in the @github ref resolution with a context deadline + bounded retry:refs.GitResolveRef/GitLatestTag/GitDefaultBranch/GitClone(commit-fetch + branch-clone paths) /populateSubmodulesnow run through an internalrunGitOprunner — 30s deadline for ref metadata (ls-remote), 60s for transfer (clone/fetch/submodule), 2 retries with 500ms/1s backoff, re-issuing on a deadline kill or on git's transient-network signatures ("RPC failed / HTTP/2 stream reset", connection reset, "Empty reply from server", 5xx). The pre-fix path used a bareexec.Commandwith no deadline, so a connection killed in a GitHub HTTP/2 reset window (curl error 92 CANCEL) blocked the pre-deploy @github resolution FOREVER (r9 wave forensics: 3 eval lanes froze before deploy-add — 21 threads, 20x futex_wait + 1x do_epoll_wait on a dead socket). Permanent failures (repo not found / 404 / 403) fail fast without retry.No sdk code change: the refs API surface is unchanged (the runner is internal to spec/refs);
loaderkit's version-less latest-tag resolution,EnsureRepoDownloaded,GitClientwarm-up andkit'sDefaultDownloaderall pick up the bounded resolution through this pin.How tested
The deadline/retry behavior itself is covered by spec PR #94's fault-injection suite (refs/git_op_timeout_test.go) — a real git http-backend server whose first connection hangs/drops: the fetch times out, retries, and succeeds on the retry; a permanently-hanging server is bounded; a 404 is not retried.
Rulebook compliance
R1: the dead-socket freeze root-caused from the r9 wave forensics; R3: no duplicated logic (one runner in spec/refs, all call sites route through it); R4: real deadline + retry, no workaround; R6: git-safe — clean branch from origin/main, no force-push; go build/vet/test green. Change classification: chore / dependency pin (fix landed in spec PR #94). Verification gate: full unit-test suite on the bumped tree. Follow-up note: the sdk's own pinned consumers (charly, plugins) pick the new spec up via their own go.mod bumps.
Assisted-by: pi ollama-cloud/deepseek-v4-flash:0731 (fully tested and validated)