Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add new lemma stating all reconciles will eventually satisfy a set of requirements #580

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

codyjrivera
Copy link
Collaborator

This lemma shows that if the spec ensures every newly started reconcile for a given controller_id satisfies some requirements (including termination of reconciles), the system will eventually reaches a state where all ongoing reconciles of that controller_id satisfy those requirements.

github-merge-queue bot pushed a commit that referenced this pull request Jan 23, 2025
This proves more invariants in VReplicaSet except those assigned to
@Catoverflow, and those whose proofs will likely depend on
#580.

---------

Signed-off-by: Cody Rivera <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Jan 31, 2025
This introduces a `reconcile_id` field for each `OngoingReconcile` for a
controller. When a reconcile is started, the allocator is queried for a
new `reconcile_id`, and then is incremented. The
`reconcile_id_allocator` is unique to each controller installed in the
cluster, but is preserved across controller restarts for easier
reasoning.

This addition slows down the proof for
`lemma_from_after_send_create_pod_req_to_receive_ok_resp`, where I had
to increase `rlimit`.

This is in service of a proof for the lemma proposed in
#580 .

---------

Signed-off-by: Cody Rivera <[email protected]>
@codyjrivera codyjrivera force-pushed the cody/add-leads-to-every-reconcile-satisfies branch from 17a6f0f to 1b833dc Compare February 3, 2025 19:23
Signed-off-by: Cody Rivera <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant