Skip to content

Stop reporting Abort errors to TagBotErrorReports; improve manual intervention#548

Merged
IanButterworth merged 1 commit intomasterfrom
ib/clearer_manual_intervention
Apr 7, 2026
Merged

Stop reporting Abort errors to TagBotErrorReports; improve manual intervention#548
IanButterworth merged 1 commit intomasterfrom
ib/clearer_manual_intervention

Conversation

@IanButterworth
Copy link
Copy Markdown
Member

Abort errors (SSH permission denied, token 403, missing workflows permission) are characterized user-side failures, not TagBot bugs. Previously they were reported to TagBotErrorReports, creating noise.

Now:

  • Abort errors skip _report_error() (allowed=True) so no issue is filed on TagBotErrorReports
  • The manual intervention issue on the user's repo detects the specific error type and shows only the relevant cause and fix:
    • SSH deploy key not configured
    • GITHUB_TOKEN lacking contents:write
    • Token missing workflows permission for commits that modify workflow files
    • Generic fallback for unrecognized errors
  • If a manual intervention issue already exists, its body is replaced wholesale with the current failures instead of creating a duplicate
  • Extracted _manual_tag_body and _manual_tag_commands from create_issue_for_manual_tag

…ervention

Abort errors (SSH permission denied, token 403, missing workflows permission)
are characterized user-side failures, not TagBot bugs. Previously they were
reported to TagBotErrorReports, creating noise.

Now:
- Abort errors skip _report_error() (allowed=True) so no issue is filed
  on TagBotErrorReports
- The manual intervention issue on the user's repo detects the specific
  error type and shows only the relevant cause and fix:
  - SSH deploy key not configured
  - GITHUB_TOKEN lacking contents:write
  - Token missing workflows permission for commits that modify workflow files
  - Generic fallback for unrecognized errors
- If a manual intervention issue already exists, its body is replaced
  wholesale with the current failures instead of creating a duplicate
- Extracted _manual_tag_body and _manual_tag_commands from
  create_issue_for_manual_tag

Co-Authored-By: Claude <claude@users.noreply.github.com>
@IanButterworth IanButterworth force-pushed the ib/clearer_manual_intervention branch from 414bc11 to 8d8f2fa Compare April 7, 2026 22:27
@IanButterworth IanButterworth merged commit 1a5a55d into master Apr 7, 2026
2 checks passed
@IanButterworth IanButterworth deleted the ib/clearer_manual_intervention branch April 7, 2026 23:14
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.

1 participant