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

Hotfix for v0.3.1 #97

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Hotfix for v0.3.1 #97

merged 3 commits into from
Dec 10, 2024

Conversation

abhi18av
Copy link
Member

This PR is a WIP to address the issues with v0.3.1

@abhi18av abhi18av self-assigned this Dec 10, 2024
@abhi18av abhi18av mentioned this pull request Dec 10, 2024
@abhi18av abhi18av requested a review from jagedn December 10, 2024 13:45

if (isFinished) {
if( state && ( ["dead","complete"].contains(state.state))){
Copy link
Member Author

Choose a reason for hiding this comment

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

@matthdsm , the problem in #97 is due to incomplete mapping of Nomad job/task statuses. I still don't quite understand it well enough, but I trust that marking the unknown status as TaskStatus.RUNNING should solve the problem you're facing.

CC @jagedn

@abhi18av abhi18av marked this pull request as ready for review December 10, 2024 17:09
@abhi18av
Copy link
Member Author

@jagedn , I am not sure how to fix the snapshot test with the webserver 😅 , could you please review the PR and give your feedback?

@jagedn
Copy link
Collaborator

jagedn commented Dec 10, 2024

I've modified the webserver to answer with a first "running" state followed by a "completed" state, probably more realistic than previous situation

@abhi18av
Copy link
Member Author

Thanks @jagedn , I'm merging this and making an edge release for @matthdsm

@abhi18av abhi18av merged commit 2e7ab38 into master Dec 10, 2024
1 of 2 checks passed
@abhi18av abhi18av deleted the hotfix/fix-0.3.1 branch December 10, 2024 18:19
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.

2 participants