-
Notifications
You must be signed in to change notification settings - Fork 240
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
docs: add decision record about state machine manual interactions #3318
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have two wording nits:
- Can we call hook
TransitionGuard
or justGuard
since it is a bit more descriptive? - instead of
setWaitingForManualInteraction
can we name itsetWaitingOnGuard
or a more generic term? This mechanism could be used for things other than manual interaction.
Otherwise LGTM.
I agree on the Talking about the manual interaction, that's only a particular kind of guard that will only serve that precise scope, so in the entity I would still talking about "manual interaction" or something that reminds that. |
Would "external interaction" work? I'm looking for a more general term since it could be an external system that transitions the sm and not necessarily a manual interaction. |
Good point, I'd say yes, also, it could also be called just "waiting", or "pending", like, a "pending contract negotiation" is a negotiation that's waiting for an external interaction, and having a simple term to call it will make everything easier to understand. what do you think? |
Codecov ReportPatch and project coverage have no change.
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #3318 +/- ##
=======================================
Coverage 71.91% 71.91%
=======================================
Files 810 810
Lines 16509 16513 +4
Branches 962 964 +2
=======================================
+ Hits 11872 11876 +4
Misses 4236 4236
Partials 401 401 ☔ View full report in Codecov by Sentry. |
What this PR changes/adds
Adds a decision record about state machine manual interactions
Why it does that
Briefly state why the change was necessary.
Further notes
List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.
Linked Issue(s)
Part of #3308
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.