test(mobile): align relay test-push endpoint tests - #6
abhibansal-sg wants to merge 1 commit into
Conversation
…re contract (STR-67) The /relay/test-push endpoint was made transport-aware in d6fd7f5 (#117) but its dedicated test file wasn't updated, leaving 2 stale assertions expecting the old relay-only 400/"Test push delivered" shape instead of the current {ok, transport, detail} contract. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
60f5c35 to
98e1ab4
Compare
|
APPROVE — verifier stage-1 first-hand evidence on exact PR head 98e1ab4. GitHub formal review note: Commands run locally on detached HEAD:
Diff review:
CI/check attribution:
Verdict: APPROVE. No requested changes for PR #6. |
|
Superseded by base. The relay test-push endpoint-contract realignment this PR carried landed independently on the base branch via
Verified first-hand on a clean base worktree: |
Summary
/relay/test-pushendpoint tests to the current transport-aware response contract.Root cause
plugins/hermes-mobile/dashboard/api.py::test_relay_pushwas intentionally made transport-aware ind6fd7f5b5/ #117, buttests/plugins/hermes_mobile/test_relay_test_push_endpoint.pystill expected the older relay-only 400 /Test push deliveredshape.Verification
git log --oneline origin/environment-and-workflows-overview..HEAD-> one commit:98e1ab44c test(mobile): align relay test-push endpoint tests with transport-aware contract (STR-67)git diff --name-status origin/environment-and-workflows-overview..HEAD-> onlytests/plugins/hermes_mobile/test_relay_test_push_endpoint.py/Users/abbhinnav/Developer/products/hermes-loop/scripts/loop-scope-check.sh <temp worktree> "tests/plugins/hermes_mobile/test_relay_test_push_endpoint.py"-> PASS.venv/bin/python -m pytest tests/plugins/hermes_mobile/test_relay_test_push_endpoint.py -q-> 5 passed, 1 existing xdist mark warning.venv/bin/python -m pytest tests/plugins/hermes_mobile/test_push_intake.py -q-> 35 passedgit diff --check HEAD^ HEAD-> OKPaperclip: STR-63 / STR-67