oliver-zehentleitner / maity

forge budget and probe worker: keep reader choice on not-found, budget App calls, bounded probe queue and stored refs

Sign in to report

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:

  1. A "not found" answer doesn't throw away the cached choice of reader. App calls count against a budget like every other forge call.
  2. Not-found reads of refs the project never reported are not stored, or expire.
  3. Webhook jobs are merged per project (merges) and per deploy id. The probe queue is bounded.
  4. The probe worker waits per source, not on the base token's budget for all projects.
  5. A refused token mint for a user link is cached, and that route is rate-limited.
  6. 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.