refactor: reduce lint complexity#223
Conversation
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
Enable gocognit and gocyclo with a threshold of 20, then split complex functions into smaller helpers so the new checks pass.
GraphQL fetch failures should still fall back to REST, but failures while applying successfully fetched GraphQL data must remain visible to the scoped retry/backoff logic. The previous boolean result collapsed those cases, so a successful REST fallback could clear failedRepos and skip the forced refresh needed on the next sync cycle. Add regression coverage for both MR and issue GraphQL sync failures that would otherwise be masked by REST fallback.
Keep workspace runtime stopping markers active for the full delete operation so concurrent launches cannot race with preflight or cleanup. Add API-plus-SQLite coverage for GraphQL sync failures preserving retry invalidation state.
61e91fc to
06a3440
Compare
roborev: Combined Review (
|
Summary
gocognitandgocycloin golangci-lint with threshold 20Test Plan
make lintmake test