Skip to content

kernelci: runtime: lava: ensure result nodes are in "done" state #2910

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

Merged
merged 1 commit into from
Jul 9, 2025

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented Jun 20, 2025

Nodes are created in running state by default. Recent changes to the API helper functions copy the state field from the node instead of setting it to done by default, meaning result nodes stay running until they time out.

Fix this by making those nodes done right from the beginning.

Nodes are created in `running` state by default. Recent changes to the
API helper functions copy the `state` field from the node instead of
setting it to `done` by default, meaning result nodes stay `running`
until they time out.

Fix this by making those nodes `done` right from the beginning.

Signed-off-by: Arnaud Ferraris <[email protected]>
@a-wai a-wai requested review from nuclearcat and JenySadadia June 20, 2025 10:01
Copy link
Member

@nuclearcat nuclearcat left a comment

Choose a reason for hiding this comment

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

LGTM

@nuclearcat nuclearcat added this pull request to the merge queue Jul 9, 2025
Merged via the queue into kernelci:main with commit e4aa2a0 Jul 9, 2025
4 checks passed
@a-wai a-wai deleted the fix-lava-result-nodes-state branch July 10, 2025 07: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.

2 participants