← proxy_allocator · live sandbox

Who actually gets the proxy?

This runs the real allocator code — _do_acquire and _do_acquire_reservation from app/main.py — against an isolated in-memory database, side by side with a preserved copy of the pre-fix logic. Nothing here touches production leases or live Webshare inventory.

Scenario
Step
0 / 0
Free proxy
Leased — colored by holding state
Rotating session, shared by multiple states — by design
Collision — two states hold one exclusive proxy at once
Add a custom step

Script your own sequence — both sides call the real allocator functions for every step you add.