Verifying Kubernetes API Priority and Fairness in Lean
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Functorial's Tobi Lehman wrote the Kubernetes queue-removal guarantee as a Lean specification for an open API Priority and Fairness bug, where a queue is removed while a lingering write still holds seats and a later timer panics the API server. A model of the fixed code was proved safe for all executions. Replaying 304 Go traces rejected 80 runs of the unfixed code, and the generated fix matched the pull request byte for byte. The proof covers the model, not the Go code; the results are the authors' own.