Skip to content

fix(cli): exit non-zero on logical issue command failures#707

Merged
anderdc merged 2 commits intoentrius:testfrom
MkDev11:fix/issue-706-logical-failure-exit-codes
Apr 23, 2026
Merged

fix(cli): exit non-zero on logical issue command failures#707
anderdc merged 2 commits intoentrius:testfrom
MkDev11:fix/issue-706-logical-failure-exit-codes

Conversation

@MkDev11
Copy link
Copy Markdown
Contributor

@MkDev11 MkDev11 commented Apr 22, 2026

Summary

  • Return non-zero exit codes for logical failure branches in issue CLI admin/vote commands.
  • Return non-zero exit codes for harvest failure outcomes (partial, failed/error, None, unexpected status).
  • Add regression tests that assert these branches now exit non-zero.

Related Issues

Closes #706

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Testing

  • Tests added/updated
  • Manually tested

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Changes are documented (if applicable)

@xiao-xiao-mao xiao-xiao-mao Bot added the bug Something isn't working label Apr 22, 2026
@anderdc anderdc added refactor Code restructuring without behavior change and removed bug Something isn't working labels Apr 23, 2026
@anderdc anderdc added bug Something isn't working and removed refactor Code restructuring without behavior change labels Apr 23, 2026
@anderdc anderdc merged commit 5678571 into entrius:test Apr 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Issue CLI logical failure paths return exit code 0 (admin/vote/harvest)

2 participants