Skip to content

Harden mutation error handling and exit status - #70

Merged
adrianmg merged 2 commits into
mainfrom
adrianmg-harden-mutation-errors
Aug 22, 2026
Merged

adrianmg merged 2 commits into
mainfrom
adrianmg-harden-mutation-errors

Conversation

@adrianmg

Copy link
Copy Markdown
Owner

Summary

  • treat resolved GitHub mutation requests as successful, including HTTP 202 Codespace deletion
  • propagate repository and Codespaces listing failures instead of deleting credentials and calling an undefined main()
  • report batch outcomes consistently, continue ordinary per-item failures, and abort token-wide failures without replaying completed mutations
  • invalidate stale credentials for the next invocation and return a nonzero exit status after mutation failures
  • add focused regression coverage for request, propagation, continuation, and abort behavior

Validation

  • npm test (40 tests)
  • node --experimental-test-coverage --test

Fixes #69

Adrian Mato added 2 commits August 22, 2026 12:05
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: e7f38502-3479-46a6-8a20-4a037f7c1abe
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: e7f38502-3479-46a6-8a20-4a037f7c1abe
@adrianmg
adrianmg merged commit d495487 into main Aug 22, 2026
4 checks passed
@adrianmg
adrianmg deleted the adrianmg-harden-mutation-errors branch August 22, 2026 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Harden mutation error handling and exit status

1 participant