Skip to content

Tighten strict handling for canary CI - #3509

Merged
C-Achard merged 1 commit into
cy/fix-numpy2-unpin-issuesfrom
cy/more-granular-canary
Sep 14, 2026
Merged

C-Achard merged 1 commit into
cy/fix-numpy2-unpin-issuesfrom
cy/more-granular-canary

Conversation

@C-Achard

@C-Achard C-Achard commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Add a strict_cells workflow input and use it to make only matrix.strict canary lanes fail the job outright.
The intelligent testing workflow now lets one define strict canary checks for pushes and same-repo PRs while keeping fork PRs non-blocking, and the reporting step skips annotations for lanes that already fail on strict.
A global toggle is kept if needed.

Note that the "resolve" jobs I added in #3499 may not be needed anymore depending on how we change the full test CI to include tf (and therefore np1) or not and how.
The goal is anyways to provide more flexibility in checks, which should be useful even if the exact jobs do not remain (esp. since #3499 and associated should make some of them irrelevant already).

@C-Achard
C-Achard added this pull request to stack #3511 September 11, 2026 12:53
@C-Achard C-Achard self-assigned this Sep 11, 2026
@C-Achard C-Achard added enhancement New feature or request CI Related to CI/CD jobs and automated testing labels Sep 11, 2026
@C-Achard
C-Achard requested a lite review from Copilot September 11, 2026 13:00

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 unresolved review comments remain.

Pull request overview

Adds configurable strict handling for selected canary CI lanes while keeping fork PR checks non-blocking.

Changes:

  • Adds the strict_cells workflow input.
  • Applies strict behavior to matrix.strict lanes.
  • Suppresses redundant annotations for failing strict lanes.
File summaries
File Summary
.github/workflows/python-package.yml Defines and applies strict-cell behavior.
.github/workflows/intelligent-testing.yml Enables strict canary behavior for trusted events.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@C-Achard
C-Achard marked this pull request as ready for review September 11, 2026 13:07
@C-Achard
C-Achard force-pushed the cy/more-granular-canary branch from 2ac2947 to bc6d9b7 Compare September 11, 2026 14:19
@C-Achard

Copy link
Copy Markdown
Collaborator Author

@deruyter92 I can also (and would like to) integrate the canary lane more closely to the test selector, so it runs only on deps changes. Do you think that would be interesting?

@C-Achard
C-Achard requested a review from deruyter92 September 14, 2026 07:13
C-Achard added a commit that referenced this pull request Sep 14, 2026
C-Achard added a commit that referenced this pull request Sep 14, 2026
@C-Achard
C-Achard force-pushed the cy/more-granular-canary branch from bc6d9b7 to a12c9c6 Compare September 14, 2026 09:29
@deruyter92
deruyter92 removed this pull request from stack #3511 September 14, 2026 09:38
@deruyter92
deruyter92 added this pull request to stack #3515 September 14, 2026 09:38

@deruyter92 deruyter92 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good PR thanks for adding this! No changes needed IMO, besides a stray numpy upper bound that I think is from an old base maybe

Comment thread pyproject.toml Outdated
Add a `strict_cells` workflow input and use it to make only `matrix.strict` canary lanes fail the job outright. The intelligent testing workflow now enables strict cells for pushes and same-repo PRs while keeping fork PRs non-blocking, and the reporting step skips annotations for lanes that already fail normally.
@deruyter92
deruyter92 force-pushed the cy/more-granular-canary branch from ddace9a to d476967 Compare September 14, 2026 11:36
@deruyter92
deruyter92 removed this pull request from stack #3515 September 14, 2026 11:38
@deruyter92
deruyter92 changed the base branch from jaap/release-dependency-upper-bounds to cy/fix-numpy2-unpin-issues September 14, 2026 11:38
@deruyter92
deruyter92 added this pull request to stack #3516 September 14, 2026 11:44
@C-Achard
C-Achard merged commit 5599af5 into dev Sep 14, 2026
24 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Related to CI/CD jobs and automated testing enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants