Skip to content

MAINT Disable test fail-fast - #3906

Merged
Roman Lutz (romanlutz) merged 1 commit into
microsoft:mainfrom
romanlutz:romanlutz-ci-fail-fast-isolation
Nov 4, 2026
Merged

Roman Lutz (romanlutz) merged 1 commit into
microsoft:mainfrom
romanlutz:romanlutz-ci-fail-fast-isolation

Conversation

@romanlutz

Copy link
Copy Markdown
Contributor

Description

An optional macOS unit-test failure can cancel required Windows/Linux matrix cells, as seen in #3693. Set main-job.strategy.fail-fast to false so the remaining unit-test cells can finish independently. Matrix contents, individual test/check failures, test thresholds, and other jobs remain unchanged.

Tests and Documentation

  • uv run --frozen --no-sync python -m pytest --noconftest -q tests\unit\build_scripts\test_typing_ci_contract.py tests\unit\build_scripts\test_uv_version_contract.py: passed, 13 tests.
  • uv run --frozen --no-sync pre-commit run --files .github\workflows\build_and_test.yml: passed all applicable hooks.
  • Parsed-YAML comparison against origin/main: passed; fail-fast is the boolean false, and all other workflow structure is unchanged.
  • git diff --check origin/main...HEAD: passed.

Live GitHub CI was not run locally. Documentation and JupyText: N/A, workflow-only change.

Let unit-test matrix cells finish independently when another cell fails, without changing the matrix or individual check behavior.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 4, 2026 05:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the change allowing unit-test matrix cells to finish independently after a failure.

No open issues 🎉

What changed in this PR

Disables fail-fast for PyRIT’s unit-test matrix so a failure in one cell, including optional macOS tests, no longer cancels required Windows/Linux cells.

Changes:

  • Sets main-job.strategy.fail-fast to false.
  • Leaves matrix contents, individual failure behavior, test thresholds, and other jobs unchanged.
File Description
.github/​workflows/​build_and_test.yml Allows remaining unit-test matrix cells to finish independently after a failure.

Review effort: Balanced

@romanlutz
Roman Lutz (romanlutz) added this pull request to the merge queue Nov 4, 2026
Merged via the queue into microsoft:main with commit 3e0eaed Nov 4, 2026
61 checks passed
@romanlutz
Roman Lutz (romanlutz) deleted the romanlutz-ci-fail-fast-isolation branch November 4, 2026 05:45
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.

3 participants