Skip to content

Conversation

mawad-amd
Copy link
Collaborator

Motivation

CI was swallowing pytests errors

Technical Details

PR makes sure we return error code from pytest

Test Plan

Test Result

Submission Checklist

@mawad-amd mawad-amd requested a review from neoblizz as a code owner September 19, 2025 01:01
@Copilot Copilot AI review requested due to automatic review settings September 19, 2025 01:01
@mawad-amd mawad-amd requested a review from BKP as a code owner September 19, 2025 01:01
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes error code propagation in the distributed test runner to ensure CI properly captures pytest failures. Previously, pytest failures in worker processes were being swallowed and not propagated to the main process, causing CI to incorrectly report success even when tests failed.

Key changes:

  • Added error code checking and propagation in worker processes
  • Added exception handling in main process to capture and re-raise worker exit codes

@github-actions github-actions bot added in-progress We are working on it iris Iris project issue labels Sep 19, 2025
@mawad-amd mawad-amd merged commit 0cedf1b into main Sep 19, 2025
7 checks passed
@mawad-amd mawad-amd deleted the fix-ci-skip branch September 19, 2025 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in-progress We are working on it iris Iris project issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant