Repository navigation
fix(api): return bad request for rejected event writes - #214
TimeToBuildBob wants to merge 1 commit into
Conversation
[Medium impact] The PR appears safe to merge. SummaryThe PR returns HTTP 400 with
No actionable issues were found. Tests were not run during this review. Reviews (1) · Last reviewed commit: "fix(api): return bad request for rejecte..." · Reviewed by Greptile |
|
CI-green and mergeable (Greptile 5/5) — waiting only on a maintainer click. This PR is ready to merge, but the bot has pull-only access to this repo and can't self-merge — surfacing it here so it isn't lost. The monitoring loop will stop re-flagging it now that this note is posted. |
🤖 AI code reviewThe PR wraps Safe to merge — no P0/P1 findingsConfidence 5/5 ✅ No findings. The diff looks correct to me on this pass. Files changed (3) — the diff as I read it
Previous review passes
Reviewed Maintainer commands
|
|
Git-Session-Id: 1f863dbc-917c-4c5e-87b0-df7d16e1d33c
c76ad43 to
2789dbb
Compare
|
Rebased onto current master ( Verification after rebase: |
Summary
ValueErrorto the existing structuredInvalidEvent400 response, at the HTTP boundary.make test/CI test list.Closes #211. Companion to ActivityWatch/aw-core#196 (ownership enforcement).
Verification
make test: 148 passed. Broader unit suite excluding listener-dependenttests/test_client.py: 231 passed.make typecheck: 32 source files clean; Black check passed.pytest testsadditionally attempts external-listener client tests: 3 failed/12 errors from absent listener and released client lacking set_setting. Those are not claimed green; no production listener was started or modified.No dependency bump in this PR: the error mapping is backward compatible with released core. Actual ownership enforcement needs the core companion to ship. No release/deployment claim.