Skip to content

feat(standards): add per-procedure pause to Authority - #3855

Open
onurinanc wants to merge 7 commits into
nextfrom
feat-add-per-procedure-pause
Open

feat(standards): add per-procedure pause to Authority#3855
onurinanc wants to merge 7 commits into
nextfrom
feat-add-per-procedure-pause

Conversation

@onurinanc

Copy link
Copy Markdown
Collaborator

Summary

  • Add an AUTHORITY_PAUSED_PROCEDURES_SLOT map keyed by procedure root, installed under every authority kind.
  • Block a paused procedure in assert_authorized while every other authority-gated procedure keeps working.
  • Add pause_procedure and unpause_procedure, gated on the emergency authority so they bypass both breakers and unpause_procedure can never itself be paused.
  • Expose pause_procedure_root, unpause_procedure_root, paused_procedures_slot and try_read_procedure_paused on Authority.

Closes #3853.

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.

Add Per Procedure Pause to Authority

1 participant