go-scm/forge
Snider 3ba8fbb8fb fix: Phase 2 — error wrapping, context audit, rate limiting review
- Standardise all fmt.Errorf calls to "package.Func: context" pattern
  across jobrunner/journal.go, agentci/config.go, agentci/security.go,
  handlers/dispatch.go, and forge/labels.go (15 bare errors fixed)
- Add SecureSSHCommandContext with context propagation for cancellable
  SSH operations; update dispatch handler to use it
- Add CheckGitHubRateLimitCtx for context-aware rate limit checking
- Document Forgejo/Gitea SDK v2 context limitation in FINDINGS.md
  (SDKs do not accept context.Context — adding ctx to 66 wrappers
  would be ceremony without real propagation)
- Review and document rate limiter: handles all edge cases, adaptive
  throttling at 75% GitHub usage, SDK header parsing not feasible

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-20 05:42:02 +00:00
..
client.go feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
client_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00
config.go feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
config_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00
issues.go feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
issues_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00
labels.go fix: Phase 2 — error wrapping, context audit, rate limiting review 2026-02-20 05:42:02 +00:00
labels_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00
meta.go feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
meta_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00
orgs.go feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
orgs_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00
prs.go feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
prs_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00
repos.go feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
repos_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00
testhelper_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00
webhooks.go feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
webhooks_test.go test: add comprehensive unit tests for forge/, gitea/, git/, agentci/ 2026-02-20 00:59:46 +00:00