Skip to content

fix(ci): pin ty in the dev group so a new release cannot fail uv check on main - #2284

Merged
dan-petty merged 2 commits into
mainfrom
fix/pin-ty-redundant-cast
Oct 26, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/pin-ty-redundant-cast

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

uv check took the newest ty in its default range each time it ran. When ty v0.0.92 came out, it flagged a redundant-cast warning and failed main with no change in the repository.

This change pins ty==0.0.92 in the dev dependency group and locks it in uv.lock. uv check then uses the exact version in uv.lock, as ruff, mypy, bandit and zizmor already do. A new ty release now reaches main only in a pull request that raises the pin and shows its diagnostics.

It also adds:

  • a test that the dev group pins ty and that uv.lock holds the same version;
  • a ty row in the knowledge-base table of pinned tools.

The redundant cast needs no edit here, because #2283 already replaced it.

Closes #2281

Change: openspec/changes/archive/2026-10-26-2281-pin-ty-for-uv-check/

…k on main

uv check used the newest ty in its default range, so ty v0.0.92 failed main with a redundant-cast warning although no file changed. The dev group now pins ty, and uv check uses the version in uv.lock.
@dan-petty
dan-petty marked this pull request as ready for review October 26, 2026 04:19
@dan-petty
dan-petty merged commit 3936fe6 into main Oct 26, 2026
17 checks passed
@dan-petty
dan-petty deleted the fix/pin-ty-redundant-cast branch October 26, 2026 12:32
dan-petty pushed a commit that referenced this pull request Oct 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.6.2](v0.6.1...v0.6.2)
(2026-10-26)


### Bug Fixes

* **ai:** the claude provider sends what current Claude models accept,
built by the anthropic SDK
([#2285](#2285))
([59471a4](59471a4))
* **ai:** the openai provider without ai.api_base_url calls the OpenAI
API's /v1 routes, built by the openai SDK
([#2286](#2286))
([a7dd605](a7dd605)),
closes [#1427](#1427)
* **ci:** pin ty in the dev group so a new release cannot fail uv check
on main ([#2284](#2284))
([3936fe6](3936fe6)),
closes [#2281](#2281)
* **security:** query documented radar api with token and mark failed
lookups unverified
([#2289](#2289))
([c52af09](c52af09))
* **telemetry:** the project items gauge counts the items of the project
board by milestone, state, type and priority
([#2290](#2290))
([853296c](853296c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.

fix(ai): ty v0.0.92 flags a redundant cast in src/devops_cli/ai/tools/__init__.py, so uv check fails on main

1 participant