A mock-tested control plane for assigning GPU work and recovering interrupted jobs.
Python
SQLite
State machines
Contract tests
Concept illustration
Project brief
The problem.
A second GPU is only useful if a coordinator can tell what it is allowed to run and who owns the result. I built an isolated reference implementation to test that contract before connecting real workers.
Workflow
Declare capability
Check placement
Lease work
Commit result
Design decisions.
Give work a lease
The coordinator models capabilities, placement rules and one exclusive execution lease for the selected GPU profile.
Keep a recoverable history
SQLite stores coordination state. Mock transports exercise job lifecycle and recovery paths in disposable test directories.
Define the boundary first
The reference implementation uses simulated application and worker transports. Live worker enrollment remains a later deployment step.