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

Next step 1: Add a TLA plus model #64

Open
wants to merge 41 commits into
base: main
Choose a base branch
from

Conversation

prozacchiwawa
Copy link
Collaborator

@prozacchiwawa prozacchiwawa commented Jan 27, 2025

the model describes a way of building potato handler which doesn't find itself deadlocked (for example, nobody has the potato). It can be improved. It doesn't model all error types yet, so some rearranging may be needed to ensure error propogation keeps invariants.

this branch also hosts changes that make src/potato_handler/mod.rs work like the model (some changes are needed) and the model actually makes the potato request handling more regular with other event handling.

Fairly certain behaviorally, the tla+ model and potato_handler/mod.rs are in sync now.

…which doesn't find itself deadlocked (for example, nobody has the potato). It can be improved. It doesn't model all error types yet, so some rearranging may be needed to ensure error propogation keeps invariants
Base automatically changed from 20250109-final-todo to main February 25, 2025 18:39
@prozacchiwawa prozacchiwawa mentioned this pull request Feb 26, 2025
@prozacchiwawa prozacchiwawa changed the title Add a TLA plus model Next step 1: Add a TLA plus model Mar 8, 2025
aqk
aqk previously approved these changes Mar 8, 2025
Next step 2, remove some unused my turn/their turn parameters in potato handler
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.

2 participants