Skip to content

Exit non-zero from push_to_wiki.py on errors#6

Merged
daharoni merged 1 commit intomainfrom
fix-exit-on-sync-errors
Apr 8, 2026
Merged

Exit non-zero from push_to_wiki.py on errors#6
daharoni merged 1 commit intomainfrom
fix-exit-on-sync-errors

Conversation

@daharoni
Copy link
Copy Markdown
Contributor

@daharoni daharoni commented Apr 8, 2026

Summary

  • push_to_wiki.py increments an errors counter on failed edits or deletes but never exits non-zero, so CI passes even when sync fails
  • Adds sys.exit(1) after the summary line when errors > 0

Test plan

  • Verify CI fails if the wiki bot lacks delete permissions
  • Verify CI passes on a clean sync with no errors

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 8, 2026

Citations Summary

Status: ✅ All checks passed

Metric Count
Total citations 2
Added 0
Edited 0
Removed 0
Keys normalized 0

@daharoni daharoni merged commit e3d4ad7 into main Apr 8, 2026
2 checks passed
@daharoni daharoni deleted the fix-exit-on-sync-errors branch April 8, 2026 17:15
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