Repository navigation
Releases
v0.5.38 - Include omitted file paths in PR review context (#974)
🌟 Summary
v0.5.38 improves PR review accuracy by making files with omitted diffs visible to the reviewer.
📊 Key Changes
- 🗂️ The review prompt now identifies changed files whose diffs were omitted, without including their potentially large contents.
- 🔎 The reviewer can find omitted files by path or glob, and gets a clear response when it tries to read a diff that was omitted.
- 🛡️ The existing content filter remains in place.
🎯 Purpose & Impact
- ✅ Helps prevent incorrect review comments—for example, claiming a lockfile is missing when it was actually changed but its diff was skipped.
- 🔍 Keeps reviewers able to distinguish omitted diffs from files that were not changed, while still allowing them to catch issues such as stale dependency locks.
- 🧪 Validation included 268 passing tests; in historical review checks, the change eliminated the false missing-lockfile claim across all three tested runs.
What's Changed
- Include omitted file paths in PR review context by @glenn-jocher in #974
Full Changelog: v0.5.37...v0.5.38
v0.5.37 - Failed Actions report asks GitHub for failed runs instead of scanning the newest 300 (#973)
🌟 Summary
v0.5.37 makes failed GitHub Actions reports more reliable and prevents valid YouTube channel links from breaking link checks. 🛠️
📊 Key Changes
- More complete Actions failure reporting (PR #973): The report now asks GitHub for failed runs within the configured time window instead of scanning only the newest 300 runs. It then checks the newest completed run for the same workflow and trigger, reporting the issue only if that run is still failing.
- Failures separated by trigger: A successful push run no longer hides a failing scheduled run of the same workflow. Each workflow is listed once per trigger that remains in a failed state.
- Fork runs excluded: Only runs belonging to the repository itself are included, preventing a fork’s pull-request run from appearing as a repository failure.
- YouTube channel pages skipped by link checks (PR #972): Channel URLs such as
youtube.com/@handleare excluded because YouTube’s response headers can cause the checker’s HTTP/2 client to reject them. Video, playlist, and embed links remain checked. - Updated
max_run_pagesdescription: It now clarifies that the setting limits pages of failed runs read per repository and status.
🎯 Purpose & Impact
- More dependable failure alerts: Busy repositories are no longer limited to a short slice of recent history, so failures in the full configured window are less likely to be missed.
- Fewer misleading reports: A newer successful run clears a failure only for the same workflow and trigger, making the report better reflect which jobs are still failing.
- Fewer false link-check failures: Valid YouTube channel links will no longer block pull requests, while other YouTube content continues to be checked.
What's Changed
- Skip YouTube channel pages in the broken link check by @glenn-jocher in #972
- Failed Actions report asks GitHub for failed runs instead of scanning the newest 300 by @glenn-jocher in #973
Full Changelog: v0.5.36...v0.5.37
v0.5.36 - Link failure-alert files that exist, and count CLA signatures in reviews (#971)
🌟 Summary
v0.5.36 improves GitHub automation by making CI failure alerts more trustworthy and recognizing CLA signatures posted in pull request reviews. 🛠️
📊 Key Changes
- More accurate links in failure alerts: Repository file links are checked against the run’s commit. If a link uses a shortened path that uniquely identifies a file, it is updated to the full path; if no file matches, the link is removed while its text remains.
- Safer fallback behavior: If GitHub’s file tree cannot be read or is incomplete, existing links are left unchanged.
- CLA signatures in reviews are recognized: The CLA check now looks at pull request review bodies as well as comments, so a valid signature in either place can be recorded. ✍️
🎯 Purpose & Impact
- Helps developers follow CI alerts to the right source file instead of encountering broken links.
- Reduces repeat CLA prompts for contributors who signed in a review rather than a comment.
- Makes these checks more dependable without changing model behavior or adding new user-facing model features.
What's Changed
- Link failure-alert files that exist, and count CLA signatures in reviews by @glenn-jocher in #971
Full Changelog: v0.5.35...v0.5.36
v0.5.35 - Fork review approvals, PR summary edits, contributor credit and repeated failure alerts (#970)
🌟 Summary
v0.5.35 makes Ultralytics Actions’ PR reviews and failure alerts more reliable, while preserving contributor-written content and credit. 🛠️
📊 Key Changes
- Fork PRs receive review comments, not approvals. The automated review can still provide feedback, but maintainers retain the decision on whether a contribution’s premise is worth merging.
- PR summaries better preserve author content. The bot now replaces only its own summary block, keeps user-edited summaries, and can add a fresh summary if the previous one was removed.
- Contributor credits are more accurate. Commits replayed from other PRs are excluded, reducing the chance of crediting people who did not contribute to the current PR.
- Repeated failure alerts are deduplicated. An identical failure is suppressed when the previous run already alerted; alerts resume when the failure changes or follows a passing run. Generic or unreadable error annotations do not suppress alerts.
- GitHub Actions handling is more resilient. The code retries transient GitHub API failures for longer and waits for newly dispatched runs to become available before reading their details.
- The scheduled GitHub Report workflow was removed. Its workflow file and README badges are no longer included.
🎯 Purpose & Impact
- Safer automated reviews: Fork PR feedback is less likely to be mistaken for a maintainer’s approval.
- More dependable PR descriptions: Authors are less likely to lose their own text or edits when the bot updates a summary.
- Less alert noise: Teams can focus on new or changed failures instead of receiving repeated alerts for the same issue.
- Clearer contributor recognition and more robust automation: PR credits and workflow status details are less likely to be misleading or unavailable during transient GitHub delays.
What's Changed
- Fork review approvals, PR summary edits, contributor credit and repeated failure alerts by @glenn-jocher in #970
Full Changelog: v0.5.34...v0.5.35
v0.5.34 - Lint for the Python version a repository declares (#969)
🌟 Summary
Release v0.5.34 makes Python linting respect each repository’s declared version, improves formatter reliability and test coverage, and updates several GitHub Actions workflows and utilities.
📊 Key Changes
- 🐍 Lint for the repository’s Python version — PR #969: Ruff now uses a repository’s
requires-pythonortarget-versionsettings when declared, instead of always assuming Python 3.8. The composite action and its fork-PR mirror follow the same rule; Markdown code snippets still target Python 3.8. - 🧪 Broader, more representative tests — PRs #966–#967: Coverage now includes the whole package, and new tests exercise previously untested release, review, formatting, and GitHub helper paths. The tests also exposed and fixed three docstring formatter issues.
- 🔐 More reliable CLA checks for private PRs — PR #964: Smaller PRs use GitHub’s pull-request commits endpoint, avoiding a comparison endpoint that can require extra access. Larger PRs retain paginated comparisons to handle long histories safely.
- 🏗️ Updated deployment destination — PR #968: The publishing workflow now dispatches the Cloud Run deployment from
ultralytics/automations. - 🧰 Custom virtual-environment locations — PR #965: The
setup-uvaction accepts an optionalvenv-path; existing users keep the runner-temp default. - 🤖 Other workflow and API updates: The release also adds tests for more GitHub automation paths and removes the
backgroundoption from the response helper, which now sends OpenAI requests without background storage.
🎯 Purpose & Impact
- ✅ Repositories using the formatter should see fewer incorrect lint errors when their Python version is newer than 3.8, while repositories without a declared version retain the existing Python 3.8 default.
- 🔍 Coverage reporting now reflects the full package rather than a selected subset, making it more useful for spotting untested code.
- 🔒 CLA checks can work with narrower permissions on private PRs, and still validate complete commit histories for larger PRs.
- ⚙️ Teams can place virtual environments where their runners’ security or workflow setup requires, without changing existing configurations.
⚠️ Callers that passedbackground=Trueto the response helper will need to remove that argument.
What's Changed
- Configure the GitHub App deployment repository by @glenn-jocher in #963
- Fix CLA checks for private pull requests by @glenn-jocher in #964
- Support a custom environment directory in setup-uv by @glenn-jocher in #965
- Measure the whole package in coverage and test the code it hid by @glenn-jocher in #966
- Test the release, review and formatting paths that had no coverage, and fix three docstring formatter bugs by @glenn-jocher in #967
- Redeploy the GitHub App from ultralytics/automations by @glenn-jocher in #968
- Lint for the Python version a repository declares by @glenn-jocher in #969
Full Changelog: v0.5.33...v0.5.34
v0.5.33 - Release notes include every PR, and PyPI outages never trigger a publish (#962)
🌟 Summary
v0.5.33 makes release automation more reliable: release notes capture the right pull requests, and package registry outages are less likely to trigger an unintended publish.
📊 Key Changes
- More complete release notes: Pull requests are found through GitHub’s commit associations and verified commit references, including PRs merged through staging branches. This helps include squash-merged PRs while filtering out unrelated issue or repository references.
- Release generation is more resilient: If collecting the PR list fails, the workflow can continue without it rather than stopping the release.
- Safer package publishing checks: PyPI and pub.dev requests now have timeouts. Only a
404is treated as a package that has not been published before; other errors or empty version responses raise an error instead of being mistaken for a first release. - Small maintenance updates: The setup workflow now uses
astral-sh/setup-uv10.4.0, and Ruff settings were updated to allow deliberate exception-handling patterns.
🎯 Purpose & Impact
- 📝 Release summaries should more reliably reflect the actual changes in each release, helping users and maintainers understand what shipped.
- 🛡️ Temporary registry outages are less likely to cause accidental or duplicate package publishing.
- 🔄 Release workflows can keep moving when PR collection fails, though the notes may lack the PR list in that case.
What's Changed
- Bump astral-sh/setup-uv from 10.3.2 to 10.4.0 in /setup-uv by @dependabot[bot] in #961
- Release notes include every PR, and PyPI outages never trigger a publish by @glenn-jocher in #962
Full Changelog: v0.5.32...v0.5.33
v0.5.32 - Fix bugs, wasted runs and log noise found in an Actions log audit (#960)
🌟 Summary
A reliability-focused release that fixes GitHub Actions bugs, avoids unnecessary formatting runs, and makes automation logs and label handling more dependable. No model changes are included.
📊 Key Changes
- ⚙️ Smarter formatting workflows: Formatting and related steps now run only for eligible same-repository pull request events, helping prevent bot-triggered repeat runs. Fork pull requests continue to be handled by the fork workflow.
- ⏱️ More reliable retry timeouts: On Linux, timed-out commands are cleaned up using the tracked process tree, without relying on
ps. The wrapper now exits with the expected timeout status instead of leaving processes running into another attempt. - 🐛 GitHub and Python compatibility fixes: Discussion locking no longer passes a reason that GitHub rejects, and discussion-event reporting works on Python 3.8.
- 🏷️ Safer label and contributor handling: Pull request labels are checked against available labels before being applied. Organization members no longer receive the first-time contributor checklist.
- 📁 More accurate file-header updates: Ignore rules now distinguish paths more precisely, reducing cases where ordinary files or folders were mistakenly skipped.
- 📝 Cleaner automation: Markdown code snippets with expected Ruff findings no longer fail formatting, and AI progress appears live in workflow logs. Dependabot now checks the root and individual action directories.
🎯 Purpose & Impact
- ✅ Fewer wasted workflow runs and less risk of formatting loops.
- 🧹 More dependable timeout cleanup, with fewer lingering processes and clearer failure reporting.
- 🔧 More reliable discussion moderation and compatibility with older supported Python versions.
- 👀 Easier-to-follow logs and fewer false skips or formatting failures for contributors.
What's Changed
- Fix bugs, wasted runs and log noise found in an Actions log audit by @glenn-jocher in #960
Full Changelog: v0.5.31...v0.5.32
v0.5.31 - Merge thank-yous name the PR's impact instead of a stock quote (#959)
🌟 Summary
Release v0.5.31 makes GitHub merge thank-you messages more specific by focusing on each PR’s impact instead of adding an inspirational quote.
📊 Key Changes
- Removed the requirement for a short, attributed quote from merge thank-you prompts.
- Asked messages to describe the concrete impact stated in the PR summary, without inventing results or benefits.
- Updated tests to check for impact-focused prompts and confirm they no longer request a quote.
🎯 Purpose & Impact
- 💬 Helps contributors receive more relevant, less repetitive thank-yous.
- ✅ Keeps acknowledgements grounded in what the PR actually describes.
- 🔄 The GitHub App’s
actionsservice will use the update after its next build.
What's Changed
- Merge thank-yous name the PR's impact instead of a stock quote by @glenn-jocher in #959
Full Changelog: v0.5.30...v0.5.31
v0.5.30 - Report non-JSON dispatch errors and keep UV_LINK_MODE through sudo (#958)
🌟 Summary
v0.5.30 makes workflow-dispatch failures clearer and preserves uv settings during Linux installs.
📊 Key Changes
- Reports non-JSON dispatch errors: When a failed GitHub workflow dispatch returns HTML or plain text instead of JSON, the error now includes the HTTP status and up to 300 characters of the response. GitHub’s existing JSON error messages are still handled as before.
- Preserves
UV_LINK_MODEthroughsudo: Linux installs now pass this setting touv, sosudono longer drops it.
🎯 Purpose & Impact
- Clearer troubleshooting: Users and the Assistant can see why a workflow did not start, including during GitHub outages, instead of encountering an unhelpful JSON parsing error.
- More consistent PR formatting runs: Keeping
UV_LINK_MODEintact avoids losing the runner’s intended install behavior and helps prevent recurringuvhardlink warnings. - No model changes: This release focuses on GitHub Actions and workflow reliability.
What's Changed
- Report non-JSON dispatch errors and keep UV_LINK_MODE through sudo by @glenn-jocher in #958
Full Changelog: v0.5.29...v0.5.30
v0.5.29 - Show which commit email blocks the CLA, and check nameless unlinked authors (#957)
🌟 Summary
v0.5.29 improves Contributor License Agreement (CLA) checks and updates the Slack notification action used in the publishing workflow.
📊 Key Changes
- Clearer, more complete CLA checks: Unlinked commit authors are now checked even when their commit has no author name. CLA status messages identify the commit author using their name and email, and explain how to resolve the issue.
- Slack workflow update: The publish-success notification now uses
slack-github-actionv4.1.0 instead of v4.0.0. - No model changes: This release focuses on repository automation and contributor workflows.
🎯 Purpose & Impact
- Contributors can see which commit email is preventing CLA approval and how to fix it: link the email to a GitHub account or amend the commit author.
- Nameless commits with unlinked authors no longer slip past the CLA check.
- The publishing workflow continues to send Slack success notifications using the updated action.
What's Changed
- Bump slackapi/slack-github-action from v4.0.0 to v4.1.0 in /.github/workflows by @UltralyticsAssistant in #956
- Show which commit email blocks the CLA, and check nameless unlinked authors by @glenn-jocher in #957
Full Changelog: v0.5.28...v0.5.29