You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(casework): exit non-zero on failed submissions, tighten the review nits
CodeRabbit review on #444:
- main() returned 0 even when every POST failed, which is the same hole the
credential and write-guard aborts exist to close. Now returns 1 if any case
errored. This diverges from the sibling enrichers, which always return 0;
the divergence is documented in the README.
- README said "Two failures" then "All three" of the same list.
- submit_review built its headers by hand instead of using _headers's
content_type parameter, as create_material already does.
- Cover the bare-list branch of reviews_for_slug; pagination is a project-wide
DRF setting, so the untested branch could go stale silently.
- Build the render_report test row through _row -- the literal still carried
the `title` key that was dropped.
- Record why --force is load-bearing in the guard-wiring test.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments