You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(ai): ty v0.0.92 flags a redundant cast in src/devops_cli/ai/tools/__init__.py, so uv check fails on main #2281
uv run devops ci fails the uv check step on a clean main. ty v0.0.92 reports a redundant-cast warning in src/devops_cli/ai/tools/__init__.py, and the step treats it as a failure. No change in the repository causes it: the file has not changed since release v0.2.39, and the ty version is not pinned.
Reproduction Steps
Check out main.
Run uv run devops ci, or only the uv check step.
Read the output of the uv check step.
Expected vs Actual Behavior
Expected: uv check passes on main.
Actual: uv check fails with one diagnostic:
warning[redundant-cast]: Value is already of type `(...) -> Any`
--> src/devops_cli/ai/tools/__init__.py:126:14
126 | fn = cast(Callable[..., Any], self.function)
help: Remove the redundant `cast`
Found 1 diagnostic
Remove the redundant cast at line 126 and its Callable and cast imports if nothing else uses them. Also check whether the ty version of this step should be pinned, so a new ty release cannot fail main without a change in the repository.
Activity
dan-petty commentedon Oct 26, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The candidate fixes a problem with a tool that reports warnings as errors, which is a bug fix.The issue causes CI to fail but does not block development or introduce security risks.The change fixes a minor issue in one file that does not affect end users.The fix requires removing one line and two imports, which is simple.fix(ci): pin ty in the dev group so a new release cannot fail uv chec…
chore(main): release 0.6.2 (#2287)