Repository navigation
reg-canvas discussions: term report by week; safe retries - #45
Merged
Merged
Conversation
discussions review with no --week covers every "Week N" discussion and writes one running report per term, a section per week. A rerun keeps every ticked deny, and a student with a ticked post stays listed. apply now requires --week, since the report includes hand-graded weeks. canvas_api retries a dropped connection for GETs and for writes the caller marks idempotent (grades, likes, posting). Other writes are not retried, so a timeout can never post an announcement twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N64GRxn3cQDJKAJLdfrso2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
reg-canvas discussions reviewwith no--weekwritesclasses/semesters/<term>-discussions-grading.md, with one section per "Week N" discussion. Run it whenever you like. A rerun adds new posts and keeps ticked denials. A ticked student stays listed even after posting more.apply --weekis required, so a blanket apply can't overwrite weeks that were graded by hand.idempotent, now retry with backoff. Announcements and other writes do not.Testing
pytest: 696 passed, 1 skipped.--week "Week 6"after the retry fix, and built the Fa26 term report (Weeks 1–7) read-only.🤖 Generated with Claude Code
https://claude.ai/code/session_01N64GRxn3cQDJKAJLdfrso2