Skip to content

ci: Exclude CVE-flagged torch 2.6.0+xpu from project toml - #3703

Merged
ivanzati merged 3 commits into
mainfrom
ivanzati/renovate-uv-lock-do-not-update-when-pr-closed
Jul 31, 2026
Merged

ivanzati merged 3 commits into
mainfrom
ivanzati/renovate-uv-lock-do-not-update-when-pr-closed

Conversation

@ivanzati

@ivanzati ivanzati commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

📝 Description

Exclude CVE-flagged torch 2.6.0+xpu from project toml. The issue is identified to appear when win32 and py3.14 with torch+xpu is required. Thus fixing it to py3.13 and excluding darwin as it's build in CI remains commented out.

✨ Changes

Select what type of change your PR is:

  • 🚀 New feature (non-breaking change which adds functionality)
  • 🐞 Bug fix (non-breaking change which fixes an issue)
  • 🔄 Refactor (non-breaking change which refactors the code base)
  • ⚡ Performance improvements
  • 🎨 Style changes (code style/formatting)
  • 🧪 Tests (adding/modifying tests)
  • 📚 Documentation update
  • 📦 Build system changes
  • 🚧 CI/CD configuration
  • 🔧 Chore (general maintenance)
  • 🔒 Security update
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)

✅ Checklist

Before you submit your pull request, please make sure you have completed the following steps:

  • 📚 I have made the necessary updates to the documentation (if applicable).
  • 🧪 I have written tests that support my changes and prove that my fix is effective or my feature works (if applicable).
  • 🏷️ My PR title follows conventional commit format.

For more information about code review checklists, see the Code Review Checklist.

Signed-off-by: Zakharov, Ivan <ivan.zakharov@intel.com>
@ivanzati
ivanzati requested a review from a team as a code owner July 30, 2026 09:20
Copilot AI review requested due to automatic review settings July 30, 2026 09:20

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.

Pull request overview

Updates the repository Renovate configuration to prevent closed uv.lock lockfile maintenance PRs from being automatically recreated, aligning Renovate behavior with the top-level recreateWhen: "never" intent.

Changes:

  • Set lockFileMaintenance.recreateWhen: "never" to stop Renovate from recreating closed lockfile-maintenance PRs.
  • Add inline documentation clarifying Renovate’s nested default behavior for lockFileMaintenance.

Comment thread .github/renovate.json5 Resolved
@github-actions

github-actions Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Docker Image Sizes

CPU

Image Size
anomalib-studio-cpu:pr-3703 980.15M
anomalib-studio-cpu:sha-85d5f98 980.15M

CUDA

Image Size
anomalib-studio-cuda:pr-3703 4.36G
anomalib-studio-cuda:sha-85d5f98 4.36G

XPU

Image Size
anomalib-studio-xpu:pr-3703 3.02G
anomalib-studio-xpu:sha-85d5f98 3.02G

ivanzati added 2 commits July 30, 2026 15:31
Signed-off-by: Zakharov, Ivan <ivan.zakharov@intel.com>
Signed-off-by: Zakharov, Ivan <ivan.zakharov@intel.com>
Copilot AI review requested due to automatic review settings July 30, 2026 13:33
@ivanzati
ivanzati temporarily deployed to windows-msix-signing July 30, 2026 13:34 — with GitHub Actions Inactive
@ivanzati
ivanzati temporarily deployed to windows-msix-signing July 30, 2026 13:34 — with GitHub Actions Inactive
@ivanzati
ivanzati temporarily deployed to windows-msix-signing July 30, 2026 13:34 — with GitHub Actions Inactive
@ivanzati ivanzati changed the title ci: Instruct Renovate bot do not recreate uv.lock update PR when it was closed ci: Exclude CVE-flagged torch 2.6.0+xpu from project toml Jul 30, 2026

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.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (1)

.github/renovate.json5:31

  • The new comment claims lockfile maintenance should keep the default recreateWhen: "always" and not inherit the repo-level recreateWhen: "never", but there is no recreateWhen override inside lockFileMaintenance. As written, this is internally inconsistent and (given the PR title) risks documenting the opposite behavior from what is intended for closed uv.lock PRs. Consider making the intended behavior explicit here and updating the comment accordingly.
    // Keep the default `recreateWhen: "always"` (do not inherit the top-level
    // "never") so a fresh lock PR is opened whenever new lock changes appear.
    // These PRs are immortal by design; that is acceptable now that the lock
    // no longer reintroduces blocked CVEs and is mergeable.

@ivanzati
ivanzati merged commit dedf85c into main Jul 31, 2026
55 checks passed
@ivanzati
ivanzati deleted the ivanzati/renovate-uv-lock-do-not-update-when-pr-closed branch July 31, 2026 13:04

This branch was previously deployed

1 inactive deployment
windows-msix-signing — d49c8e55 Deployed Jul 30, 2026 by ivanzati via Build Windows MSIX (cpu) #805
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.

Investigate why Dependabot re-opened some alerts

4 participants