oliver-zehentleitner / maity

Keep the Why reads: fail fast on busy slots, per-project budget for tokenless reads

Sign in to report

tsk-01y9xpw0gvng Open

Hardening of the Keep the Why reads, from the security team's pass. Details go to the coder by DM from the lead.

To do:

  1. Waiting for a free read slot is short and fails fast, like the other shared locks (§11.3). A busy project must not hold the hub's worker threads.
  2. Reads without a token have a budget per project, so one project's refreshes cannot use up the shared budget other projects rely on.

Tests for both, plus a docs/api.md note if the answers change.