Skip to content

Conversation

@quic-mtharu
Copy link
Contributor

This change updates the workflow to:

  • Check LAVA job status using lavacli inside the Docker container
  • Handle additional states such as Cancelled, Incomplete, or timeout (>2 hours)
  • Wait until the job reaches Finished before proceeding
  • Fetch test results on completion and set pass/fail summary in GitHub Actions
  • Update the step summary with job ID, URL, and final status

This improves reliability of LAVA-triggered test pipelines and prevents workflows from hanging or reporting incorrect results.

Poll job state via lavacli inside Docker
Handle cancelled/incomplete states and enforce 2‑hour timeout
On completion, fetch results and determine pass/fail
Update GitHub summary with job status, job ID, and URL
Prevent incorrect reporting when jobs fail early or never finish

Signed-off-by: Tharun Kumar Merugu <mtharu@qti.qualcomm.com>
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.

1 participant