spawn/shared
A 4d3c54a11e
refactor: extract helpers from execScript and _cloud_api_retry_loop (#821)
Reduce cyclomatic complexity in the two highest-scoring functions:

- cli/src/commands.ts: Extract `handleUserInterrupt` and `runWithRetries`
  from `execScript` (complexity score 6 -> 2 for execScript, retry logic
  now independently testable)

- shared/common.sh: Extract `_classify_api_result` and `_report_api_failure`
  from `_cloud_api_retry_loop` (complexity score 9 -> 4, removes duplicated
  error-classification logic from loop body)

Agent: complexity-hunter

Co-authored-by: A <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-12 23:57:20 -08:00
..
common.sh refactor: extract helpers from execScript and _cloud_api_retry_loop (#821) 2026-02-12 23:57:20 -08:00
github-auth.sh feat: add standalone GitHub auth helper (shared/github-auth.sh) (#824) 2026-02-12 23:37:02 -08:00
key-request.sh feat: qa bot and emails (#565) 2026-02-11 20:19:45 -08:00