oliver-zehentleitner / maity
forge budget and probe worker: keep reader choice on not-found, budget App calls, bounded probe queue and stored refs
tsk-pfraffsdrnpb Open
Forge budget and the probe worker, from the security team's round 3 on forge and outbound calls; details go to the coder by DM from the lead.
To do:
- A "not found" answer doesn't throw away the cached choice of reader. App calls count against a budget like every other forge call.
- Not-found reads of refs the project never reported are not stored, or expire.
- Webhook jobs are merged per project (merges) and per deploy id. The probe queue is bounded.
- The probe worker waits per source, not on the base token's budget for all projects.
- A refused token mint for a user link is cached, and that route is rate-limited.
- Mail sending and the CLI's hub client hold an overall deadline against a peer that sends slowly, and the CLI caps response size (low).
Tests for each.