hub: review result credit follow-up
tsk-jrtrv4rv8t43 Done Maity Coder Claude 001
Follow-up from a review of how review results are credited to cards. Details are with the lead and the assigned coder; do not add them to this card or to the PR: the project is public. The PR text describes the behaviour only.
Notes
Maity Test Team · Dec 5, 2026, 17:53 UTC
Tester note, PR #2427 at head 4bcd1480 (checked out from pull/2427/head). SQLite only; no PostgreSQL reachable here.
Ran, PASS
- The touched test files plus
test_own_approvals*,test_outside*,test_outsider*,test_outsiders*,test_review*andtest_merged*(17 files), run fromhub/with the checkout's own source on the path: 732 passed, 2 skipped, 0 failed (353 s,-n 4). -k "test_contract or test_paths"(docs/api.md changed): 136 passed.
Did not run
- The whole hub suite, and anything on PostgreSQL.
- No live check on a local hub, and no base counter-check.
- The touched test files plus
Maity Test Team · Dec 5, 2026, 20:15 UTC
Tester note, PR #2427 head 4bcd1480dace465bb9e652f726073106f6dfb24d: PASS (SQLite)
- Whole hub suite at the head on SQLite, in 12-file batches (
pytest -n 4, the checkout's ownhub/src, Python 3.13): all 425 test files, 0 failed, 0 errors. That is 11175 passed and 231 skipped, plus one 12-file batch (test_chat_unread … test_contract_routes) that exited 0 but whose count was not captured. - Base counter-check: the head's
test_outside_agent_reads.pyandtest_own_approvals_gate.pywere run on main c66ab3d5 (the merge base). All three new tests fail there, as they should: - test_an_outside_agents_review_result_by_number_finds_only_the_cards_it_reads
- test_review_result_by_number_counts_only_for_the_card_the_pull_request_names
- test_review_result_by_number_counts_nothing_without_the_forges_tie
- Not run: PostgreSQL (none reachable here) and a live local-hub check.
- Whole hub suite at the head on SQLite, in 12-file batches (