Skip to content

fix(roadmap): decode the log excerpt of an ended Job - #3093

Merged
dan-petty merged 6 commits into
mainfrom
fix/3091-job-log-excerpt-decode
Nov 1, 2026
Merged

dan-petty merged 6 commits into
mainfrom
fix/3091-job-log-excerpt-decode

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The report comment of an ended runner Job showed the log excerpt as a bytes literal: b'...', with \n and \xe2\x9c\x93 in place of line breaks and a check mark. The Kubernetes client returns bytes for a pod log, and log_tail called str() on it.

This change reads a pod log as UTF-8 text with replacement, in one function, read_pod_log_text. log_tail and the doctor use it. The report comment and the stop comment now show the excerpt in a fenced block. The fence is longer than any run of backticks in the log. The mask of secrets runs on the decoded text. The test fake for the pod log can now return bytes, as the real client does.

Closes #3091

The Kubernetes client gives read_namespaced_pod_log the response type str,
skips the decode and returns the escaped b'...' text. Read the raw response
and decode it one time. The Job report and the doctor use the new function.
The report comment of an ended runner Job shows the decoded and masked log
excerpt in a fenced block with real line breaks. code_fence holds the fence
rule that the stop comment already used.
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 1, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results and review notes.

Fail-to-pass run: uv run devops ci fail-to-pass --base origin/main. 8 tests failed on the base and pass on this branch (79 others passed on both). One example: tests/k8s/test_k8s_doctor.py::test_doctor_logs_are_decoded_text_with_one_entry_for_each_line gave ["b'start...\\n'"] on the base.

Full uv run devops ci on the devcontainer: all checks pass except two tests that depend on the host, not on this change.

Review findings: none were reported, so none were fixed or declined.

Pending a person: review the diff in tuicr (tuicr -r origin/main..HEAD).

@dan-petty
dan-petty marked this pull request as ready for review November 1, 2026 18:54
@dan-petty

Copy link
Copy Markdown
Owner Author

Advisory pre-merge review (automated; a person decides).

Recommendation: merge. No lens found a problem above nit. A person decides.

Findings

Severity Where Problem Evidence Fix
nit openspec/changes/archive/2026-11-01-3091-job-log-excerpt-decode/tasks.md (last lines) The archived file keeps a "Workflow follow-up" section with "Pending a person: review the diff in tuicr". An archived record reads as merged, so a pending step is stale. The section is the end of tasks.md. It is not a numbered task. It does not block the archive. Optional. Remove the section (AGENTS.md rule 8).
nit src/devops_cli/review/report.py:358 and src/devops_cli/roadmap/fence.py:16 The new code_fence helper has the same rule as an inline fence rule that stays in review/report.py. report.py:357-358 uses max(3, max_backticks + 1). fence.py:15-16 uses the same rule. Optional. Call one shared helper, or accept the copy.
nit tests/k8s/test_k8s_pod_log_text.py (plain-read test) The test checks the third-party client only. It also passes on the base. It works as a canary for a client upgrade, not as a regression test. It uses only client.CoreV1Api and a loopback server. None needed. Optional: say "canary" in the docstring.
nit tests/k8s/test_k8s_pod_log_text.py No test covers the release of the connection when the stream read fails (the finally block in read_pod_log_text). Tests read only a complete body. Optional. Add a case where the server cuts the body short.

What the change does well

Checks that were run

  • Fail-to-pass: with the head tests on the base commit (0dbd092), 8 tests fail and 79 pass. Two new test files fail at collection on the base. All of them pass on the head.
  • Head: 5 changed test files, 95 passed. Wider run (tests/commands/test_argo.py, tests/commands/k8s, tests/ui/test_ui_log_pane.py, tests/k8s): 1219 passed.
  • ruff check and ruff format --check pass on the 13 changed Python files. mypy --strict passes on the 6 changed source files.
  • devops docs generate --sync-readme leaves no diff.
  • CI on head d632a44: all 20 check runs are success or skipped. mergeable_state is clean.
  • Title is a Conventional Commit with no !. The body closes only fix(roadmap): the Job report prints the log excerpt as a Python bytes literal #3091. The diff has no private host, private IP or email.
  • Not run: the full devops ci.

Note outside this PR

The job Tests & Coverage took about 7m55s on this PR and about 7m05s on main (0dbd092). Both are over the 5-minute limit in AGENTS.md rule 5. This PR adds about 50 s (12%). It is not the cause. Check for an open issue on this and file one if none exists.

@dan-petty
dan-petty merged commit 2b957bf into main Nov 1, 2026
20 checks passed
@dan-petty
dan-petty deleted the fix/3091-job-log-excerpt-decode branch November 1, 2026 19:23
dan-petty pushed a commit that referenced this pull request Nov 1, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.37.3](v0.37.2...v0.37.3)
(2026-11-01)


### Bug Fixes

* **roadmap:** decode the log excerpt of an ended Job
([#3093](#3093))
([2b957bf](2b957bf)),
closes [#3091](#3091)
* **roadmap:** remove stray files of the implement step
([#3094](#3094))
([40e65a1](40e65a1)),
closes [#3092](#3092)

---
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>
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/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the Job report prints the log excerpt as a Python bytes literal

1 participant