Closed matt-livefront closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 88.70%. Comparing base (
f5e184f
) to head (85861cf
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Checkmarx One â Scan Summary & Details â c3b533ab-5978-4b49-9922-e9fb9c2ed2a4
đī¸ Tracking
PM-11430
đ Objective
This policy service test was added to ensure that simultaneous access to the shared dictionary doesn't crash the app. However, it was also asserting that we only fetch the user's policies from the database once. This was causing occasional test failures. I don't think we can make this assertion though; an actor will ensure the shared state isn't accessed simultaneous from multiple threads, but it isn't going to serialize calls to the
policiesForUser
method. I don't think we need to guarantee that the policies are only fetched once, so I removed this assertion. I also changed the test to run multiple times to prevent a false positive from causing the test to succeed.â° Reminders before review
đĻŽ Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or âšī¸ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or đ (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or â ī¸ (:warning:
) for more significant problems or concerns needing attention:seedling:
) or âģī¸ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes