Commit Graph
1171 Commits
Author SHA1 Message Date
David Peter 9abaa92cb8 [ty] Enable script dependency sync via ecosystem-analyzer (#30536)
Use `--sync-script-dependencies` in the ecosystem workflow to preinstall
PEP 723 script dependencies before timing either revision. The analyzer
passes `project-manager.script = "uv"` to both ty binaries, so the
workflow can drop `TY_UV: scripts`.

Update `uv.lock` to the analyzer revision that introduced the flag.
[astral-sh/ecosystem-analyzer#260](https://github.com/astral-sh/ecosystem-analyzer/pull/260)
2026-11-18 15:34:11 +01:00
David Peter a6df2c0d35 [ty] Enable uv script integration in Ruff’s project configuration (#30532)
Enable uv integration for PEP 723 scripts in Ruff's root
`pyproject.toml` with `project-manager.script = "uv"`. The script
dogfood step picks up that setting when it runs the ty binary built from
the checkout, so it can drop `TY_UV=scripts`.
2026-11-18 15:23:07 +01:00
renovate[bot] a397d0d085 Update uv to v0.13.9 (#30518)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/uv](https://redirect.github.com/astral-sh/uv) | | patch |
`0.13.7` → `0.13.9` |
|
[astral-sh/uv-pre-commit](https://redirect.github.com/astral-sh/uv-pre-commit)
| repository | patch | `0.13.7` → `0.13.9` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://redirect.github.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>astral-sh/uv</summary>

###
[`v0.13.9`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0139)

[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.13.8...0.13.9)

Released on 2026-11-17.

##### Preview features

- Support PEP 832 `.venv` redirect files for project environments
([#&#8203;21822](https://redirect.github.com/astral-sh/uv/pull/21822))
- Add the `http2-keep-alive` preview feature to close unresponsive
HTTP/2 connections with active requests
([#&#8203;23236](https://redirect.github.com/astral-sh/uv/pull/23236))

##### Performance

- Reduce lockfile size and speed up reads by factoring repeated
conditions in environment markers
([#&#8203;23184](https://redirect.github.com/astral-sh/uv/pull/23184))

##### Bug fixes

- Reject wheels advertised by an index under a different package name
([#&#8203;23261](https://redirect.github.com/astral-sh/uv/pull/23261))
- Fix `uv lock --locked` rejecting lockfiles with equivalent platform
markers written in different forms
([#&#8203;23185](https://redirect.github.com/astral-sh/uv/pull/23185))
- Correctly quote environment marker values that contain apostrophes
([#&#8203;23185](https://redirect.github.com/astral-sh/uv/pull/23185))
- Report which musl interpreter failed to return a readable version
([#&#8203;23213](https://redirect.github.com/astral-sh/uv/pull/23213))

##### Other changes

- Raise the minimum supported Rust version to 1.98
([#&#8203;23263](https://redirect.github.com/astral-sh/uv/pull/23263))

###
[`v0.13.8`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0138)

[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.13.7...0.13.8)

Released on 2026-11-12.

##### Python

- Add CPython 3.16.0a2
([#&#8203;23211](https://redirect.github.com/astral-sh/uv/pull/23211))
- Update managed CPython 3.11, 3.12, 3.13, 3.14, and 3.15 builds to
include pip 26.3, zlib 1.4, and Expat 2.10.0
([#&#8203;23211](https://redirect.github.com/astral-sh/uv/pull/23211))
- Update GraalPy 3.13.0 to build 25.5.5
([#&#8203;23088](https://redirect.github.com/astral-sh/uv/pull/23088))

##### Preview features

- Install wheel variants from local paths, direct URLs, and Git
repositories in platform-specific resolutions
([#&#8203;22720](https://redirect.github.com/astral-sh/uv/pull/22720),
[#&#8203;22722](https://redirect.github.com/astral-sh/uv/pull/22722),
[#&#8203;22724](https://redirect.github.com/astral-sh/uv/pull/22724))
- Detect x86-64 microarchitecture levels and AArch64 architecture
versions when selecting wheel variants
([#&#8203;22832](https://redirect.github.com/astral-sh/uv/pull/22832),
[#&#8203;22949](https://redirect.github.com/astral-sh/uv/pull/22949))
- Detect Google TPUs up when selecting wheel variants
([#&#8203;23066](https://redirect.github.com/astral-sh/uv/pull/23066),
[#&#8203;23121](https://redirect.github.com/astral-sh/uv/pull/23121))
- Fix CPU detection for wheel variants on macOS with GraalPy
([#&#8203;23089](https://redirect.github.com/astral-sh/uv/pull/23089))
- Report quarantined packages in `uv audit` when index URLs differ only
in redacted query values
([#&#8203;23129](https://redirect.github.com/astral-sh/uv/pull/23129))

##### Performance

- Avoid duplicate environment builds when concurrent `uvx` or `uv run
--with` invocations need the same environment
([#&#8203;23123](https://redirect.github.com/astral-sh/uv/pull/23123))

##### Bug fixes

- Restrict Unix plaintext credential files to owner-only permissions
([#&#8203;23209](https://redirect.github.com/astral-sh/uv/pull/23209))
- Honor per-index `exclude-newer-package` cutoffs during resolution
([#&#8203;23122](https://redirect.github.com/astral-sh/uv/pull/23122))
- Respect negative extra markers on constraints
([#&#8203;23144](https://redirect.github.com/astral-sh/uv/pull/23144))
- Resolve dependencies of recursive extras from a scoped override
([#&#8203;23210](https://redirect.github.com/astral-sh/uv/pull/23210))
- Fix `activate.bat` for Windows virtual environments whose paths
contain apostrophes
([#&#8203;23152](https://redirect.github.com/astral-sh/uv/pull/23152))

##### Documentation

- Document the shell requirement for GitLab CI job images
([#&#8203;23078](https://redirect.github.com/astral-sh/uv/pull/23078))

</details>

<details>
<summary>astral-sh/uv-pre-commit</summary>

###
[`v0.13.9`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.13.9)

[Compare
Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.13.8...0.13.9)

See: <https://github.com/astral-sh/uv/releases/tag/0.13.9>

###
[`v0.13.8`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.13.8)

[Compare
Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.13.7...0.13.8)

See: <https://github.com/astral-sh/uv/releases/tag/0.13.8>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 4am on Wednesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNDkuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI0OS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-18 08:52:23 +01:00
Ee Durbin 7be0f442ff Trigger the VS Code extension release after stable Ruff releases (#30413)
After each stable Ruff release, the downstream notifier starts
`ruff-vscode`’s `release-prepare.yml` with the released version and
`auto-promote=true`. The extension merges its version bump after CI and
waits for approval before marketplace publication.

Merge
[ruff-vscode#1256](https://github.com/astral-sh/ruff-vscode/pull/1256)
first.
2026-11-17 16:31:01 -05:00
William Woodruff 28d934bb5c Update CI Node.js to 26.12.1 for the eMudhra fix (#30506)
<details>
<summary>Automated notes</summary>

Use Node.js 26.12.1 for the `setup-node` jobs affected by the eMudhra
intermediate CA compromise. [Node.js security
release](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases)

Use `^26.12.1` where the workflow previously selected a floating major.
This keeps selection within Node.js 26 and excludes vulnerable cached
releases.

</details>
2026-11-17 15:45:52 -05:00
David Peter db6e238c40 Infer the Ruff release tag from the crate version (#30494)
## Summary

Follow [uv’s release
workflow](https://github.com/astral-sh/uv/pull/19477) and [ty’s release
workflow](https://github.com/astral-sh/ty/pull/5014) by deriving the
GitHub release tag from the checked-out version. Ruff reads the
Cargo-style version from `crates/ruff/Cargo.toml` so prerelease tags
retain their existing format.
2026-11-17 16:57:31 +01:00
Charlie MarshandCharlie Marsh 8a6a9492d0 Upgrade Hawk to 0.1.18 on Rust 1.100 (#30487)
## Summary

The workspace now uses Rust 1.100, but the Hawk CI job still runs Hawk
0.1.17 on Rust 1.99. We now use Hawk 0.1.18, which requires Rust 1.100,
and update the workspace cache action to release 2026.11.16.1.

Co-authored-by: Charlie Marsh <charliemarsh@openai.com>
2026-11-16 19:33:34 -05:00
William Woodruff 3c7055dcce Pin astral-sh/github-actions to 2026.11.16.0 (#30464)
## Summary

Pin the shared actions and reusable workflow to commit
`67dc9ee1ddc113eccd8116e7b949fb6cdcd89889` from [release
2026.11.16.0](https://github.com/astral-sh/github-actions/releases/tag/2026.11.16.0).
Add the release version beside each YAML pin. The token-service policy
matches the new security-review workflow SHA.

## Notes to reviewers

Parsed the changed YAML and JSON and verified that each referenced
action or reusable workflow exists at the pinned commit. The
repository’s changed-file prek hooks passed for all 15 files.
2026-11-16 11:53:37 -05:00
Zanie Blue 4fcefea1cc Avoid multipart uploads for release artifacts (#30392)
The ty 0.0.102 release mirror failed when R2 rejected
`CompleteMultipartUpload` with `InvalidPart` for a 17 MiB archive in the
[initial mirror
job](https://github.com/astral-sh/ty/actions/runs/43313189391/job/131528867907).
Its
[retry](https://github.com/astral-sh/ty/actions/runs/43313189391/job/131530133434)
uploaded the missing archive and reported `ObjectLockedByBucketPolicy`
for 17 previously published multipart artifacts. Ruff uses the same AWS
CLI 8 MiB default, which selects this multipart path even though
Cloudflare recommends single uploads below roughly 100 MB.

Raise `multipart_threshold` to 100 MiB so current Ruff artifacts avoid
`CompleteMultipartUpload`. `--no-overwrite` remains a list-based check
rather than an atomic write condition, so the change does not provide
general write idempotency. Artifacts larger than the threshold would
still use multipart uploads and require explicit reconciliation for
retries against immutable keys; Ruff does not currently produce an
artifact near that threshold.
2026-11-12 22:52:03 +00:00
Alex Waygood 650401ca40 [ty] Show failure kinds and timeout timings in py-fuzzer reports (#30367) 2026-11-12 13:49:40 +00:00
Alex Waygood ca6026f9f2 [ty] Make fuzz failures stand out in PR comments (#30361) 2026-11-12 12:16:55 +00:00
Micha Reiser dd757ebabb Update the CodSpeed benchmark harnesses and runner (#30323)
## Summary

We see cases where the codspeed result differs based on the order in
which the benchmarks run, because they all run in the same process (and
use the same allocator). Newer codspeed versions run each benchmark in a
separate process, protecting them from "warm allocator" effects.

This PR updates `cargo-codspeed` to 6.0.0 and the CodSpeed action to
5.6.3. Each simulated Criterion or Divan benchmark now starts in a fresh
process, so allocations in one fixture can no longer change the
instruction count of the next.

## Test Plan

Verified that the linter fixture and all four module-resolution inputs
each ran in a separate process, and that the updated dependencies meet
the seven-day cooldown.
2026-11-11 10:27:32 +01:00
renovate[bot] f43486e5f0 Update CodSpeedHQ/action action to v5.4.2 (#30298)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [CodSpeedHQ/action](https://redirect.github.com/CodSpeedHQ/action) |
action | patch | `v5.4.0` → `v5.4.2` | `v5.6.3` (+3) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.

---

### Release Notes

<details>
<summary>CodSpeedHQ/action</summary>

###
[`v5.4.2`](https://redirect.github.com/CodSpeedHQ/action/releases/tag/v5.4.2)

[Compare
Source](https://redirect.github.com/CodSpeedHQ/action/compare/v5.4.0...v5.4.2)

Bumps the CodSpeed runner to
[v5.4.2](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.4.2),
including
[v5.4.1](https://redirect.github.com/CodSpeedHQ/codspeed/releases/tag/v5.4.1).

This release improves and adds support for memory flamegraphs in C++,
Python and Node.js.

Fixes flamegraphs for Python in simulation mode in the exec CLI.

##### 🚀 Features

- Name Python and Node.js frames in memory flamegraphs: emit their perf
maps in memory mode, and harvest perf maps and JIT unwind data for
memory tracking, by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;556](https://redirect.github.com/CodSpeedHQ/codspeed/pull/556)
- Launch `node` with the codspeed-node V8 flags for the current mode in
`codspeed exec`, including through npm, npx and `#!/usr/bin/env node`
scripts, by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;556](https://redirect.github.com/CodSpeedHQ/codspeed/pull/556)

##### 🐛 Bug Fixes

- Always set `PYTHONPERFSUPPORT`, so Python `codspeed exec` targets keep
their Python frames in simulation-mode flamegraphs, by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;577](https://redirect.github.com/CodSpeedHQ/codspeed/pull/577)
- Fix memory flamegraph stacks: restore return addresses hijacked by
uretprobes in nested allocator calls, compare mapped modules against
their mapping, and keep every placement of a module mapped more than
once, by
[@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;564](https://redirect.github.com/CodSpeedHQ/codspeed/pull/564),
[#&#8203;563](https://redirect.github.com/CodSpeedHQ/codspeed/pull/563)
and
[#&#8203;556](https://redirect.github.com/CodSpeedHQ/codspeed/pull/556)
- Only pass `--interpreted-frames-native-stack` to node in analysis mode
by [@&#8203;not-matthias](https://redirect.github.com/not-matthias) in
[#&#8203;556](https://redirect.github.com/CodSpeedHQ/codspeed/pull/556)
- Label dropped benchmarks in the comparison table by
[@&#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&#8203;570](https://redirect.github.com/CodSpeedHQ/codspeed/pull/570)

##### ⚙️ Internals

- Pin memtrack 1.6.1 and exec-harness 1.4.1, through 1.4.0, by
[@&#8203;adriencaccia](https://redirect.github.com/adriencaccia) in
[#&#8203;575](https://redirect.github.com/CodSpeedHQ/codspeed/pull/575)
and
[#&#8203;580](https://redirect.github.com/CodSpeedHQ/codspeed/pull/580)

**Full Runner Changelog**:
<https://github.com/CodSpeedHQ/codspeed/blob/main/CHANGELOG.md>

#### What's Changed

- chore: bump runner version to 5.4.2 by
[@&#8203;github-actions](https://redirect.github.com/github-actions)\[bot]
in [#&#8203;246](https://redirect.github.com/CodSpeedHQ/action/pull/246)

**Full Changelog**:
<https://github.com/CodSpeedHQ/action/compare/v5.4.0...v5.4.2>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 4am on Wednesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 08:19:05 +01:00
renovate[bot] f04b300e29 Update dependency python to 3.15 (#30314)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [python](https://redirect.github.com/actions/python-versions) |
uses-with | minor | `3.14` → `3.15` | `3.15.2` (+1) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.

---

### Release Notes

<details>
<summary>actions/python-versions (python)</summary>

###
[`v3.15.0`](https://redirect.github.com/actions/python-versions/releases/tag/3.15.0-38076878863):
3.15.0

[Compare
Source](https://redirect.github.com/actions/python-versions/compare/3.14.10-40336797752...3.15.0-38076878863)

Python 3.15.0

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 4am on Wednesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 08:17:54 +01:00
renovate[bot] b45b4aaae9 Update dependency node to v26.11.1 (#30313)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [node](https://redirect.github.com/actions/node-versions) | uses-with
| minor | `26.10.0` → `26.11.1` | `26.13.0` (+2) |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.

---

### Release Notes

<details>
<summary>actions/node-versions (node)</summary>

###
[`v26.11.1`](https://redirect.github.com/actions/node-versions/releases/tag/26.11.1-37718106145):
26.11.1

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/26.11.0-37718124002...26.11.1-37718106145)

Node.js 26.11.1

###
[`v26.11.0`](https://redirect.github.com/actions/node-versions/releases/tag/26.11.0-37718124002):
26.11.0

[Compare
Source](https://redirect.github.com/actions/node-versions/compare/26.10.0-35737674515...26.11.0-37718124002)

Node.js 26.11.0

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 4am on Wednesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 08:11:20 +01:00
renovate[bot] f888b7d0d7 Update actions/setup-node action to v7.1.0 (#30312)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/setup-node](https://redirect.github.com/actions/setup-node) |
action | minor | `v7.0.0` → `v7.1.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.

---

### Release Notes

<details>
<summary>actions/setup-node</summary>

###
[`v7.1.0`](https://redirect.github.com/actions/setup-node/releases/tag/v7.1.0)

[Compare
Source](https://redirect.github.com/actions/setup-node/compare/v7.0.0...v7.1.0)

#### What's Changed

##### Enhancements:

- Add support for mise.toml file by
[@&#8203;gperdomor](https://redirect.github.com/gperdomor) in
[#&#8203;1421](https://redirect.github.com/actions/setup-node/pull/1421)
- Support absolute paths in node-version-file by
[@&#8203;v-mahabaleshwars](https://redirect.github.com/v-mahabaleshwars)
in
[#&#8203;1633](https://redirect.github.com/actions/setup-node/pull/1633)

##### Bug fixes:

- Add Node version validation and manifest fetch retry by
[@&#8203;v-jitenderpalsingh](https://redirect.github.com/v-jitenderpalsingh)
in
[#&#8203;1580](https://redirect.github.com/actions/setup-node/pull/1580)

##### Documentation updates:

- README.md: bump actions/checkout to latest version 7 by
[@&#8203;deining](https://redirect.github.com/deining) in
[#&#8203;1578](https://redirect.github.com/actions/setup-node/pull/1578)
- docs: add V7 ESM migration and NODE_AUTH_TOKEN behavior change by
[@&#8203;v-gowridurgad](https://redirect.github.com/v-gowridurgad) in
[#&#8203;1593](https://redirect.github.com/actions/setup-node/pull/1593)
- Fixed cache recommendation syntax by
[@&#8203;SubJunk](https://redirect.github.com/SubJunk) in
[#&#8203;1603](https://redirect.github.com/actions/setup-node/pull/1603)

##### Dependency updates:

- Update workflow pins and migrate Node matrices to modern versions by
[@&#8203;v-HarithaVattikuti](https://redirect.github.com/v-HarithaVattikuti)
in
[#&#8203;1583](https://redirect.github.com/actions/setup-node/pull/1583)
- Upgrade
[@&#8203;actions/cache](https://redirect.github.com/actions/cache) to
6.2.0 by [@&#8203;philip-gai](https://redirect.github.com/philip-gai) in
[#&#8203;1584](https://redirect.github.com/actions/setup-node/pull/1584)
- Pin [@&#8203;types/node](https://redirect.github.com/types/node) to
v24 by
[@&#8203;v-priyagupta108](https://redirect.github.com/v-priyagupta108)
in
[#&#8203;1585](https://redirect.github.com/actions/setup-node/pull/1585)
- Override brace-expansion to 5.0.8 by
[@&#8203;v-priyagupta108](https://redirect.github.com/v-priyagupta108)
with [@&#8203;Copilot](https://redirect.github.com/Copilot) in
[#&#8203;1599](https://redirect.github.com/actions/setup-node/pull/1599)
- Upgrade actions/checkout from 7.0.0 to 7.0.1 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1598](https://redirect.github.com/actions/setup-node/pull/1598)
- Upgrade prettier from 3.8.4 to 3.9.6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1590](https://redirect.github.com/actions/setup-node/pull/1590)
- Upgrade [@&#8203;vercel/ncc](https://redirect.github.com/vercel/ncc)
from 0.44.0 to 0.45.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1610](https://redirect.github.com/actions/setup-node/pull/1610)
- Upgrade pnpm/action-setup from 6.0.9 to 6.0.10 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1602](https://redirect.github.com/actions/setup-node/pull/1602)
- Upgrade baseline-browser-mapping from 2.10.38 to 2.11.22 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1629](https://redirect.github.com/actions/setup-node/pull/1629)
- Upgrade
[@&#8203;types/semver](https://redirect.github.com/types/semver) from
7.7.1 to 7.8.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1616](https://redirect.github.com/actions/setup-node/pull/1616)
- Upgrade
[@&#8203;typescript-eslint/parser](https://redirect.github.com/typescript-eslint/parser)
from 8.62.0 to 8.70.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1615](https://redirect.github.com/actions/setup-node/pull/1615)
- Upgrade pnpm/action-setup from 6.0.10 to 6.1.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1631](https://redirect.github.com/actions/setup-node/pull/1631)
- Upgrade jest-each from 30.4.1 to 30.5.2 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1636](https://redirect.github.com/actions/setup-node/pull/1636)
- Upgrade eslint-plugin-n from 18.1.0 to 18.3.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1638](https://redirect.github.com/actions/setup-node/pull/1638)
- Update dependencies and add license files by
[@&#8203;v-HarithaVattikuti](https://redirect.github.com/v-HarithaVattikuti)
in
[#&#8203;1642](https://redirect.github.com/actions/setup-node/pull/1642)
- Upgrade eslint from 10.5.0 to 10.11.0 and package.json from 7.0.0 to
7.1.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot) in
[#&#8203;1635](https://redirect.github.com/actions/setup-node/pull/1635)

#### New Contributors

-
[@&#8203;v-jitenderpalsingh](https://redirect.github.com/v-jitenderpalsingh)
made their first contribution in
[#&#8203;1580](https://redirect.github.com/actions/setup-node/pull/1580)
- [@&#8203;philip-gai](https://redirect.github.com/philip-gai) made
their first contribution in
[#&#8203;1584](https://redirect.github.com/actions/setup-node/pull/1584)
- [@&#8203;gperdomor](https://redirect.github.com/gperdomor) made their
first contribution in
[#&#8203;1421](https://redirect.github.com/actions/setup-node/pull/1421)
- [@&#8203;SubJunk](https://redirect.github.com/SubJunk) made their
first contribution in
[#&#8203;1603](https://redirect.github.com/actions/setup-node/pull/1603)

**Full Changelog**:
<https://github.com/actions/setup-node/compare/v7.0.0...v7.1.0>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 4am on Wednesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 08:10:37 +01:00
renovate[bot] dcef543949 Update astral-sh/setup-uv action to v10.3.3 (#30297)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv) |
action | patch | `v10.3.2` → `v10.3.3` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.

---

### Release Notes

<details>
<summary>astral-sh/setup-uv</summary>

###
[`v10.3.3`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v10.3.3):
🌈 Use Astral mirror for version manifests with GitHub fallback

[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v10.3.2...v10.3.3)

##### Changes

This release contains something that should have been included a very
long time ago. Sorry for sleeping on that.

This action now retrieves the release manifest that contains the
available versions, their download links and checksums from the Astral
mirror, rather than trying GitHub first. This should present much more
stable.
(Known checksums are still checked, so the security impact does not
change)

Also a big thank you to
[@&#8203;soujasK](https://redirect.github.com/soujasK) for a set of
bugfixes 👏

##### 🐛 Bug fixes

- Use Astral mirror for version manifests with GitHub fallback
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;1119](https://redirect.github.com/astral-sh/setup-uv/issues/1119))
- fix: allow whitespace in uv requirement specifiers
[@&#8203;soujasK](https://redirect.github.com/soujasK)
([#&#8203;1112](https://redirect.github.com/astral-sh/setup-uv/issues/1112))
- fix: resolve \~= specifiers with PEP 440 semantics
[@&#8203;soujasK](https://redirect.github.com/soujasK)
([#&#8203;1111](https://redirect.github.com/astral-sh/setup-uv/issues/1111))
- fix: only report a saved cache when saving succeeded
[@&#8203;soujasK](https://redirect.github.com/soujasK)
([#&#8203;1110](https://redirect.github.com/astral-sh/setup-uv/issues/1110))

##### 🧰 Maintenance

- chore: update known checksums for 0.13.6
@&#8203;[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#&#8203;1117](https://redirect.github.com/astral-sh/setup-uv/issues/1117))

##### 📚 Documentation

- docs: use JSDoc for compatible release specifier comment
[@&#8203;eifinger](https://redirect.github.com/eifinger)
([#&#8203;1113](https://redirect.github.com/astral-sh/setup-uv/issues/1113))
- docs: update version references to v10.3.2
@&#8203;[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
([#&#8203;1104](https://redirect.github.com/astral-sh/setup-uv/issues/1104))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 4am on Wednesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 08:08:25 +01:00
renovate[bot] 500178e516 Update dependency astral-sh/uv to v0.13.7 (#30299)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [astral-sh/uv](https://redirect.github.com/astral-sh/uv) | patch |
`0.13.6` → `0.13.7` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.

---

### Release Notes

<details>
<summary>astral-sh/uv</summary>

###
[`v0.13.7`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0137)

[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.13.6...0.13.7)

Released on 2026-11-03.

##### Preview features

- Add `--output-version` to `uv workspace metadata` for requesting a
specific schema version
([#&#8203;22958](https://redirect.github.com/astral-sh/uv/pull/22958))
- Report aliased OSV records as a single vulnerability in `uv audit`
([#&#8203;22990](https://redirect.github.com/astral-sh/uv/pull/22990))

##### Bug fixes

- Treat workspace member paths added by `uv init` or `uv add` as
literals instead of glob patterns
([#&#8203;23008](https://redirect.github.com/astral-sh/uv/pull/23008))
- Prevent uv's Windows trampolines from closing handles they did not
inherit
([#&#8203;22977](https://redirect.github.com/astral-sh/uv/pull/22977))
- Allow `uvx` to run tools with CPython builds whose versions contain
local identifiers
([#&#8203;23013](https://redirect.github.com/astral-sh/uv/pull/23013))
- Generate valid module names when `uv init` creates packaged projects
whose names start with a digit
([#&#8203;23022](https://redirect.github.com/astral-sh/uv/pull/23022))
- Preserve comments around existing inline dependency groups when `uv
add` updates a group
([#&#8203;23017](https://redirect.github.com/astral-sh/uv/pull/23017))
- Allow `uv remove` with an empty inline `tool.uv.sources` table
([#&#8203;23012](https://redirect.github.com/astral-sh/uv/pull/23012))

##### Documentation

- Correct the `cache-keys` inline table example
([#&#8203;22984](https://redirect.github.com/astral-sh/uv/pull/22984))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 4am on Wednesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 08:04:32 +01:00
renovate[bot] 282fc49e99 Update Artifact GitHub Actions dependencies (#30296)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/download-artifact](https://redirect.github.com/actions/download-artifact)
| action | patch | `v8.0.1` → `v8.0.2` |
|
[actions/upload-artifact](https://redirect.github.com/actions/upload-artifact)
| action | patch | `v7.0.1` → `v7.0.2` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.

---

### Release Notes

<details>
<summary>actions/download-artifact</summary>

###
[`v8.0.2`](https://redirect.github.com/actions/download-artifact/releases/tag/v8.0.2)

[Compare
Source](https://redirect.github.com/actions/download-artifact/compare/v8.0.1...v8.0.2)

#### What's Changed

- Update the readme by
[@&#8203;danwkennedy](https://redirect.github.com/danwkennedy) in
[#&#8203;473](https://redirect.github.com/actions/download-artifact/pull/473)
- Improves artifact download retries when the service returns HTTP 429
(rate limiting), including honoring valid Retry-After headers.
- Update
[@&#8203;actions/artifact](https://redirect.github.com/actions/artifact)
to 6.3.1 by [@&#8203;tunc-d](https://redirect.github.com/tunc-d) in
[#&#8203;492](https://redirect.github.com/actions/download-artifact/pull/492)
- Prepare download-artifact v8.0.2 by
[@&#8203;tunc-d](https://redirect.github.com/tunc-d) in
[#&#8203;493](https://redirect.github.com/actions/download-artifact/pull/493)

#### New Contributors

- [@&#8203;tunc-d](https://redirect.github.com/tunc-d) made their first
contribution in
[#&#8203;492](https://redirect.github.com/actions/download-artifact/pull/492)

**Full Changelog**:
<https://github.com/actions/download-artifact/compare/v8.0.1...v8.0.2>

</details>

<details>
<summary>actions/upload-artifact</summary>

###
[`v7.0.2`](https://redirect.github.com/actions/upload-artifact/releases/tag/v7.0.2)

[Compare
Source](https://redirect.github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2)

#### What's Changed

- Improves artifact download retries when the service returns HTTP 429
(rate limiting), including honoring valid Retry-After headers.
- Updates
[@&#8203;actions/artifact](https://redirect.github.com/actions/artifact)
to v6.3.1.

#### New Contributors

- [@&#8203;tunc-d](https://redirect.github.com/tunc-d) made their first
contribution in
[#&#8203;821](https://redirect.github.com/actions/upload-artifact/pull/821)

**Full Changelog**:
<https://github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 4am on Wednesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 00:58:38 +00:00
Alex Waygood a0358433d2 Restore automatic PR labels and the ty title prefix (#30275) 2026-11-10 18:01:21 +00:00
Micha Reiser 2ff1f19da0 [ty] Rebalance the instrumented microbenchmark shards (#30123) 2026-11-06 15:40:25 +01:00
Micha Reiser 541e689110 [ty] Disable allocation stack capture for instrumented memory benchmarks (#30112) 2026-11-06 09:22:38 +01:00
Ee Durbin 614fdf7c28 Skip existing release artifacts when retrying mirror uploads (#30075)
A mirror upload can fail after some files for a release have already
reached R2. Retrying then attempts to overwrite those immutable objects
and can fail again.

This change makes the versioned mirror upload skip existing keys and
upload only the missing files. It assumes a retry uses the same release
artifacts. An existing file is kept even if its local checksum differs.

Tested against a local S3 server with a partially uploaded release. The
first run preserved the existing file and uploaded the missing files. A
second run made zero writes.
2026-11-05 14:52:46 -05:00
Micha Reiser c9150f0083 Add project walltime benchmarks for Ruff (#30061) 2026-11-05 15:57:31 +01:00
Alex Waygood 8d29495925 [ty] Update stale fuzz reports after a clean run (#30047)
Follow-up to #29972. On pull requests opened from a branch in this
repository, the report bot currently leaves its last fuzz failure
comment in place even after a later run finds no new ty panics or
timeouts. With this PR, a clean run now updates that comment with the
result. If the pull request has no fuzz report, a clean run stays
silent.

The CI workflow calls the reusable report publisher from `main`. Until
the publisher change in #30063 lands on `main`, GitHub Actions will
reject the caller because it passes the new `update-existing-only`
input.
2026-11-05 12:07:56 +00:00
Alex Waygood 0696c1efd3 Add an update-only mode to the PR report publisher (#30063)
When a ty fuzz run passes after an earlier failure on the same PR,
#30047 will update the failure comment to show that the latest run
passed. A PR with no earlier report should stay quiet. CI on #30047
calls the reusable report publisher from `main`, so the new input must
land on `main` before that PR can pass it.

Add an optional `update-existing-only` input to the publisher. When
enabled, the publisher updates the bot’s existing comment for that
report. If there is no stored comment ID or the comment has been
deleted, it skips publication. Callers that omit the input can still
create a comment.
2026-11-05 11:40:37 +00:00
William Woodruff 49ef18ab7b Use jaq from the Astral dev toolchain in CI (#29922)
Signed-off-by: William Woodruff <william@yossarian.net>
2026-11-04 12:45:55 -05:00
zaniebotandzaniebot adf57b1758 [ty] Report fuzz failures before minimizing them (#29972)
Minimizing a new `ty` panic or timeout can keep the pull request fuzz
check running for minutes after it finds the failing input. Annotate
each failing seed when it is found, then fail the check after scanning
the full corpus. A separate job minimizes the saved inputs with the same
pull request and baseline binaries.

On same-repository pull requests, the report bot posts “Panic or timeout
detected. Minimization in progress…” when the scan finishes. It updates
that comment with the reproducers. Fork pull requests can download the
report from the workflow run.

[Sample report from
#29553](https://github.com/astral-sh/ruff/pull/29972#issuecomment-6615232776).

---------

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-11-04 11:11:41 -06:00
Alex Waygood 42db175e66 Move threat models into .agents/references (#30041) 2026-11-04 16:19:43 +00:00
Zanie Blueandzaniebot 1a0f6a3a5e Use CodSpeed’s larger Ryzen runner for walltime benchmarks (#28225)
Move walltime benchmarks from six sharded Graviton jobs to one newly
enabled AMD Ryzen 9950X macro runner. Build the `ty_walltime`,
`ty_script`, and `ty_ide` binaries on x86_64 Ubuntu 24.04 and run the
complete artifact without filters, preserving benchmark coverage while
avoiding repeated setup.

Keep the existing triggers, permissions, artifact handoff, CodSpeed
action configuration, and walltime environment settings unchanged. A
previous five-run trial on this runner class reduced aggregate benchmark
runner time by 5.35× and visible benchmark-stage time by 1.40×.

---------

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-11-04 09:40:29 -06:00
renovate[bot] 40d94c5a5e Update dependency python to 3.14 (#30006) 2026-11-04 00:52:36 -08:00
renovate[bot] e773ef4fb2 Update CodSpeedHQ/action action to v5.4.0 (#30004) 2026-11-04 00:52:20 -08:00
renovate[bot] 6ba2c338b6 Update astral-sh/setup-uv action to v10.3.3 (#29998) 2026-11-04 00:48:37 -08:00
renovate[bot] e25544e696 Update uv to v0.13.7 (#30003)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/uv](https://redirect.github.com/astral-sh/uv) | | patch |
`0.13.6` → `0.13.7` |
|
[astral-sh/uv-pre-commit](https://redirect.github.com/astral-sh/uv-pre-commit)
| repository | patch | `0.13.6` → `0.13.7` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/10578) for more information.

Note: The `pre-commit` manager in Renovate is not supported by the
`pre-commit` maintainers or community. Please do not report any problems
there, instead [create a Discussion in the Renovate
repository](https://redirect.github.com/renovatebot/renovate/discussions/new)
if you have any questions.

---

### Release Notes

<details>
<summary>astral-sh/uv</summary>

###
[`v0.13.7`](https://redirect.github.com/astral-sh/uv/blob/HEAD/CHANGELOG.md#0137)

[Compare
Source](https://redirect.github.com/astral-sh/uv/compare/0.13.6...0.13.7)

Released on 2026-11-03.

##### Preview features

- Add `--output-version` to `uv workspace metadata` for requesting a
specific schema version
([#&#8203;22958](https://redirect.github.com/astral-sh/uv/pull/22958))
- Report aliased OSV records as a single vulnerability in `uv audit`
([#&#8203;22990](https://redirect.github.com/astral-sh/uv/pull/22990))

##### Bug fixes

- Treat workspace member paths added by `uv init` or `uv add` as
literals instead of glob patterns
([#&#8203;23008](https://redirect.github.com/astral-sh/uv/pull/23008))
- Prevent uv's Windows trampolines from closing handles they did not
inherit
([#&#8203;22977](https://redirect.github.com/astral-sh/uv/pull/22977))
- Allow `uvx` to run tools with CPython builds whose versions contain
local identifiers
([#&#8203;23013](https://redirect.github.com/astral-sh/uv/pull/23013))
- Generate valid module names when `uv init` creates packaged projects
whose names start with a digit
([#&#8203;23022](https://redirect.github.com/astral-sh/uv/pull/23022))
- Preserve comments around existing inline dependency groups when `uv
add` updates a group
([#&#8203;23017](https://redirect.github.com/astral-sh/uv/pull/23017))
- Allow `uv remove` with an empty inline `tool.uv.sources` table
([#&#8203;23012](https://redirect.github.com/astral-sh/uv/pull/23012))

##### Documentation

- Correct the `cache-keys` inline table example
([#&#8203;22984](https://redirect.github.com/astral-sh/uv/pull/22984))

</details>

<details>
<summary>astral-sh/uv-pre-commit</summary>

###
[`v0.13.7`](https://redirect.github.com/astral-sh/uv-pre-commit/releases/tag/0.13.7)

[Compare
Source](https://redirect.github.com/astral-sh/uv-pre-commit/compare/0.13.6...0.13.7)

See: <https://github.com/astral-sh/uv/releases/tag/0.13.7>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 4am on Wednesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDQuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-04 08:50:23 +01:00
zaniebotandZanie Blue 43a2655262 Enforce a seven-day cooldown for crates.io dependencies (#29984)
Require crates.io releases in Ruff’s tracked `Cargo.lock` files to be at
least seven days old before a pull request can merge. The shared
`cargo-cooldowns` action covers both the workspace and fuzz lockfiles.

Co-authored-by: Zanie Blue <contact@zanie.dev>
2026-11-03 16:36:56 -06:00
William Woodruff 1223021fc2 Run demudhra first on macOS (#29977) 2026-11-03 14:29:34 -05:00
zaniebot 3da2e9066d [ty] Fuzz 20,001 seeds on pull requests (#29914) 2026-11-02 15:35:38 -06:00
zaniebot fe5e691570 [ty] Reuse the fixed-seed corpus across fuzz jobs (#29909) 2026-11-02 15:01:27 -06:00
Charlie Marsh f35670fa64 Upgrade Hawk to 0.1.17 and cache workspace artifacts (#29837)
## Summary

Caching Ruff's compiled crates and Hawk's graphs cut the `cargo hawk` CI
job by 39% on the ty subscript change (#29824), including restore. This
upgrades Hawk to 0.1.17 and caches both under `target/hawk`. PRs share
entries saved by `main`, at about 1 GB compressed per entry (112 MB more
than caching dependencies alone).

| What we timed | Before | After | Added cache (compressed) | Runs |
| --- | ---: | ---: | ---: | --- |
| Full job on 0.1.16, adding crates and graphs to the dependency cache |
6m 36s | 4m 30s, 3m 37s | 111.7 MB (885.7 → 997.4 MB) |
[Baseline](https://github.com/astral-sh/ruff/actions/runs/40990262689/job/123850805721)
· [Warm
1](https://github.com/astral-sh/ruff/actions/runs/41014762115/job/123928917090)
· [Warm
2](https://github.com/astral-sh/ruff/actions/runs/41014762115/job/123932651882)
|
| `cargo hawk check` on 0.1.17, adding `hawk-fragments/` to warm crates
| 7m 19s | 3m 05s | 89 MB | [Paired
runs](https://github.com/astral-sh/ruff/actions/runs/41068692068) |

The warm runs restored the PR's parent build. Two runners tried the
fragment comparison in opposite orders. The graphs saved 4m 14s (58%)
per check, or 4m 07s including local extraction and input validation.
2026-10-30 20:03:53 +00:00
Zanie Blueandzaniebot 589433f2ed Add HTML reports for Ruff ecosystem checks (#29629)
Ruff ecosystem comments can omit details from large linter diffs.
Generate HTML reports alongside the Markdown results for linter and
formatter runs, with project filters, search, and paginated browsing.
Linter reports also support filtering by rule; formatter reports include
hunk context.

Link the available reports from the PR comment through the shared
publisher, retaining the downloadable artifact.

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-10-28 19:10:52 -04:00
renovate[bot] 9ea3f2cab4 Update dependency node to v26 (#29779) 2026-10-27 17:29:50 -07:00
renovate[bot] 9c892e8b84 Update astral-sh/setup-uv action to v10.3.2 (#29772) 2026-10-27 17:24:50 -07:00
renovate[bot] 0912dfda18 Update uv to v0.13.6 (#29776) 2026-10-27 17:22:45 -07:00
Zanie Blueandzaniebot 5fabb6f32c Handle AI policy labels through Actions (#29676)
Handle `bot:ai-policy-comment` and `bot:ai-policy-close` on issues and
pull requests with the shared `ai-policy` action. The automation
dispatcher runs `ai-policy.yml` on `main`, where an STS-issued
`astral-automations-bot` token posts the policy reminder and optionally
closes the target.

Draft and fork PRs are supported. The workflow checks the current label
and state without checking out PR code.

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-10-23 16:42:22 +00:00
zaniebot f12318671d [ty] Remove the weekly ecosystem report (#29662) 2026-10-23 00:02:15 +00:00
Alex Waygood 10056500e0 Update uv to 0.13.5 (#29659) 2026-10-22 23:29:36 +00:00
7fab688f61 [ty] Host ecosystem reports from pull requests (#29625)
ty ecosystem comments currently require downloading a ZIP to view the
full reports. Add an optional `upload-html` mode to the shared report
publisher and enable it for ty, linking directly to the diagnostic diff
and timing results while retaining the downloadable artifact.

The publisher runs from `main`, uses STS for GitHub credentials, and
obtains temporary AWS upload credentials through GitHub OIDC when
hosting is enabled. Each caller supplies filenames and content types,
with optional link labels. The publisher reads only those files from a
bounded archive without extracting or executing them during publication,
and stores reports under separate paths for each PR, report, run, and
attempt. If an upload fails, the publisher still attempts to post the
summary and, when available, the artifact link.

The `automations` environment requires `REPORTS_BUCKET`, `REPORTS_URL`,
`REPORTS_ROLE_ARN`, and `REPORTS_REGION` from the report hosting
infrastructure.

---------

Co-authored-by: Zanie Blue <2586601+zanieb@users.noreply.github.com>
Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-10-22 22:44:25 +00:00
Alex Waygood a51aeefc9a Remove unnecessary checkouts from release jobs (#29655) 2026-10-22 15:40:10 -07:00
Alex Waygood 86c978007e Build the Ruff playground earlier in releases (#29650) 2026-10-22 14:34:35 -07:00
zaniebotandzaniebot 7d2a3c8b12 Remove unused mold setup from CI (#29639)
Linux CI installs `mold` by replacing the system linker, but the current
Rust toolchain and MSRV already select bundled `lld` for
`x86_64-unknown-linux-gnu`. Remove the installation steps to avoid
downloading `mold` and changing the system linker for these jobs.

[Eight pairs of `ruff` debug
builds](https://github.com/astral-sh/ruff/actions/runs/39841713358) on
16-vCPU CI runners averaged 28.6 s with `mold` installation and 27.5 s
without. Each pair built both variants on the same runner from empty
target directories, with build order alternated. Times include
installation when applicable and exclude dependency downloads. The mean
change was −1.1 s (two-sided 90% paired t confidence interval: −8.8 to
+6.7 s); the interval includes zero. The second build was faster in
every pair, indicating a substantial order effect.

Co-authored-by: zaniebot <242828183+zaniebot@users.noreply.github.com>
2026-10-22 13:16:51 -07:00