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

Deserialize user info when pulling from blob #3089

Conversation

tevoinea
Copy link
Member

@tevoinea tevoinea commented May 8, 2023

Summary of the Pull Request

What is this about?

Our user info serializer fails when reading. We know though, that reading from the events container (which is controlled by onefuzz and only written to by onefuzz_ is safe. So this PR adds a special case when deserializing events from the events container.

Validation Steps Performed

How does someone test & validate?

Added integration test that specifically exercises the failing code path.

@tevoinea tevoinea requested review from chkeita and Porges May 8, 2023 14:44
@codecov-commenter
Copy link

codecov-commenter commented May 8, 2023

Codecov Report

Merging #3089 (b2929a6) into main (4044e5c) will increase coverage by 1.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3089      +/-   ##
==========================================
+ Coverage   31.75%   32.95%   +1.19%     
==========================================
  Files         307      180     -127     
  Lines       36770    22886   -13884     
==========================================
- Hits        11678     7542    -4136     
+ Misses      25092    15344    -9748     

see 127 files with indirect coverage changes

@tevoinea tevoinea enabled auto-merge (squash) May 8, 2023 15:05
@tevoinea tevoinea merged commit 69171af into microsoft:main May 8, 2023
AdamL-Microsoft added a commit that referenced this pull request May 8, 2023
@AdamL-Microsoft AdamL-Microsoft mentioned this pull request May 8, 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