feat: stamp wait=true so MCP skips HTTP job polling

WhatToChange: /Users/marchon/research/recommended-changes/2026-09-20-forgejo-ci-138
  What-to-Change.md

What was actually done:
- GlobalClient POST includes wait:true

What was not done:
- MCP NATS subscriber (HTTP wait is enough for the client)
This commit is contained in:
George Lambert 2026-09-20 13:16:22 -04:00
commit f919d932f6

View file

@ -64,6 +64,7 @@ async def test_global_stamp_posts_hash_sync_and_maps_receipt():
assert payload["digest"] == SHA256_EMPTY
assert payload["hashAlg"] == "SHA256"
assert payload["restamp"] is False
assert payload["wait"] is True
assert headers["Authorization"] == "Bearer secret"
assert rec.scope == "global"
assert rec.receipt_id == "job-1"