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

Include AssignedTo when failing to create a work item due to an authentication exception #2770

Merged

Conversation

tevoinea
Copy link
Member

Summary of the Pull Request

What is this about?

PATs in notification configs expire, when they do the operation throws a VssAuthenticationException. We then need to manually track down the owner of the config to update the PAT. This PR includes the AssignedTo field of the config if available, to help us find the owner of the config faster.

@codecov-commenter
Copy link

codecov-commenter commented Jan 26, 2023

Codecov Report

Merging #2770 (604e38d) into main (a3ceb2d) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #2770      +/-   ##
==========================================
- Coverage   29.17%   29.16%   -0.02%     
==========================================
  Files         321      321              
  Lines       38551    38566      +15     
==========================================
  Hits        11248    11248              
- Misses      27303    27318      +15     
Impacted Files Coverage Δ
...c/ApiService/ApiService/Functions/Notifications.cs 0.00% <0.00%> (ø)
src/ApiService/ApiService/OneFuzzTypes/Requests.cs 62.55% <0.00%> (-0.26%) ⬇️
...ce/ApiService/onefuzzlib/NotificationOperations.cs 0.00% <0.00%> (ø)
...Service/ApiService/onefuzzlib/notifications/Ado.cs 0.00% <0.00%> (ø)
src/agent/coverage/src/record.rs 0.00% <0.00%> (ø)
src/agent/coverage/src/record/windows.rs 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@tevoinea tevoinea requested a review from chkeita January 26, 2023 21:20
@tevoinea tevoinea enabled auto-merge (squash) January 27, 2023 15:06
@tevoinea tevoinea merged commit 6829318 into microsoft:main Jan 27, 2023
@AdamL-Microsoft AdamL-Microsoft mentioned this pull request Feb 3, 2023
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.

3 participants