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

Effects made accessible in watchdog handlers #2359

Merged
merged 10 commits into from
Jul 13, 2024
Merged

Conversation

lhstrh
Copy link
Member

@lhstrh lhstrh commented Jul 12, 2024

The grammar allows effects to be specified for a watchdog, but the compiler wasn't resolving effects correctly and the code generator needed to be updated to ensure that effects are brought into scope. This PR also updates the diagram synthesis to render watchdog effects correctly.

@lhstrh lhstrh added the bugfix label Jul 12, 2024
@lhstrh lhstrh changed the title Watchdog actions Effects made accessible in watchdog handlers Jul 12, 2024
@lhstrh lhstrh added enhancement Enhancement of existing feature bugfix and removed bugfix enhancement Enhancement of existing feature labels Jul 12, 2024
@lhstrh lhstrh requested a review from edwardalee July 12, 2024 20:47
@lhstrh lhstrh marked this pull request as ready for review July 12, 2024 20:47
@edwardalee
Copy link
Collaborator

I've pushed support here for the diagrams, so that when a watchdog declares an action as an effect, we get this:

image

@lhstrh lhstrh added enhancement Enhancement of existing feature and removed bugfix labels Jul 12, 2024
Copy link
Collaborator

@edwardalee edwardalee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is ready to merge. Watchdogs still do not work with modes, but I've opened issue #2360.

@edwardalee edwardalee enabled auto-merge July 13, 2024 13:13
@edwardalee edwardalee added this pull request to the merge queue Jul 13, 2024
Merged via the queue into master with commit 0f9f8eb Jul 13, 2024
26 checks passed
@edwardalee edwardalee deleted the watchdog-actions branch July 13, 2024 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants