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

add context to logging of supervisor work queue interaction #601

Merged
merged 9 commits into from
Feb 28, 2021

Conversation

bmc-msft
Copy link
Contributor

No description provided.

@bmc-msft
Copy link
Contributor Author

This includes the changes from #602 to enable builds

@@ -159,25 +162,25 @@ impl WorkQueue {
// it was just due to a stale SAS URL.
if let Err(err) = &msg {
if is_auth_error(err) {
self.renew().await?;
self.renew().await.context("unable to renew registration")?;
Copy link
Member

Choose a reason for hiding this comment

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

Distinguish this context (renewal attempt due to auth error) from the above.

src/agent/onefuzz-supervisor/src/work.rs Show resolved Hide resolved
src/agent/storage-queue/src/lib.rs Outdated Show resolved Hide resolved
src/agent/storage-queue/src/lib.rs Outdated Show resolved Hide resolved
bmc-msft pushed a commit to bmc-msft/onefuzz that referenced this pull request Feb 28, 2021
@bmc-msft bmc-msft merged commit 0f895d1 into microsoft:main Feb 28, 2021
@bmc-msft bmc-msft deleted the add-workset-queue-context-logging branch February 28, 2021 01:17
@ghost ghost locked as resolved and limited conversation to collaborators Apr 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants