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

Improve job status check handling #28

Merged
merged 6 commits into from
Apr 13, 2022
Merged

Improve job status check handling #28

merged 6 commits into from
Apr 13, 2022

Conversation

hlts2
Copy link
Contributor

@hlts2 hlts2 commented Apr 11, 2022

WHA

I fixed to not include results of previous jobs.

WHY

Because multiple jobs with the same name may exist when jobs are created dynamically by third-party tools, etc, so only the latest job needs to be checked.

issue: #25

Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
@hlts2 hlts2 requested a review from rytswd April 11, 2022 18:24
@hlts2 hlts2 self-assigned this Apr 11, 2022
Copy link
Member

@rytswd rytswd left a comment

Choose a reason for hiding this comment

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

Just left a couple of points for clarification

internal/validators/status/validator.go Outdated Show resolved Hide resolved
internal/validators/status/validator_test.go Outdated Show resolved Hide resolved
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
hlts2 and others added 2 commits April 13, 2022 22:23
Co-authored-by: Ryota <rytswd@gmail.com>
Co-authored-by: Ryota <rytswd@gmail.com>
@hlts2 hlts2 requested a review from rytswd April 13, 2022 13:24
Signed-off-by: hlts2 <hiroto.funakoshi.hiroto@gmail.com>
Copy link
Member

@rytswd rytswd left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM!

@rytswd
Copy link
Member

rytswd commented Apr 13, 2022

This fixes #25

@hlts2
Copy link
Contributor Author

hlts2 commented Apr 13, 2022

@rytswd
Thank you for your review!!!

@hlts2 hlts2 merged commit 9898273 into main Apr 13, 2022
@hlts2 hlts2 deleted the bugfix/job-check-handling branch April 13, 2022 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants