Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

only emit events on a change of state #175

Merged
merged 4 commits into from
Oct 20, 2020
Merged

only emit events on a change of state #175

merged 4 commits into from
Oct 20, 2020

Conversation

bmc-msft
Copy link
Contributor

Summary of the Pull Request

This PR updates the supervisor to only emit events when there is a change in state.

Validation Steps Performed

  1. Standard integration tests will verify it doesn't break the state machine
  2. Check app-insights to verify we don't see sequential "Free" or "Busy" events from a given node

src/agent/onefuzz-supervisor/src/agent.rs Outdated Show resolved Hide resolved
src/agent/onefuzz-supervisor/src/scheduler.rs Outdated Show resolved Hide resolved
src/agent/onefuzz-supervisor/src/agent.rs Outdated Show resolved Hide resolved
@bmc-msft bmc-msft merged commit 0171ec7 into microsoft:main Oct 20, 2020
@bmc-msft bmc-msft deleted the emit-only-on-change branch October 20, 2020 01:00
@ghost ghost locked as resolved and limited conversation to collaborators Apr 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants