Skip to content

docs(openspec): fix plan #2585 real test paths and spec delta - #3083

Merged
dan-petty merged 1 commit into
mainfrom
docs/2585-fix-plan
Nov 1, 2026
Merged

dan-petty merged 1 commit into
mainfrom
docs/2585-fix-plan

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

This change corrects the OpenSpec plan for the check-readiness warning about pull request bodies.

The evaluation of the first plan (pull request #3004) found a wrong test path, a vague premise, private constants and a weak spec delta. This change fixes each one in place.

The plan now names real test paths, states the premise with evidence, and gives a precise spec delta. No code and no test changes.

Plans #2585

…ec delta

This change corrects the plan for issue 2585 in place. It changes no
code and no test.

The corrected plan:
- Uses the real test files: tests/github/test_merge_readiness.py for the
  rule and tests/commands/test_pr.py for the exit code.
- Keeps the limit and the trailer prefixes private to the verdict
  module, and puts the advisory text in PRMessages.
- Handles a null body and CRLF line ends.
- Backs the feasibility with commands, and maps each criterion of the
  issue to a group.
- Names the verification of the document group and drops the invented
  test for it.

Plans #2585
@dan-petty dan-petty added type/docs Type docs: a change to the documents scope/openspec OpenSpec changes, specs and their checks labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Changes to the plan (files in openspec/changes/2585-check-readiness-warns-when-a-pull/):

  • proposal.md: the premise is now stated with evidence. The work is not done. Nothing newer replaced it. The REST payload that check-readiness reads has a body field.
  • design.md, tasks.md: wrong test path replaced with real paths. Private constants are named as private.
  • specs/pr-merge-readiness/spec.md: the spec delta is now precise and testable.

Evaluation findings (verification stage): none were reported. No finding is confirmed or rejected.

Verification:

  • openspec validate --strict: pass
  • uv run devops openspec check: pass
  • tests/invariants/test_change_folders.py: 17 passed
  • Path check against origin/main: no missing path
  • Merge of origin/main: already up to date

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 15:10
@dan-petty
dan-petty merged commit 36da939 into main Nov 1, 2026
19 checks passed
@dan-petty
dan-petty deleted the docs/2585-fix-plan branch November 1, 2026 15:11
dan-petty added a commit that referenced this pull request Nov 17, 2026
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [ast-grep-cli](https://ast-grep.github.io/)
([source](https://redirect.github.com/ast-grep/ast-grep),
[changelog](https://redirect.github.com/ast-grep/ast-grep/blob/main/CHANGELOG.md))
| `==0.51.2` → `==0.51.3` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/ast-grep-cli/0.51.3?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ast-grep-cli/0.51.2/0.51.3?slim=true)
|
| [diff-cover](https://redirect.github.com/Bachmann1234/diff-cover) |
`==11.0.1` → `==11.0.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/diff-cover/11.0.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/diff-cover/11.0.1/11.0.2?slim=true)
|
| [fastapi](https://redirect.github.com/fastapi/fastapi)
([changelog](https://fastapi.tiangolo.com/release-notes/)) | `==0.162.5`
→ `==0.162.7` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/fastapi/0.162.7?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/fastapi/0.162.5/0.162.7?slim=true)
|
| [httpcore2](https://redirect.github.com/pydantic/httpx2)
([changelog](https://redirect.github.com/pydantic/httpx2/blob/main/src/httpcore2/CHANGELOG.md))
| `==2.16.0` → `==2.16.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/httpcore2/2.16.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/httpcore2/2.16.0/2.16.2?slim=true)
|
| [httpx2](https://redirect.github.com/pydantic/httpx2)
([changelog](https://redirect.github.com/pydantic/httpx2/blob/main/src/httpx2/CHANGELOG.md))
| `==2.16.0` → `==2.16.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/httpx2/2.16.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/httpx2/2.16.0/2.16.2?slim=true)
|
| [lizard](http://www.lizard.ws)
([source](https://redirect.github.com/terryyin/lizard)) | `==1.26.0` →
`==1.26.1` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/lizard/1.26.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/lizard/1.26.0/1.26.1?slim=true)
|
|
[pydantic-settings](https://redirect.github.com/pydantic/pydantic-settings)
([changelog](https://redirect.github.com/pydantic/pydantic-settings/releases))
| `==2.16.2` → `==2.16.3` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/pydantic-settings/2.16.3?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/pydantic-settings/2.16.2/2.16.3?slim=true)
|
| [syrupy](https://redirect.github.com/syrupy-project/syrupy) |
`==7.0.0` → `==7.0.2` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/syrupy/7.0.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/syrupy/7.0.0/7.0.2?slim=true)
|
| [ty](https://redirect.github.com/astral-sh/ty)
([changelog](https://redirect.github.com/astral-sh/ty/blob/main/CHANGELOG.md))
| `==0.0.101` → `==0.0.104` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/ty/0.0.104?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/ty/0.0.101/0.0.104?slim=true)
|
| [types-pyyaml](https://redirect.github.com/python/typeshed)
([changelog](https://redirect.github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/PyYAML.md))
| `==6.0.12.20261111` → `==6.0.12.20261113` |
![age](https://developer.mend.io/api/mc/badges/age/pypi/types-pyyaml/6.0.12.20261113?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/types-pyyaml/6.0.12.20261111/6.0.12.20261113?slim=true)
|

---

### Release Notes

<details>
<summary>ast-grep/ast-grep (ast-grep-cli)</summary>

###
[`v0.51.3`](https://redirect.github.com/ast-grep/ast-grep/blob/HEAD/CHANGELOG.md#0513)

[Compare
Source](https://redirect.github.com/ast-grep/ast-grep/compare/0.51.2...0.51.3)

- feat(cli): load built-in outline rules from project config
[`#2978`](https://redirect.github.com/ast-grep/ast-grep/pull/2978)
- fix(cli): replace npm binaries atomically in postinstall
[`#3083`](https://redirect.github.com/ast-grep/ast-grep/pull/3083)
- chore(deps): update rust crate inquire to v0.9.5
[`#3097`](https://redirect.github.com/ast-grep/ast-grep/pull/3097)
- fix(config): allow range rule with only one column on a single line
[`#3091`](https://redirect.github.com/ast-grep/ast-grep/pull/3091)
- Revert "chore(deps): update dependency node to v26
([#&#8203;3069](https://redirect.github.com/ast-grep/ast-grep/issues/3069))"
[`#3095`](https://redirect.github.com/ast-grep/ast-grep/pull/3095)
- chore(deps): update dependency python to 3.15
[`#2996`](https://redirect.github.com/ast-grep/ast-grep/pull/2996)
- chore(deps): update rust crate tree-sitter-scala to v0.26.13
[`#3086`](https://redirect.github.com/ast-grep/ast-grep/pull/3086)
- chore(deps): update dependency
[@&#8203;ast-grep/napi](https://redirect.github.com/ast-grep/napi) to
v0.51.2
[`#3089`](https://redirect.github.com/ast-grep/ast-grep/pull/3089)
- chore(deps): update rust crate libloading to v0.9.1
[`#3093`](https://redirect.github.com/ast-grep/ast-grep/pull/3093)
- ci(pyo3): build Python 3.15 wheels on Linux and Windows
[`#3094`](https://redirect.github.com/ast-grep/ast-grep/pull/3094)
- chore(deps): update rust crate napi to v3.16.2
[`#3087`](https://redirect.github.com/ast-grep/ast-grep/pull/3087)
- chore(deps): update rust crate napi-derive to v3.7.1
[`#3088`](https://redirect.github.com/ast-grep/ast-grep/pull/3088)
- chore(npm): require Node.js 20 or later
[`4fd48c5`](https://redirect.github.com/ast-grep/ast-grep/commit/4fd48c52c7eee7d80297079bb752394b0ee36f41)
- fix: bump pyo3 version
[`c7e005c`](https://redirect.github.com/ast-grep/ast-grep/commit/c7e005c685241c21fcd36d69ca38e037c9da7c0a)

</details>

<details>
<summary>Bachmann1234/diff-cover (diff-cover)</summary>

###
[`v11.0.2`](https://redirect.github.com/Bachmann1234/diff_cover/releases/tag/v11.0.2):
Version 11.0.2

[Compare
Source](https://redirect.github.com/Bachmann1234/diff-cover/compare/v11.0.1...v11.0.2)

#### What's Changed

- Fix LCOV parsing for function names containing commas by
[@&#8203;zombieli](https://redirect.github.com/zombieli) in
[Bachmann1234/diff_cover#655](https://redirect.github.com/Bachmann1234/diff_cover/pull/655)

#### New Contributors

- [@&#8203;zombieli](https://redirect.github.com/zombieli) made their
first contribution in
[Bachmann1234/diff_cover#655](https://redirect.github.com/Bachmann1234/diff_cover/pull/655)

**Full Changelog**:
<Bachmann1234/diff_cover@v11.0.1...v11.0.2>

</details>

<details>
<summary>fastapi/fastapi (fastapi)</summary>

###
[`v0.162.7`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.162.7)

[Compare
Source](https://redirect.github.com/fastapi/fastapi/compare/0.162.6...0.162.7)

> FastAPI includes an official skill that helps coding agents use new
features and recommended patterns for your installed version. Install it
with `uvx library-skills` in your project. See [Develop with
AI](https://fastapi.tiangolo.com/ai-development/).

##### Fixes

- 🐛 Fix async yield dependency cleanup on cancellation. PR
[#&#8203;16739](https://redirect.github.com/fastapi/fastapi/pull/16739)
by [@&#8203;tiangolo](https://redirect.github.com/tiangolo).

##### Internal

- 🔒️ Generate GH actions workflow lockfile and bump Zizmor. PR
[#&#8203;16736](https://redirect.github.com/fastapi/fastapi/pull/16736)
by [@&#8203;YuriiMotov](https://redirect.github.com/YuriiMotov).

###
[`v0.162.6`](https://redirect.github.com/fastapi/fastapi/releases/tag/0.162.6)

[Compare
Source](https://redirect.github.com/fastapi/fastapi/compare/0.162.5...0.162.6)

> FastAPI includes an official skill that helps coding agents use new
features and recommended patterns for your installed version. Install it
with `uvx library-skills` in your project. See [Develop with
AI](https://fastapi.tiangolo.com/ai-development/).

##### Breaking Changes

- 💥 Drop support for Python 3.10. PR
[#&#8203;16737](https://redirect.github.com/fastapi/fastapi/pull/16737)
by [@&#8203;tiangolo](https://redirect.github.com/tiangolo).

</details>

<details>
<summary>pydantic/httpx2 (httpcore2)</summary>

###
[`v2.16.2`](https://redirect.github.com/pydantic/httpx2/releases/tag/v2.16.2)

[Compare
Source](https://redirect.github.com/pydantic/httpx2/compare/v2.16.1...v2.16.2)

##### 🩹 Type aliases evaluate at runtime again

`httpx2` and `httpcore2` 2.16.2 are a patch release with one fix. You
will notice it if your code, or a library you depend on, uses the
aliases in `httpx2._types` inside a runtime typing construct. On 2.16.1,
`import mistralai.client` failed on Python 3.11 to 3.13.

```console
pip install --upgrade httpx2==2.16.2
```

- **`Optional[QueryParamTypes]` and `QueryParamTypes | None` work
again**
([#&#8203;1346](https://redirect.github.com/pydantic/httpx2/pull/1346)).
In 2.16.1 `URLTypes`, `QueryParamTypes`, `HeaderTypes`, `CookieTypes`,
`TimeoutTypes`, `ProxyTypes` and `AuthTypes` were strings.
`Optional[...]` raised `SyntaxError` for `QueryParamTypes` and
`HeaderTypes`, and `| None` raised `TypeError` for all seven. They are
`Union[...]` objects again, as in 2.16.0.

`httpcore2` has no changes. It is bumped to stay in lockstep with
`httpx2`.

**Full changelog:**
[v2.16.1...v2.16.2](https://redirect.github.com/pydantic/httpx2/compare/v2.16.1...v2.16.2)

###
[`v2.16.1`](https://redirect.github.com/pydantic/httpx2/releases/tag/v2.16.1)

[Compare
Source](https://redirect.github.com/pydantic/httpx2/compare/v2.16.0...v2.16.1)

##### 🚦 Concurrent HTTP/2 uploads no longer stall

`httpx2` and `httpcore2` 2.16.1 are a patch release. Every change is a
fix. You will notice it most if you run several HTTP/2 uploads over one
connection, where requests could hang until the read timeout.

```console
pip install --upgrade httpx2==2.16.1
```

- **Uploads sharing an HTTP/2 connection finish instead of waiting for
the read timeout**
([#&#8203;1163](https://redirect.github.com/pydantic/httpx2/pull/1163)).
Once the flow control window was exhausted, a waiting upload could miss
the `WINDOW_UPDATE` that another task had already read, then block on a
read the server had nothing to answer. `httpcore2` now rechecks the
window after acquiring the read lock.
- **A missing `Host` header raises `LocalProtocolError`**
([#&#8203;1319](https://redirect.github.com/pydantic/httpx2/pull/1319)).
An HTTP/2 request sent directly to an `httpcore2` connection without
`Host` raised `IndexError` before.

##### 🧭 Redirects, proxies and Digest auth

- **A redirect with an invalid `Location` returns the response when
redirects are not followed**
([#&#8203;1064](https://redirect.github.com/pydantic/httpx2/pull/1064)).
`httpx2` raised `RemoteProtocolError` and discarded the response. You
now get the response with its headers, and `response.next_request` is
`None`.
- **`*.example.com` in `NO_PROXY` matches subdomains**
([#&#8203;1277](https://redirect.github.com/pydantic/httpx2/pull/1277)).
The entry never matched before, so those requests still went through the
proxy. It now behaves like `.example.com`.
- **Digest challenges with mixed-case parameter names are accepted**
([#&#8203;1315](https://redirect.github.com/pydantic/httpx2/pull/1315)).
A challenge such as `Digest Realm="r", Nonce="n"` raised `ProtocolError`
before. Whitespace around `=` is allowed too.

##### 📦 Signed releases

- **The publish workflow generates PEP 740 attestations**
([#&#8203;1339](https://redirect.github.com/pydantic/httpx2/pull/1339)).
Every distribution is signed before `uv publish` uploads it. Releases
since the move to `uv publish` had no provenance on PyPI.

**Full changelog:**
[v2.16.0...v2.16.1](https://redirect.github.com/pydantic/httpx2/compare/v2.16.0...v2.16.1)

</details>

<details>
<summary>terryyin/lizard (lizard)</summary>

###
[`v1.26.1`](https://redirect.github.com/terryyin/lizard/blob/HEAD/CHANGELOG.md#1261)

[Compare
Source](https://redirect.github.com/terryyin/lizard/compare/1.26.0...1.26.1)

##### Bug Fixes

- C/C++, Java, C#, JavaScript, and TypeScript: count the `?` of a
ternary between comparisons (`a < b ? c > d : e`); it was read as part
of a type argument list, so the CCN was one too low (PR
[#&#8203;572](https://redirect.github.com/terryyin/lizard/issues/572))
- Python: count the lines of prefixed triple-quoted strings (`return
f"""..."""`) and of f-string literal chunks in NLOC instead of reading
them as comments, which could make NLOC negative; a variable named `f`,
`r` or `b` before a standalone docstring no longer makes it look
prefixed (PR
[#&#8203;568](https://redirect.github.com/terryyin/lizard/issues/568))
- JSX and TSX: `//` in element text (`<p>Visit https://example.com</p>`)
no longer swallows the closing tag and the functions after it (PR
[#&#8203;567](https://redirect.github.com/terryyin/lizard/issues/567))
- JSX and TSX: no empty text token between two adjacent child elements,
which crashed `-Eduplicate` with `IndexError` (PR
[#&#8203;571](https://redirect.github.com/terryyin/lizard/issues/571))
- Rust: the `||` of a closure without parameters is one token again (PR
[#&#8203;569](https://redirect.github.com/terryyin/lizard/issues/569))
- API: `FunctionInfo.cognitive_complexity` is present as `0` for
functions without cognitive complexity, matching the CLI (issue
[#&#8203;570](https://redirect.github.com/terryyin/lizard/issues/570))

</details>

<details>
<summary>pydantic/pydantic-settings (pydantic-settings)</summary>

###
[`v2.16.3`](https://redirect.github.com/pydantic/pydantic-settings/releases/tag/v2.16.3)

[Compare
Source](https://redirect.github.com/pydantic/pydantic-settings/compare/v2.16.2...v2.16.3)

#### Highlights

This patch release fixes a security issue in the default secrets source,
a regression from 2.14.2 that dropped nested secrets on Kubernetes, and
a `CliApp.serialize` round-trip bug with `CliUnknownArgs`.

##### Security

- **`SecretsSettingsSource` no longer follows symlinks that resolve
outside `secrets_dir`**
([#&#8203;1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138),
fixes
[#&#8203;1137](https://redirect.github.com/pydantic/pydantic-settings/issues/1137)).
A secret file that is a symbolic link to a file outside `secrets_dir`
was read into the matching field, so anyone who could place a link in
`secrets_dir` could make the application load any file it can read. This
is the plain-source counterpart of GHSA-4xgf-cpjx-pc3j, whose fix in
2.14.2 covered only `NestedSecretsSettingsSource`. Links that stay
inside `secrets_dir`, such as the Kubernetes secret volume layout
(`passwd` linking to `..data/passwd`), still work.

##### Behavior changes

- A secret file that resolves outside `secrets_dir` is now skipped with
a warning instead of being read
([#&#8203;1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138)).
If you deliberately point secret files at targets elsewhere on disk,
move or copy the targets into `secrets_dir`, or point `secrets_dir` at
the directory that holds them.
- `NestedSecretsSettingsSource` skips hidden entries (names starting
with `.`) again, as it did before 2.14.2, and stops with a
`SettingsError` after 10,000 entries
([#&#8203;1070](https://redirect.github.com/pydantic/pydantic-settings/pull/1070)).

##### Bug fixes

**Secrets**

- With `secrets_nested_subdir=True`, a directory reached through a
second symlink is loaded again
([#&#8203;1070](https://redirect.github.com/pydantic/pydantic-settings/pull/1070),
fixes
[#&#8203;1061](https://redirect.github.com/pydantic/pydantic-settings/issues/1061)).
Since 2.14.2, only the name that sorted first was walked, so the
standard Kubernetes secret volume layout (`db` linking to `..data/db`)
silently lost its nested secrets.
- A symlink loop inside `secrets_dir` is skipped instead of aborting the
load with `RuntimeError` on Python 3.11 and 3.12
([#&#8203;1070](https://redirect.github.com/pydantic/pydantic-settings/pull/1070),
[#&#8203;1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138)).

**CLI**

- `CliApp.serialize` keeps each level's `CliUnknownArgs` before that
level's subcommand token
([#&#8203;1050](https://redirect.github.com/pydantic/pydantic-settings/pull/1050),
fixes
[#&#8203;1048](https://redirect.github.com/pydantic/pydantic-settings/issues/1048)).
They were emitted after the last subcommand, so parsing the output again
moved a parent's unknown args onto the subcommand.

<details>
<summary><b>All changes</b></summary>

#### What's Changed
* Fix CliApp.serialize moving a parent unknown args into the subcommand
by
@&#8203;XXXXXQ-02[https://github.com/pydantic/pydantic-settings/pull/1050](https://redirect.github.com/pydantic/pydantic-settings/pull/1050)l/1050
* Load nested secrets reached through a second directory link by
@&#8203;digit[https://github.com/pydantic/pydantic-settings/pull/1070](https://redirect.github.com/pydantic/pydantic-settings/pull/1070)l/1070
* Prevent SecretsSettingsSource from following symlinks outside
secrets_dir by
@&#8203;twotnguy[https://github.com/pydantic/pydantic-settings/pull/1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138)l/1138

#### New Contributors
* @&#8203;XXXXXQ-0206 made their first
contributi[https://github.com/pydantic/pydantic-settings/pull/1050](https://redirect.github.com/pydantic/pydantic-settings/pull/1050)l/1050
* @&#8203;twotnguyen made their first
contributi[https://github.com/pydantic/pydantic-settings/pull/1138](https://redirect.github.com/pydantic/pydantic-settings/pull/1138)l/1138

**Full Changelog**:
<pydantic/pydantic-settings@v2.16.2...v2.16.3>

</details>

</details>

<details>
<summary>syrupy-project/syrupy (syrupy)</summary>

###
[`v7.0.2`](https://redirect.github.com/syrupy-project/syrupy/blob/HEAD/CHANGELOG.md#v702-2026-11-16)

[Compare
Source](https://redirect.github.com/syrupy-project/syrupy/compare/v7.0.1...v7.0.2)

###
[`v7.0.1`](https://redirect.github.com/syrupy-project/syrupy/blob/HEAD/CHANGELOG.md#v701-2026-11-14)

[Compare
Source](https://redirect.github.com/syrupy-project/syrupy/compare/v7.0.0...v7.0.1)

</details>

<details>
<summary>astral-sh/ty (ty)</summary>

###
[`v0.0.104`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#00104)

[Compare
Source](https://redirect.github.com/astral-sh/ty/compare/0.0.103...0.0.104)

Released on 2026-11-13.

##### Bug fixes

- Narrow class objects in equality and membership checks
([#&#8203;30393](https://redirect.github.com/astral-sh/ruff/pull/30393))
- Preserve literals outside a protocol when simplifying unions
([#&#8203;30398](https://redirect.github.com/astral-sh/ruff/pull/30398))
- Respect implicit `__hash__ = None` when a class defines `__eq__`
([#&#8203;30145](https://redirect.github.com/astral-sh/ruff/pull/30145))

##### LSP server

- Fix completion after an alias in a parenthesized import
([#&#8203;30394](https://redirect.github.com/astral-sh/ruff/pull/30394))
- Suppress completions while typing multiline import aliases
([#&#8203;30397](https://redirect.github.com/astral-sh/ruff/pull/30397))

##### Contributors

- [@&#8203;lerebear](https://redirect.github.com/lerebear)
- [@&#8203;carljm](https://redirect.github.com/carljm)

###
[`v0.0.103`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#00103)

[Compare
Source](https://redirect.github.com/astral-sh/ty/compare/0.0.102...0.0.103)

Released on 2026-11-13.

##### Bug fixes

- Avoid spurious syntax warnings when applying fixes
([#&#8203;30404](https://redirect.github.com/astral-sh/ruff/pull/30404))
- Fix a panic checking class decorators with inferred return types
([#&#8203;30399](https://redirect.github.com/astral-sh/ruff/pull/30399))
- Infer nested classes as read-only attributes
([#&#8203;29346](https://redirect.github.com/astral-sh/ruff/pull/29346))
- Infer value types for bare `Final` and `ClassVar`
([#&#8203;30293](https://redirect.github.com/astral-sh/ruff/pull/30293))
- Preserve excluded types when inferring type variable upper bounds
([#&#8203;30237](https://redirect.github.com/astral-sh/ruff/pull/30237))
- Preserve inherited value types on repeated bare ClassVar annotations
([#&#8203;30396](https://redirect.github.com/astral-sh/ruff/pull/30396))
- Respect return constraints when promoting literal arguments
([#&#8203;30153](https://redirect.github.com/astral-sh/ruff/pull/30153))

##### LSP server

- Resolve pytest fixtures registered through pytest_plugins
([#&#8203;29588](https://redirect.github.com/astral-sh/ruff/pull/29588))

##### Contributors

- [@&#8203;carljm](https://redirect.github.com/carljm)
- [@&#8203;abalakh](https://redirect.github.com/abalakh)
- [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood)

###
[`v0.0.102`](https://redirect.github.com/astral-sh/ty/blob/HEAD/CHANGELOG.md#00102)

[Compare
Source](https://redirect.github.com/astral-sh/ty/compare/0.0.101...0.0.102)

Released on 2026-11-12.

##### Breaking changes

- Split `invalid-return-type` into 3 focussed rules; rename `empty-body`
and `unsound-return`
([#&#8203;29947](https://redirect.github.com/astral-sh/ruff/pull/29947))

##### Bug fixes

- Avoid runaway inference for nested calls with union parameters
([#&#8203;30220](https://redirect.github.com/astral-sh/ruff/pull/30220))
- Fix a panic when simplifying recursive wide unions
([#&#8203;30141](https://redirect.github.com/astral-sh/ruff/pull/30141))
- Fix a stack overflow when inferring calls that return recursive
aliases
([#&#8203;30149](https://redirect.github.com/astral-sh/ruff/pull/30149))
- Keep callable-local type variables out of enclosing constraints
([#&#8203;30241](https://redirect.github.com/astral-sh/ruff/pull/30241))
- Preserve Self for unary operators on bounded type variables
([#&#8203;30242](https://redirect.github.com/astral-sh/ruff/pull/30242))
- Preserve descriptor write contracts in overrides and protocols
([#&#8203;30252](https://redirect.github.com/astral-sh/ruff/pull/30252))

##### Diagnostic improvements

- Rename `call-abstract-method` to `abstract-method-call`
([#&#8203;30287](https://redirect.github.com/astral-sh/ruff/pull/30287))
- Rename `call-non-callable` to `not-callable`
([#&#8203;30284](https://redirect.github.com/astral-sh/ruff/pull/30284))
- Rename `call-top-callable` to
`call-to-function-with-unknown-signature`
([#&#8203;30285](https://redirect.github.com/astral-sh/ruff/pull/30285))
- Rename `dataclass-field-order` to `invalid-dataclass-field-order`
([#&#8203;30289](https://redirect.github.com/astral-sh/ruff/pull/30289))
- Rename `implicit-concatenated-string-type-annotation` to
`implicit-string-concatenation-in-annotation`; improve documentation
([#&#8203;30286](https://redirect.github.com/astral-sh/ruff/pull/30286))
- Warn by default for a single overload
([#&#8203;30214](https://redirect.github.com/astral-sh/ruff/pull/30214))

##### Memory usage improvements

- Check unused stub parameters in the surrounding inference
([#&#8203;30251](https://redirect.github.com/astral-sh/ruff/pull/30251))

##### Other changes

- Cache alias-preserving binary unions
([#&#8203;30094](https://redirect.github.com/astral-sh/ruff/pull/30094))
- Share use-def layouts for stub function parameters
([#&#8203;30248](https://redirect.github.com/astral-sh/ruff/pull/30248))
- Skip unused parameter bindings in stub bodies
([#&#8203;30330](https://redirect.github.com/astral-sh/ruff/pull/30330))

##### Contributors

- [@&#8203;MichaReiser](https://redirect.github.com/MichaReiser)
- [@&#8203;charliermarsh](https://redirect.github.com/charliermarsh)
- [@&#8203;carljm](https://redirect.github.com/carljm)
- [@&#8203;AlexWaygood](https://redirect.github.com/AlexWaygood)

</details>

---

### Configuration

📅 **Schedule**: (in timezone UTC)

- Branch creation
  - At any time (no schedule defined)
- 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.

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

---------

Co-authored-by: dan-petty-renovate[bot] <357470286+dan-petty-renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Petty <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/openspec OpenSpec changes, specs and their checks type/docs Type docs: a change to the documents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant