Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always record assessment section timeline events #2226

Merged
merged 2 commits into from
May 28, 2024

Conversation

thomasleese
Copy link
Contributor

When assessment sections are assessed we want to always record a timeline event to ensure this is captured even if the status changes, but the selected failure reasons might be different.

I've also refactored the service class to make it simpler.

@thomasleese thomasleese requested a review from a team as a code owner May 22, 2024 13:01
@thomasleese thomasleese force-pushed the assessment-section-timeline-events branch 3 times, most recently from 96d0252 to 105fd7c Compare May 27, 2024 16:13
Copy link

Copy link
Contributor

@syed87 syed87 left a comment

Choose a reason for hiding this comment

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

lgtm

@thomasleese thomasleese force-pushed the assessment-section-timeline-events branch from 105fd7c to aa1887d Compare May 28, 2024 08:28
@thomasleese thomasleese enabled auto-merge May 28, 2024 08:30
@thomasleese thomasleese force-pushed the assessment-section-timeline-events branch from aa1887d to ee02846 Compare May 28, 2024 08:50
This removes the need to return true or false from the service, since
we're not using this value anywhere anyway.
When assessment sections are assessed we want to always record a
timeline event to ensure this is captured even if the status changes,
but the selected failure reasons might be different.
@thomasleese thomasleese force-pushed the assessment-section-timeline-events branch from ee02846 to 5956e06 Compare May 28, 2024 09:09
@thomasleese thomasleese merged commit 884c360 into main May 28, 2024
10 checks passed
@thomasleese thomasleese deleted the assessment-section-timeline-events branch May 28, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants