Commit Graph
1492 Commits
Author SHA1 Message Date
Dean Sheather d974fefc08 chore: sign with github.com/coder/gpgkms instead of scripts/gpgkms (#32308)
Replaces `scripts/gpgkms` with
[`github.com/coder/gpgkms`](https://github.com/coder/gpgkms) v0.2.0, the
same code extracted into a shared module (terraform-provider-coder
already signs its releases with it). v0.2.0 also rejects keys that
aren't HSM-backed (`gpg-release` is `HSM`, and the check reads
`protectionLevel` from the existing `GetPublicKey` call, so no new IAM
is needed), limits each KMS request to a minute, and writes `-out`
atomically.

- `go.mod`: gpgkms is a `tool` dependency, so the version is pinned in
`go.mod`/`go.sum` and Dependabot keeps it current. This bumps go-crypto
1.4.1 → 1.5.2, google.golang.org/api 0.308.0 → 0.311.0 and circl 1.6.3 →
1.6.5, plus a few indirect dependencies. go-crypto is now only indirect:
nothing else in coder/coder imports it.
- `scripts/gpgkms.sh` (new): runs it with `go tool` (like
`scripts/format_go_file.sh` does for gofumpt and gci), passing the
release key's OpenPGP identity (name, email, creation time, 4-year
lifetime). The library takes these as flags instead of hardcoding them,
so they now live in one place.
- It also pins `-fingerprint 0F685EFE0AE5A8182A473DD86E3A8E5613707520`,
so signing and `public-key` fail if the KMS key or creation time ever
change. That's the fingerprint every current main build prints (e.g. run
44031030839), and I recomputed it from the KMS public key and the
creation time alone, without signing anything. The fingerprint doesn't
cover the user ID or lifetime; the equivalence check below does.
- `scripts/sign_with_gpg.sh` and the "Print GPG KMS public key" step in
`build.yaml` call the wrapper instead of `./scripts/gpgkms`. Signatures
stay armored `.v2.asc` files, as before.
- `scripts/gpgkms/` is deleted.

## Same key, same signatures

The OpenPGP key's fingerprint depends on these exact inputs, so I
checked that nothing changed. With a local RSA-4096 key standing in for
KMS, the deleted `newEntity`/`writePublicKey`/`sign` produce the same
output as the gpgkms CLI with the flags read out of `scripts/gpgkms.sh`:

- The public key is **byte for byte identical**.
- A signature with `-prepend` is armored the same way and has the same
length (only the timestamp differs). Both the prepended signature and
the KMS signature verify in both outputs.
- Changing the lifetime in the wrapper by one hour makes the comparison
fail, so the check is sensitive.

```
$ git -C gpgkms describe --tags
v0.2.0
$ WRAPPER_ARGS_FILE=wrapper-args.txt go test ./cmd/gpgkms -run TestCoderWrapperMatchesOldCoderCode -count=3 -v
=== RUN   TestCoderWrapperMatchesOldCoderCode
    equiv_coder_test.go:40: wrapper args: ["-name" "Coder Release Signing Key" "-email" "security@coder.com" "-created" "2026-11-16T00:00:00Z" "-lifetime" "35040h"]
--- PASS: TestCoderWrapperMatchesOldCoderCode (0.33s)
--- PASS: TestCoderWrapperMatchesOldCoderCode (0.11s)
--- PASS: TestCoderWrapperMatchesOldCoderCode (0.20s)
ok  	github.com/coder/gpgkms/cmd/gpgkms	0.634s

# with -lifetime 35041h
    equiv_coder_test.go:56: public keys differ:
FAIL

# with the wrapper's -fingerprint pin and a random test key
    derived key has fingerprint 9794B34B5E098DE61DD6CE247E0DFD4BF203C917, want 0F685EFE0AE5A8182A473DD86E3A8E5613707520 (wrong -key, -created or KMS key?)
```

(The byte-for-byte comparison runs without `-fingerprint`, since the
test key is random.)

gpgkms also has its own compatibility test against this identity
(`compat_test.go`).

Other checks:

```
$ ./scripts/gpgkms.sh public-key                 # from the repo root (build.yaml)
gpgkms: -key is required
$ cd scripts && ./gpgkms.sh public-key           # from scripts/ (build_go.sh -> execrelative)
gpgkms: -key is required
$ ./gpgkms.sh sign -key x -prepend ../no-such-file -out o.asc ../go.mod   # relative paths resolve from the caller
gpgkms: read prepend signature: open ../no-such-file: no such file or directory
$ shellcheck -x scripts/gpgkms.sh scripts/sign_with_gpg.sh   # clean
$ shfmt -d scripts/gpgkms.sh scripts/sign_with_gpg.sh        # clean
$ actionlint .github/workflows/build.yaml                    # clean
$ go build ./... && go mod tidy -diff                        # clean
```

Not run here: real signing through Cloud KMS. The first main build after
merging prints the public key in the job summary; it should be identical
to the one printed by current main builds.

---

AI disclosure: this PR was written by an AI coding agent (Xum) at my
direction, and the agent ran the verification above. It stays a draft
until I've reviewed it.
2026-11-18 15:36:57 +11:00
coder[bot] b83a339e03 chore: add optional Cloud KMS dual signing for release GPG signatures (#32209) 2026-11-15 19:58:21 -06:00
Ethan af7cd184c8 chore: point charm.land/fantasy at coder/fantasy#85 (#31746)
Part of CODAGT-1430
Relates to CODAGT-1541

Stacked on #31743.

This bumps fantasy to pick up coder/fantasy#84 and coder/fantasy#85.

A Chat Completions tool message can only hold text, so fantasy sends
tool result media (images, audio, and now PDFs from #31384) in a `role:
"user"` message right after it. That gives whatever the tool returned
the authority of the user's own words, which Codex flagged on #31383 as
a prompt injection risk for MCP tools that return untrusted files.

coder/fantasy#84 starts that user message with a text part naming the
tool call and saying the content is tool output, not instructions from
the user. It only changes the Chat Completions paths (`openai` without
the Responses API, `openaicompat`, OpenRouter and Vercel); Anthropic and
Responses keep the media inside the tool result. AI Bridge records the
last user message's text as the prompt, so on the step after a tool
returns media, it'll now record the label. I think that's fine for now.

coder/fantasy#85 fixes the output token limit field. The OpenAI provider
sent `max_tokens` unless the model ID looked like a reasoning model, and
reasoning models reject it:

```
Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.
```

That breaks any reasoning model whose ID fantasy doesn't recognise, e.g.
an Azure deployment name, which doesn't say what model it serves (Azure
providers start using this client in #31952). The OpenAI provider now
sends `max_completion_tokens` on every Chat Completions request, which
is what OpenAI deprecated `max_tokens` in favour of. `openaicompat`,
OpenRouter and Vercel keep `max_tokens`, so self-hosted servers behind
the OpenAI Compatible provider are unaffected. I've added a test that
checks the field on each route, and the models docs no longer say Max
Completion Tokens is only for reasoning models.
2026-11-11 00:06:42 +11:00
Ethan d4edf1631a fix: replay OpenAI web searches inline without item IDs (#31743)
Closes CODAGT-1425

Stacked on #31386.

coder/fantasy#78, which is already on `main`, fixed the searches with no
reasoning before them by sending them inline without their `id`. Stored
chats still send a search as an `item_reference` when a reasoning item
came right before it, though. The API pairs any stored ID with that
reasoning item and rejects the whole request if it's missing, and a
reference doesn't save any tokens over an inline item anyway.

This bumps fantasy to pick up coder/fantasy#77, which just never
references a search, so stored chats now replay earlier searches inline,
like unstored ones. It also drops the `id` from replayed computer calls,
which have the same problem.

I've had to stack this on the CODAGT-1430 PRs, as coder/fantasy#77
merged after coder/fantasy#73 and coder/fantasy#74, so any pin that has
it has them too. `TestOpenAIResponsesNoStaleWebSearchReplay` now covers
a stored chat, and I deleted
`TestOpenAIResponsesFullReplayPairsReasoningAndWebSearch`, as it
asserted the order of references we no longer send.
2026-11-11 00:06:41 +11:00
Ethan 5cbf086517 feat: send tool result media to providers like user files (#31383)
Part of [CODAGT-1430](https://linear.app/codercom/issue/CODAGT-1430).
This is the first of four stacked PRs.

Today a PDF in an MCP tool result reaches no provider. On Anthropic we
strip it in chatd. On OpenAI Chat Completions fantasy swaps it for a
"cannot be displayed" note, and on Responses it sends a placeholder that
points at a user message it never sends.

coder/fantasy#73 and coder/fantasy#74 make fantasy convert tool result
media with the converter it already uses for user files: an Anthropic
document inside `tool_result`, an `input_file` inside
`function_call_output` on Responses, and a user file part straight after
the tool message on Chat Completions. Both have merged, and this PR pins
`charm.land/fantasy` to the coder_2_33 tip that has them. Chat
Completions file parts now refuse text files, as Responses already did,
so `AcceptsFilePartMediaType` follows.

The converters take a filename, so an MCP embedded resource blob is now
named after the last element of its URI path, and we store the name with
the tool result so later turns send the same one. OpenAI picks the file
type from the extension, so we append the right one when it's missing or
wrong. We drop names with control characters, as Postgres `jsonb`
rejects NUL, and we redact the name like the rest of the tool response,
since a URI like `https://host/sse/<token>` would otherwise put the
token in the chat history.

There's also a test proving aibridge's Chat Completions re-encode keeps
a user file part, as that's where these PDFs end up.

Anthropic still strips tool result PDFs until the next PR in the stack.
2026-11-11 00:06:40 +11:00
dependabot[bot] 045395b6cf chore: bump google.golang.org/grpc from 1.84.0 to 1.85.0 (#31954)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from
1.84.0 to 1.85.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/grpc/grpc-go/releases">google.golang.org/grpc's
releases</a>.</em></p>
<blockquote>
<h2>Release 1.85.0</h2>
<h1>New Features</h1>
<ul>
<li>stats: Expose the effective client authority (sent on the wire as
the HTTP/2 <code>:authority</code> header) in client
<code>stats.OutHeader</code> events. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9296">#9296</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/aryansk"><code>@​aryansk</code></a></li>
</ul>
</li>
<li>metadata: Add <code>ValueFromOutgoingContext</code>, which reads a
single metadata value from outgoing context without copying the entire
outgoing metadata into a new map. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9282">#9282</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/yuyangguo42"><code>@​yuyangguo42</code></a></li>
</ul>
</li>
</ul>
<h1>Bug Fixes</h1>
<ul>
<li>transport: Refine control buffer throttling to only count
peer-induced control frames, raise the default
<code>GRPC_GO_EXPERIMENTAL_CONTROL_BUFFER_THROTTLE_LIMIT</code> from 100
to 10,000, and close client connections if reads remain throttled for
<code>10s</code>. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9563">#9563</a>)</li>
<li>server: Ensure <code>Stop()</code> forcefully terminates the server
while <code>GracefulStop()</code> is waiting for active handlers to
complete. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9394">#9394</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/stanhu"><code>@​stanhu</code></a></li>
</ul>
</li>
<li>server: Unconditionally increment the highest-seen stream ID on when
handling <code>HEADERS</code> frames to comply with <a
href="https://www.rfc-editor.org/rfc/rfc7540.html#section-5.1.1">RFC
7540 §5.1.1</a>. Previously, truncated <code>HEADERS</code> frames left
the connection in an inconsistent state and allowed stream IDs to be
reused by clients without resulting in a protocol error. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9414">#9414</a>)</li>
<li>server: Terminate streams immediately when a <code>HEADERS</code>
frame includes the <code>EndStream</code> bit. Previously, this caused
server handlers to hang when reading a message. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9391">#9391</a>)</li>
<li>server: Reject requests missing both <code>:authority</code> and
<code>Host</code> headers with HTTP 400 and status
<code>Internal</code>. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9365">#9365</a>)</li>
<li>xds: Fix a bug where route header matchers with non-lowercase names
failed to match routes. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9353">#9353</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/winklemad"><code>@​winklemad</code></a></li>
</ul>
</li>
<li>client: Ensure retried RPCs use the correct <code>:authority</code>
value specified by the LB policy instead of inheriting it from a
previous attempt. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9277">#9277</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/nvxbug"><code>@​nvxbug</code></a></li>
</ul>
</li>
<li>transport: Fail streams with <code>io.ErrUnexpectedEOF</code>
instead of <code>io.EOF</code> upon receiving truncated message headers
or bodies after partial data has already been received. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9204">#9204</a>)
<ul>
<li>Special Thanks: <a
href="https://github.com/buger"><code>@​buger</code></a></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/grpc/grpc-go/commit/c9ab42cdb0a2b3e7b9d5510ebbc999638ee41eb7"><code>c9ab42c</code></a>
Change version to 1.85.0 (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9434">#9434</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/bfb7561f110090903d9b48438efe6801164ad5d5"><code>bfb7561</code></a>
cherry pick (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9433">#9433</a>)
and (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9563">#9563</a>)
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/9566">#9566</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/46a2db23cd663ecfd4444ecd43e057ec1a5cc07e"><code>46a2db2</code></a>
*: update dockerfiles to build using go1.26 to match go.mod (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9548">#9548</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/076bb1cc5c11bb14262fb6b06d7597311c813593"><code>076bb1c</code></a>
Cherrypick <a
href="https://redirect.github.com/grpc/grpc-go/issues/9533">#9533</a> to
v1.85.x. (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9534">#9534</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/baaf0833fb0c3d31f86040cf97ecbf6ee19aca27"><code>baaf083</code></a>
*: update the net package and go version (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9506">#9506</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/678b9b34f381a6d34fd10bd45aec3c223555bd53"><code>678b9b3</code></a>
Cherrypick <a
href="https://redirect.github.com/grpc/grpc-go/issues/9385">#9385</a> to
v1.85.x (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9504">#9504</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/705f9b9716d46c8b63a2aa40ea27ad0f852c048b"><code>705f9b9</code></a>
Cherry-pick <a
href="https://redirect.github.com/grpc/grpc-go/issues/9425">#9425</a>
into v1.85.x (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9438">#9438</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/1648161c2f6c1fbbaaa579e8320630abd4656bb3"><code>1648161</code></a>
transport: stop read throttling due to controlBuf size, on the client
(<a
href="https://redirect.github.com/grpc/grpc-go/issues/9431">#9431</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/1863b598b62e623f8d58305da7b068d8fee32d7b"><code>1863b59</code></a>
protoc-gen-go-grpc: Update supported Edition to 2026 (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9426">#9426</a>)</li>
<li><a
href="https://github.com/grpc/grpc-go/commit/d331f110832063845e0ec79482b338e86f195661"><code>d331f11</code></a>
server: release mutex while waiting for handlers in stop() (<a
href="https://redirect.github.com/grpc/grpc-go/issues/9394">#9394</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/grpc/grpc-go/compare/v1.84.0...v1.85.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=go_modules&previous-version=1.84.0&new-version=1.85.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-10 12:20:15 +00:00
dependabot[bot] 6010671c59 chore: bump the x group with 2 updates (#31953)
Bumps the x group with 2 updates:
[golang.org/x/net](https://github.com/golang/net) and
[golang.org/x/sync](https://github.com/golang/sync).

Updates `golang.org/x/net` from 0.61.0 to 0.62.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/net/commit/3de643db506517b3e652a13cc0b56034cea6b8e6"><code>3de643d</code></a>
html: check all ancestor namespace transitions when rendering raw
text</li>
<li><a
href="https://github.com/golang/net/commit/05c76ee9adc59087cf3ba77ee9c8fcfab61bf61c"><code>05c76ee</code></a>
ipv4, ipv6: avoid slice bounds panics on empty batch or BPF filter</li>
<li><a
href="https://github.com/golang/net/commit/dad306f6eaa626e54daff798f071beb185e1ea2b"><code>dad306f</code></a>
ipv6: avoid out-of-bounds panic in ICMPFilter</li>
<li><a
href="https://github.com/golang/net/commit/9c0565ad2c29e4eefb9a4db789a0b6b3b95cbb29"><code>9c0565a</code></a>
ipv4: fix TTL control message parsing on big-endian Linux and
Solaris</li>
<li><a
href="https://github.com/golang/net/commit/9425eb39b361fa333359608bb730c80cb79fc062"><code>9425eb3</code></a>
internal/socket, ipv4, ipv6: avoid panic on empty control message on
non-Unix</li>
<li><a
href="https://github.com/golang/net/commit/4b10404ac8ce5678eb26efd39b7c26901c1fd3da"><code>4b10404</code></a>
ipv4, ipv6: avoid nil parse function call in ControlMessage.Parse</li>
<li><a
href="https://github.com/golang/net/commit/afcf8cd5baa866e7d60a71e229cd61cf2108e043"><code>afcf8cd</code></a>
ipv4: fix several missing bounds checks</li>
<li><a
href="https://github.com/golang/net/commit/4af4fce62e93c5621a316363718b9dc78fbb0355"><code>4af4fce</code></a>
html: avoid quadratic complexity when coalescing text nodes</li>
<li><a
href="https://github.com/golang/net/commit/7e562009b3884a0845019b5f886f0242a7c0b970"><code>7e56200</code></a>
quic: per-path connection ids</li>
<li>See full diff in <a
href="https://github.com/golang/net/compare/v0.61.0...v0.62.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/sync` from 0.24.0 to 0.25.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/sync/commit/1f920df1e8fcf601d1aaf0f2ea500e1d2ccce105"><code>1f920df</code></a>
syncmap: rename DeepCopyMap to CopyMap</li>
<li>See full diff in <a
href="https://github.com/golang/sync/compare/v0.24.0...v0.25.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-10 12:19:56 +00:00
dependabot[bot] acd3658f3a chore: bump cel.dev/cel-go from 0.32.0 to 0.33.2 (#31959)
Bumps [cel.dev/cel-go](https://github.com/cel-expr/cel-go) from 0.32.0
to 0.33.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cel-expr/cel-go/releases">cel.dev/cel-go's
releases</a>.</em></p>
<blockquote>
<h2>Release v0.33.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Changes to the fast-path list and map accessors to ensure graceful
degradation for custom adaptors.</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/cel-expr/cel-go/compare/v0.33.1...v0.33.2">https://github.com/cel-expr/cel-go/compare/v0.33.1...v0.33.2</a></p>
<h2>Release v0.33.1</h2>
<p>Cherry-picks for backwards compatibility with legacy timestamp and
timezone formats,
and support for google.protobuf.Value types as comprehension keys.</p>
<h2>What's Changed</h2>
<ul>
<li>Release v0.33.1 cherry-picks by <a
href="https://github.com/TristonianJones"><code>@​TristonianJones</code></a>
in <a
href="https://redirect.github.com/cel-expr/cel-go/pull/1590">cel-expr/cel-go#1590</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/cel-expr/cel-go/compare/v0.33.0...v0.33.1">https://github.com/cel-expr/cel-go/compare/v0.33.0...v0.33.1</a></p>
<h2>Release v0.33.0</h2>
<p>This release introduces a high-performance Pratt parser, a unified
declarative cost model (<code>common/cost</code>) with aggregate sizing
and peak memory tracking, raw pointer traversal for native Go structs,
and JSON/YAML parsing extensions, while eliminating quadratic
type-checking bottlenecks.</p>
<p><strong>Features</strong></p>
<table>
<thead>
<tr>
<th align="left">Pull Request</th>
<th align="left">Description and Impact</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><strong>Pratt parser and <code>EnablePrattParser</code>
option</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1427">#1427</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1433">#1433</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1442">#1442</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1462">#1462</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1472">#1472</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1497">#1497</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1509">#1509</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1511">#1511</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1521">#1521</a>)</td>
<td align="left">Introduces a recursive-descent Pratt parser ported from
<code>cel-cpp</code> with iterative parenthesis handling, bounded
expression nesting, and escaped function name support, delivering 8x–19x
faster single-threaded parsing.</td>
</tr>
<tr>
<td align="left"><strong>Unified cost model (<code>common/cost</code>),
<code>AggregateSizingStrategy</code>, and
<code>CostModelVersion</code></strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1430">#1430</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1435">#1435</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1441">#1441</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1474">#1474</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1478">#1478</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1482">#1482</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1512">#1512</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1519">#1519</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1525">#1525</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1537">#1537</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1548">#1548</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1556">#1556</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1558">#1558</a>)</td>
<td align="left">Unifies static cost estimation and runtime tracking
under a declarative <code>cost.OverloadModel</code> AST with container
<code>Key</code>/<code>Elem</code> size propagation, aggregate sizing,
value-backed
<code>ElemOf</code>/<code>KeyOf</code>/<code>ElemTotal</code>/<code>KeyTotal</code>/<code>Length</code>
combinators, and versioned compatibility via
<code>cel.CostModelVersion</code>.</td>
</tr>
<tr>
<td align="left"><strong>Runtime peak memory tracking</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1418">#1418</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1429">#1429</a>)</td>
<td align="left">Adds runtime memory tracking and scaled string/byte
sizing options to observe and bound peak allocation footprints during
evaluation.</td>
</tr>
<tr>
<td align="left"><strong>Native raw pointer traversal, generic
containers, and type aliasing</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1463">#1463</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1498">#1498</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1503">#1503</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1515">#1515</a>)</td>
<td align="left">Accelerates <code>cel.NativeTypes</code> struct field
selection and presence checks via <code>unsafe.Pointer</code> offset
traversal, adds generic Go slice/map adapters, and supports native type
aliasing.</td>
</tr>
<tr>
<td align="left"><strong>JSON/YAML parsing and encoding &amp; URL-safe
Base64</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1451">#1451</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1461">#1461</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1492">#1492</a>)</td>
<td align="left">Adds <code>json.parse</code>, <code>yaml.parse</code>,
and <code>yaml.encode</code> extensions (returning
<code>optional_type</code> with 10MB payload safety limits), alongside
<code>base64.encodeUrl</code> and <code>base64.decodeUrl</code> in
<code>ext.Encoders</code>.</td>
</tr>
<tr>
<td align="left"><strong>List presence helpers and versioned optional
macros</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1447">#1447</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1448">#1448</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1487">#1487</a>)</td>
<td align="left">Introduces <code>hasOnly</code>, <code>hasAny</code>,
<code>hasAll</code>, and <code>hasExactly</code> in
<code>ext.Lists</code>, <code>optional.hasValue(val)</code> in
<code>OptionalTypesVersion(3)</code>, and single-evaluation
<code>optMap</code>/<code>optFlatMap</code> macros in
<code>OptionalTypesVersion(4)</code>.</td>
</tr>
<tr>
<td align="left"><strong>HMAC digest and constant-time equality</strong>
(<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1450">#1450</a>)</td>
<td align="left">Extends <code>ext/security/hmac</code> with
<code>hmac.digest</code> and linear-time equality comparisons.</td>
</tr>
<tr>
<td align="left"><strong>Late-bound functions from
<code>Activation</code></strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1483">#1483</a>)</td>
<td align="left">Enables resolving <code>cel.FunctionVars</code>
bindings dynamically from the runtime <code>Activation</code> or
<code>cel.Globals</code>.</td>
</tr>
<tr>
<td align="left"><strong>Type-check error suggestions and
<code>cel.Env</code> JSON serialization</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1500">#1500</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1554">#1554</a>)</td>
<td align="left">Adds edit-distance spellchecking and library enablement
hints for undeclared symbols/types, plus JSON/YAML config serialization
for <code>cel.Env</code>.</td>
</tr>
<tr>
<td align="left"><strong>AST structural equivalence and
<code>@block</code> call tagging</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1467">#1467</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1544">#1544</a>)</td>
<td align="left">Provides format-insensitive AST structural comparison
in <code>common/ast</code> and tags <code>cel.@block</code> calls in
compiled ASTs.</td>
</tr>
<tr>
<td align="left"><strong>SLSA + Sigstore artifact signing and OSS-Fuzz
consolidation</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1426">#1426</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1577">#1577</a>)</td>
<td align="left">Signs release artifacts with SLSA/Sigstore provenance
and consolidates OSS-Fuzz harnesses under <code>fuzzing/</code>.</td>
</tr>
</tbody>
</table>
<p><strong>Fixes</strong></p>
<table>
<thead>
<tr>
<th align="left">Pull Request</th>
<th align="left">Impact and Technical Details</th>
</tr>
</thead>
<tbody>
<tr>
<td align="left"><strong>Undo failed assignability checks in
place</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1575">#1575</a>)</td>
<td align="left">Replaces full type-mapping clones during overload
resolution with an in-place undo log, eliminating <code>O(N^2)</code>
type-checking latency and memory growth on long conjunctions (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1553">#1553</a>).</td>
</tr>
<tr>
<td align="left"><strong>Restore <code>v0.32.0</code> cost behavior at
<code>CostModelVersion(0)</code> and <code>v0.29.2</code> cost limit
error</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1571">#1571</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1572">#1572</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1573">#1573</a>)</td>
<td align="left">Restores <code>EvalCancelledError</code>
(<code>&quot;operation cancelled: actual cost limit
exceeded&quot;</code>) when runtime cost limits are exceeded and replays
<code>v0.32.0</code> static/runtime cost rules when pinned to
<code>cel.CostModelVersion(0)</code>.</td>
</tr>
<tr>
<td align="left"><strong>Fix unsafe math and saturation in cost
estimation and tracking</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1508">#1508</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1541">#1541</a>)</td>
<td align="left">Adds <code>SafeSubtract</code>, <code>SafeTrunc</code>,
and <code>SafeMultiplyByFactorTrunc</code> in <code>common/cost</code>
so <code>uint64</code> and float-scaled costs saturate cleanly at
<code>math.MaxUint64</code> (including <code>NaN</code>) and clamp
negative values to <code>0</code>.</td>
</tr>
<tr>
<td align="left"><strong>Nil-safe <code>Program</code> evaluation and
concurrent cost tracker race fix</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1480">#1480</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1484">#1484</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1486">#1486</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1488">#1488</a>)</td>
<td align="left">Makes <code>Eval</code>, <code>ContextEval</code>, and
<code>ConcurrentEval</code> nil-safe, eliminates a data race when
capturing cost trackers across goroutines, and removes time-based
flakiness in interrupt checks.</td>
</tr>
<tr>
<td align="left"><strong>Constant folding and partial evaluation AST
consistency</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1446">#1446</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1453">#1453</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1517">#1517</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1518">#1518</a>)</td>
<td align="left">Prunes folded nodes from reference and type maps,
checks unknowns before traversing attribute qualifiers, and fixes custom
<code>Foldable</code> two-variable iteration.</td>
</tr>
<tr>
<td align="left"><strong>Native types embedded
<code>json:&quot;-&quot;</code> tags and
<code>proto.ReflectMessage</code> dereference</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1452">#1452</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1551">#1551</a>,
<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1567">#1567</a>)</td>
<td align="left">Respects <code>json:&quot;-&quot;</code> skip tags on
embedded Go structs, fixes JSON tag conversion in
<code>ConvertToNative</code>, and prevents invalid field dereferences
over <code>proto.ReflectMessage</code>.</td>
</tr>
<tr>
<td align="left"><strong>Fix regex counted repetition sizing
panic</strong> (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1438">#1438</a>)</td>
<td align="left">Prevents a panic when estimating compiled regex program
sizes for counted repetitions.</td>
</tr>
</tbody>
</table>
<p><strong>Breaking Changes</strong></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cel-expr/cel-go/commit/c8b1865443e0de549d289cc280aaefa91d55c1f4"><code>c8b1865</code></a>
Changes to the fast-path list and map accessors to ensure that object
travers...</li>
<li><a
href="https://github.com/cel-expr/cel-go/commit/fd8eb2343c6a4294575aef95a9ad03f82b5ba6ca"><code>fd8eb23</code></a>
Release v0.33.1 cherry-picks (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1590">#1590</a>)</li>
<li><a
href="https://github.com/cel-expr/cel-go/commit/f99b2fe7d8d9d48a45635a17f9edbf20debed3f0"><code>f99b2fe</code></a>
Fix presence perf regression (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1578">#1578</a>)</li>
<li><a
href="https://github.com/cel-expr/cel-go/commit/4ab6aedf5933b15dcf0b3237e4bf0aed58b953dc"><code>4ab6aed</code></a>
Lint fixes for deprecations, best practices (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1579">#1579</a>)</li>
<li><a
href="https://github.com/cel-expr/cel-go/commit/73b80a7fef29d225a440b4d3fda15f67602cc21f"><code>73b80a7</code></a>
Merge pull request <a
href="https://redirect.github.com/cel-expr/cel-go/issues/1577">#1577</a>
from dmitriplotnikov/fuzzing</li>
<li><a
href="https://github.com/cel-expr/cel-go/commit/f4595e5eebd1d014c9ba83d417caba6a629b0bee"><code>f4595e5</code></a>
Consolidate OSS-Fuzz and internal fuzz targets in fuzzing package</li>
<li><a
href="https://github.com/cel-expr/cel-go/commit/da497679dd3196e7b44e4059722b18e285544ad6"><code>da49767</code></a>
Fix failing BenchmarkCheck cases (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1576">#1576</a>)</li>
<li><a
href="https://github.com/cel-expr/cel-go/commit/840daca0e42dc38f3eb7601a7b4492c814711787"><code>840daca</code></a>
Replay v0.32.0 costs at version 0; fix optional sizing, call floor, and
condi...</li>
<li><a
href="https://github.com/cel-expr/cel-go/commit/e205d7a507a7de75930156eceb2a23a8ca6f67fc"><code>e205d7a</code></a>
Restore v0.32.0 cost behavior at ModelVersion(0) (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1573">#1573</a>)</li>
<li><a
href="https://github.com/cel-expr/cel-go/commit/e3e6964ba3e3f9e1d81b623a71041c3eeede7187"><code>e3e6964</code></a>
Updates to the 'Length' estimation reasoning (<a
href="https://redirect.github.com/cel-expr/cel-go/issues/1570">#1570</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/cel-expr/cel-go/compare/v0.32.0...v0.33.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cel.dev/cel-go&package-manager=go_modules&previous-version=0.32.0&new-version=0.33.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-10 12:17:47 +00:00
Kyle Carberry 4fe64af03b refactor: replace gonum in agent/unit with an adjacency map graph (#31235)
**Stack:**
- #31232
- #31233
- #31234
- #31235
- #31236
- #31237

`agent/unit.Graph` used gonum's `simple`, `topo`, and `encoding/dot`
packages, which pull in `gonum/mat` and friends (~2 MB) for a graph with
a handful of nodes.

Replace it with forward/reverse adjacency maps, a DFS reachability check
for cycle detection, and a small DOT writer. The existing golden files
are unchanged.

<details>
<summary>Context: binary size investigation</summary>

Measured with full `make build/coder_linux_amd64` builds (zstd `-22
--ultra`) of `main` vs. the whole stack:

| Artifact | Before | After |
|---|---|---|
| `coder` (fat, linux/amd64) | 469 MB | 339 MB |
| `coder-slim` (linux/amd64) | 62 MB | 52 MB |
| Embedded `site/out` | 169 MB | 72 MB |
| Embedded `coder.tar.zst` | 83 MB | 60 MB |

Stack, each PR removes one source of size:

1. Hidden frontend source maps (~97 MB of embedded assets)
2. Slim tarball ordering so zstd `--long` dedupes across OSes (~14 MB on
the embedded archive)
3. `aisdk-go` only supplied two struct types but pulled in `openai-go`
v1 and `genai`
4. `gonum` used only for a tiny DAG in `agent/unit`
5. `gofakeit` root package links every faker; only two word lists are
used
6. Hugo `pageparser` used only to read YAML front matter in `templates
push`

Sizes were attributed with `go-size-analyzer` and an import-graph
dominator pass. Not in this stack: compiling out trivy's module download
resolvers in `coder/trivy` (~29 MB, drops go-getter, GCS, and S3 SDKs),
swagger-ui's bundled source maps (~7 MB), and OPA's embedded historical
capability JSON (~4 MB).
</details>

---
_Generated by Coder Agents on behalf of @kylecarbs._
2026-11-05 15:16:40 -05:00
Kyle Carberry 36b472991d refactor: replace aisdk-go tool types with codersdk/toolsdk/tooldef (#31234) 2026-11-05 09:45:21 -05:00
dependabot[bot] 249ba039ab chore: bump github.com/prometheus/common from 0.72.1 to 0.73.0 (#31695)
Bumps
[github.com/prometheus/common](https://github.com/prometheus/common)
from 0.72.1 to 0.73.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/prometheus/common/releases">github.com/prometheus/common's
releases</a>.</em></p>
<blockquote>
<h2>v0.73.0</h2>
<h2>What's Changed</h2>
<ul>
<li>expfmt: default to allow-utf-8 escaping for OpenMetrics 2.0 by <a
href="https://github.com/KR-Ravindra"><code>@​KR-Ravindra</code></a> in
<a
href="https://redirect.github.com/prometheus/common/pull/1008">prometheus/common#1008</a></li>
<li>expfmt: add FmtOpenMetrics_2_0_0_rc format constant by <a
href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a
href="https://redirect.github.com/prometheus/common/pull/1020">prometheus/common#1020</a></li>
<li>expfmt: add ABNF-based OpenMetrics 1.0 parser by <a
href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a
href="https://redirect.github.com/prometheus/common/pull/1015">prometheus/common#1015</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/KR-Ravindra"><code>@​KR-Ravindra</code></a>
made their first contribution in <a
href="https://redirect.github.com/prometheus/common/pull/1008">prometheus/common#1008</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/prometheus/common/compare/v0.72.1...v0.73.0">https://github.com/prometheus/common/compare/v0.72.1...v0.73.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/prometheus/common/blob/main/CHANGELOG.md">github.com/prometheus/common's
changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>main / unreleased</h2>
<h3>What's Changed</h3>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/prometheus/common/commit/983d50981d14d136bf5770ede264415d6d56316b"><code>983d509</code></a>
expfmt: add ABNF-based OpenMetrics 1.0 parser (<a
href="https://redirect.github.com/prometheus/common/issues/1015">#1015</a>)</li>
<li><a
href="https://github.com/prometheus/common/commit/220c51a799c52cc5ba42efd2bce8a4e59bfb8547"><code>220c51a</code></a>
expfmt: add FmtOpenMetrics_2_0_0_rc format constant (<a
href="https://redirect.github.com/prometheus/common/issues/1020">#1020</a>)</li>
<li><a
href="https://github.com/prometheus/common/commit/25bdf5c3eaf9318d916a29cca8aeeea4fcd9bf4d"><code>25bdf5c</code></a>
expfmt: default to allow-utf-8 escaping for OpenMetrics 2.0 (<a
href="https://redirect.github.com/prometheus/common/issues/1008">#1008</a>)</li>
<li>See full diff in <a
href="https://github.com/prometheus/common/compare/v0.72.1...v0.73.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/common&package-manager=go_modules&previous-version=0.72.1&new-version=0.73.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-03 12:21:26 +00:00
Ethan ff40ec6900 fix: pick the Anthropic computer use tool version from the model on every platform (#31657)
#31521 made computer use send `computer_toolset_20260801` to Claude 4.8
and later, but swapped it back to `computer_20251124` on Claude Platform
on AWS and Bedrock, since Anthropic's docs say neither offers the
toolset. That's wrong for Claude Platform on AWS, so computer use on
dogfood's Opus 5.5 fails with `'claude-opus-5-5' does not support tool
types: computer_20251124`.

I probed the AI gateway, and Claude Platform on AWS accepts exactly the
versions the Claude API does, e.g. the toolset for Opus 4.8 and 5.5, and
`computer_20251124` for Opus 4.6. The harnesses that get this right
(Anthropic's computer-use demo and SDK toolset helpers, the Vercel AI
SDK, LiteLLM) pick the version from the model ID alone and leave the
wire format to the platform client, so we'll do the same and drop the
override. fantasy's doc comment repeated the docs, which
coder/fantasy#83 fixed, so this bumps fantasy too.

Bedrock follows the same model table. AWS's Opus 4.8 model card only
lists `computer_20251124`, but it's just behind: Anthropic's Bedrock
docs list Opus 4.8 as taking the toolset with no beta header, and
`anthropic.claude-opus-4-8` on Bedrock (via Mantle in us-east-1)
returned a `screenshot` tool call for the toolset with no beta.
Dogfood's InvokeModel route, which runs Opus 5.5, does the same.

Bedrock was also broken on `main`, since aibridge's Bedrock beta
allowlist drops `computer-use-2025-11-24`, so `computer_20251124` never
got through validation. I've added it. On InvokeModel, Opus 4.7 returned
a `computer` tool call for `computer_20251124` once the flag reached
Bedrock, but a 400 when the flag went through dogfood's gateway, which
runs `main` and drops it. Unlike the effort and context management
flags, the flag doesn't need gating per model, as Bedrock accepts it on
models that don't support `computer_20251124`. On Bedrock InvokeModel in
us-east-2, Haiku 4.5 returned a 200 with the flag on its own and with
`computer-use-2025-01-24` and a `computer_20250124` tool, whilst a
made-up flag got a 400. Bedrock only rejects the tool type itself, and
the model table never sends `computer_20251124` to Haiku 4.5 anyway.

InvokeModel does still run the provider's `settings.model` rather than
the model the chat config names, so the version can disagree with what
actually runs if the two differ. That's the known model swap in #29511,
and it's no worse here, as `main` picked the version from the model
config too. The documented setup is one provider per model, so the two
match, and the native `bedrock-runtime` protocol will remove the swap.

I verified Claude Platform on AWS end to end, running Coder Agents from
this branch against dogfood's AWS gateway route. Computer use on Opus
5.5 and Sonnet 5.5 sent the toolset and got a 200 on every request,
across multi-step turns, an interrupted turn, a page reload, and a chat
that switched to Opus 4.6 (which sent `computer_20251124`) and back. The
same setup on `main` reproduced the 400.

I also ran the same scenarios against dogfood's Bedrock InvokeModel
route. Opus 5.5 and Haiku 5.5 got a 200 on every computer use request,
with up to 22 screenshots in the history, including a chat that switched
to Opus 4.6 on Claude Platform on AWS and back. That went through
dogfood's gateway, so it covers what Bedrock accepts from Coder Agents,
but not a Bedrock provider configured in Coder itself, which I still
haven't run end to end.
2026-11-03 16:52:56 +11:00
dependabot[bot] 166e19c9ed chore: bump github.com/valyala/fasthttp from 1.75.0 to 1.77.0 (#31658)
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp)
from 1.75.0 to 1.77.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/valyala/fasthttp/releases">github.com/valyala/fasthttp's
releases</a>.</em></p>
<blockquote>
<h2>v1.77.0</h2>
<p><code>v1.77.0</code> strengthens static-file confinement, fixes
hijacked connection handling, and improves HTTP and cookie
compatibility. It also adds an opt-in bounded stream reader,
configurable body-buffer retention, and deadline support for adapted
<code>net/http</code> handlers.</p>
<p><strong>Static-file symlink behavior changes by default.</strong> The
default OS-backed <code>FS</code> now rejects symlinks that leave
<code>Root</code> or <code>CompressRoot</code>, as well as absolute
symlinks even when their targets are inside the root. Relative symlinks
that stay inside the root continue to work. Set
<code>FS.AllowSymlinksOutsideRoot</code> to restore the previous
behavior when external symlinks are intentional. Custom
<code>FS.FS</code> implementations are unaffected. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2490">#2490</a></p>
<h2>Security fixes and hardening</h2>
<ul>
<li><strong>Default static-file operations stay within their configured
roots.</strong> File reads and compressed-cache operations use
<code>os.Root</code> to prevent symlink traversal outside
<code>Root</code> and <code>CompressRoot</code>. Each root is confined
independently; empty roots with <code>AllowEmptyRoot</code> and
whole-volume roots retain their existing behavior. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2490">#2490</a></li>
<li><strong>Custom filesystems no longer trigger unrelated disk
deletions.</strong> A stale compressed file in a custom
<code>FS.FS</code> previously caused an <code>os.Remove</code> call
using its filesystem-relative name, potentially deleting a matching file
in the process working directory. Custom filesystems now regenerate
stale compressed content in memory without removing a disk file. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2489">#2489</a></li>
<li><strong>Kept hijacked connections no longer depend on a recycled
request context.</strong> With both <code>KeepHijackedConns</code> and
<code>ReduceMemoryUsage</code> enabled, the hijacked reader is detached
from the context before the hijack handler runs. This prevents later
reads from panicking or accessing another client's connection after
context reuse. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2495">#2495</a></li>
</ul>
<h2>Features and resource management</h2>
<ul>
<li><strong>An opt-in stream reader bounds copied payload
buffering.</strong> <code>NewBoundedStreamReader</code> works with
<code>SetBodyStream</code> and applies backpressure when consumers fall
behind. Active copied payload is limited to 160 KiB per bridge, or 320
KiB across the two bridges used by its bounded compression path. These
limits exclude caller buffers, codecs, sockets, and other overhead;
wrapping the reader loses the combined compression bound. Existing
<code>NewStreamReader</code> and <code>SetBodyStreamWriter</code>
behavior is unchanged. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2488">#2488</a></li>
<li><strong>Request and response body buffers can be retained
explicitly.</strong> The exported <code>Request.KeepBodyBuffer</code>
and <code>Response.KeepBodyBuffer</code> fields preserve body buffers
across resets for reuse. Releasing a request or response to the pool
clears the retention setting. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2451">#2451</a></li>
<li><strong>Adapted handlers can configure connection
deadlines.</strong> <code>RequestCtx.SetReadDeadline</code> and
<code>SetWriteDeadline</code> are also exposed through
<code>fasthttpadaptor</code>, enabling
<code>http.ResponseController</code> deadline calls. The adaptor still
buffers the request body before invoking the handler, so a read deadline
set inside an adapted handler cannot govern the preceding upload. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2452">#2452</a></li>
</ul>
<h2>HTTP compatibility and connection handling</h2>
<ul>
<li><strong>Weighted compression codings are recognized.</strong>
<code>Accept-Encoding</code> entries such as <code>gzip;q=0.8</code> now
match, while <code>q=0</code> makes a coding unacceptable. Matching
remains case-insensitive and requires a complete coding token;
quality-based preference ordering and wildcard matching are not added.
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2491">#2491</a></li>
<li><strong>HTTP/1.0 clients no longer receive unsupported informational
responses.</strong> <code>Expect: 100-continue</code> is ignored for
HTTP/1.0 requests, and <code>103 Early Hints</code> is not sent to
HTTP/1.0 clients. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2492">#2492</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2496">#2496</a></li>
<li><strong>Hijacking works with server keep-alive limits.</strong>
<code>DisableKeepalive</code> and reaching
<code>MaxRequestsPerConn</code> no longer suppress a registered hijack
handler or add an unwanted <code>Connection: close</code> to an upgrade
response. Explicit connection-close requests and other existing close
conditions still apply. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2494">#2494</a></li>
<li><strong>Pipe connection deadlines interrupt pending
operations.</strong> Updating deadlines on
<code>fasthttputil.PipeConns</code> now affects blocked reads and
writes, and write-deadline updates no longer race with writes. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2471">#2471</a></li>
<li><strong>Cookie parsing tolerates invalid attributes and handles
names consistently.</strong> Invalid <code>Max-Age</code> attributes are
ignored, <code>Secure</code>, <code>HttpOnly</code>, and
<code>Partitioned</code> are recognized even with a value, and
surrounding tabs are trimmed. <code>Set-Cookie</code> values without
<code>=</code> are stored under the same empty key returned by
<code>Cookie.ParseBytes</code>, keeping lookup and deletion consistent.
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2497">#2497</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2498">#2498</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2500">#2500</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2501">#2501</a></li>
</ul>
<p>Proxy authentication now uses decoded credentials in
<code>Proxy-Authorization</code>, and static-file <code>416 Range Not
Satisfiable</code> responses include <code>Content-Range</code>. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2499">#2499</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2502">#2502</a></p>
<h2>What's Changed</h2>
<h3>Security and hardening</h3>
<ul>
<li>fix(fs): resolve default FS paths with os.Root so they stay inside
Root by <a
href="https://github.com/Thanatos9404"><code>@​Thanatos9404</code></a>
in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2490">valyala/fasthttp#2490</a></li>
<li>fix(fs): don't remove stale compressed files of a custom FS.FS from
disk by <a
href="https://github.com/Thanatos9404"><code>@​Thanatos9404</code></a>
in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2489">valyala/fasthttp#2489</a></li>
<li>fix: detach kept hijacked connections from the request context's
reader by <a href="https://github.com/h2zi"><code>@​h2zi</code></a> in
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2495">valyala/fasthttp#2495</a></li>
</ul>
<h3>Features</h3>
<ul>
<li>Add an opt-in bounded stream reader by <a
href="https://github.com/CSXizhang"><code>@​CSXizhang</code></a> in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2488">valyala/fasthttp#2488</a></li>
<li>Export KeepBodyBuffer on Request and Response by <a
href="https://github.com/AdamMagued"><code>@​AdamMagued</code></a> in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2451">valyala/fasthttp#2451</a></li>
<li>fasthttpadaptor: add support for ResponseController SetReadDeadline
and SetWriteDeadline by <a
href="https://github.com/AdamMagued"><code>@​AdamMagued</code></a> in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2452">valyala/fasthttp#2452</a></li>
</ul>
<h3>Fixes</h3>
<ul>
<li>fix: accept Accept-Encoding codings that carry a quality value by <a
href="https://github.com/ybai08"><code>@​ybai08</code></a> in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2491">valyala/fasthttp#2491</a></li>
<li>fix: ignore Expect: 100-continue in HTTP/1.0 requests by <a
href="https://github.com/LuisFigueroaG"><code>@​LuisFigueroaG</code></a>
in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2492">valyala/fasthttp#2492</a></li>
<li>fix: don't send 103 Early Hints to HTTP/1.0 clients by <a
href="https://github.com/LuisFigueroaG"><code>@​LuisFigueroaG</code></a>
in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2496">valyala/fasthttp#2496</a></li>
<li>fix: run hijack handlers under DisableKeepalive and
MaxRequestsPerConn by <a
href="https://github.com/h2zi"><code>@​h2zi</code></a> in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2494">valyala/fasthttp#2494</a></li>
<li>make PipeConns deadlines interrupt pending reads and writes by <a
href="https://github.com/h2zi"><code>@​h2zi</code></a> in <a
href="https://redirect.github.com/valyala/fasthttp/pull/2471">valyala/fasthttp#2471</a></li>
<li>fix(cookie): ignore an invalid Max-Age attribute instead of failing
to parse by <a
href="https://github.com/nk-batman21"><code>@​nk-batman21</code></a> in
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2497">valyala/fasthttp#2497</a></li>
<li>fix(fasthttpproxy): send decoded proxy credentials in
Proxy-Authorization by <a
href="https://github.com/nk-batman21"><code>@​nk-batman21</code></a> in
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2499">valyala/fasthttp#2499</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/valyala/fasthttp/commit/61bdcc30d0484032c9b2af7c16f6ec0f2089d288"><code>61bdcc3</code></a>
fix(fs): send Content-Range with 416 responses (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2502">#2502</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/020e4edeca1d382212f86cf0800e99d1633d2a58"><code>020e4ed</code></a>
fix(cookie): store Set-Cookie without '=' under the key ParseBytes gives
it (...</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/33b52614296f7c01815719af680a42d285a7b909"><code>33b5261</code></a>
fix(cookie): trim tabs around cookie names, values and attributes (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2500">#2500</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/7e7f8ecd9a8327705ab1e6a1af94840e842799d9"><code>7e7f8ec</code></a>
fix(cookie): recognize Secure, HttpOnly and Partitioned with a value (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2498">#2498</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/720d20ee202dc5d186aa61e1dbd86ec66eb6a9f9"><code>720d20e</code></a>
fix(fasthttpproxy): send decoded proxy credentials in
Proxy-Authorization (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2">#2</a>...</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/91b4512285e82d471114e81accb30b6ab72c2070"><code>91b4512</code></a>
fix(cookie): ignore an invalid Max-Age attribute instead of failing to
parse ...</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/e0f6199f8bafde56a81c749fb61c9c20b9f88273"><code>e0f6199</code></a>
Export KeepBodyBuffer on Request and Response (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2451">#2451</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/d9bf5c578fe589ab99a4ef0616f2aedf9f521c55"><code>d9bf5c5</code></a>
fix: detach kept hijacked connections from the request context's reader
(<a
href="https://redirect.github.com/valyala/fasthttp/issues/2495">#2495</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/ad21d1b514ee267e6d78002468d73aa7521507c5"><code>ad21d1b</code></a>
make PipeConns deadlines interrupt pending reads and writes (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2471">#2471</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/09cba73448090a724fe9eda660c7eb7c2d8740ce"><code>09cba73</code></a>
fix: run hijack handlers under DisableKeepalive and MaxRequestsPerConn
(<a
href="https://redirect.github.com/valyala/fasthttp/issues/2494">#2494</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/valyala/fasthttp/compare/v1.75.0...v1.77.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/valyala/fasthttp&package-manager=go_modules&previous-version=1.75.0&new-version=1.77.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-03 02:29:43 +00:00
dependabot[bot] 3aa2c70c8f chore: bump github.com/coder/terraform-provider-coder/v2 from 2.19.0 to 2.20.0 (#31659)
Bumps
[github.com/coder/terraform-provider-coder/v2](https://github.com/coder/terraform-provider-coder)
from 2.19.0 to 2.20.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/coder/terraform-provider-coder/releases">github.com/coder/terraform-provider-coder/v2's
releases</a>.</em></p>
<blockquote>
<h2>v2.20.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix cron example in script documentation by <a
href="https://github.com/bjornrobertsson"><code>@​bjornrobertsson</code></a>
in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/522">coder/terraform-provider-coder#522</a></li>
<li>build(deps): Bump actions/setup-go from 6 to 7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/528">coder/terraform-provider-coder#528</a></li>
<li>build(deps): Bump goreleaser/goreleaser-action from 7.2.1 to 7.2.3
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/520">coder/terraform-provider-coder#520</a></li>
<li>docs(provider/env): clarify merge_strategy does not include host
environment by <a
href="https://github.com/bpmct"><code>@​bpmct</code></a> in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/538">coder/terraform-provider-coder#538</a></li>
<li>chore: deprecate <code>coder_ai_task</code> and
<code>coder_task</code> by <a
href="https://github.com/blinkagent"><code>@​blinkagent</code></a>[bot]
in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/539">coder/terraform-provider-coder#539</a></li>
<li>fix: external urls validate a scheme and hostname by <a
href="https://github.com/untra"><code>@​untra</code></a> in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/542">coder/terraform-provider-coder#542</a></li>
<li>fix: un-deprecate coder_agent dir by <a
href="https://github.com/aqandrew"><code>@​aqandrew</code></a> in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/549">coder/terraform-provider-coder#549</a></li>
<li>feat: add coder_script_order data source by <a
href="https://github.com/BobbyHo"><code>@​BobbyHo</code></a> in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/550">coder/terraform-provider-coder#550</a></li>
<li>test(integration): verify script ordering against compatible Coder
versions by <a
href="https://github.com/BobbyHo"><code>@​BobbyHo</code></a> in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/552">coder/terraform-provider-coder#552</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/bjornrobertsson"><code>@​bjornrobertsson</code></a>
made their first contribution in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/522">coder/terraform-provider-coder#522</a></li>
<li><a href="https://github.com/untra"><code>@​untra</code></a> made
their first contribution in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/542">coder/terraform-provider-coder#542</a></li>
<li><a href="https://github.com/aqandrew"><code>@​aqandrew</code></a>
made their first contribution in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/549">coder/terraform-provider-coder#549</a></li>
<li><a href="https://github.com/BobbyHo"><code>@​BobbyHo</code></a> made
their first contribution in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/550">coder/terraform-provider-coder#550</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/coder/terraform-provider-coder/compare/v2.19.0...v2.20.0">https://github.com/coder/terraform-provider-coder/compare/v2.19.0...v2.20.0</a></p>
<h2>v2.20.0-pre1</h2>
<h2>What's Changed</h2>
<ul>
<li>feat: add coder_script_order data source by <a
href="https://github.com/BobbyHo"><code>@​BobbyHo</code></a> in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/550">coder/terraform-provider-coder#550</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/BobbyHo"><code>@​BobbyHo</code></a> made
their first contribution in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/550">coder/terraform-provider-coder#550</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/coder/terraform-provider-coder/compare/v2.20.0-pre0...v2.20.0-pre1">https://github.com/coder/terraform-provider-coder/compare/v2.20.0-pre0...v2.20.0-pre1</a></p>
<h2>v2.20.0-pre0</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix cron example in script documentation by <a
href="https://github.com/bjornrobertsson"><code>@​bjornrobertsson</code></a>
in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/522">coder/terraform-provider-coder#522</a></li>
<li>build(deps): Bump actions/setup-go from 6 to 7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/528">coder/terraform-provider-coder#528</a></li>
<li>build(deps): Bump goreleaser/goreleaser-action from 7.2.1 to 7.2.3
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/520">coder/terraform-provider-coder#520</a></li>
<li>docs(provider/env): clarify merge_strategy does not include host
environment by <a
href="https://github.com/bpmct"><code>@​bpmct</code></a> in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/538">coder/terraform-provider-coder#538</a></li>
<li>chore: deprecate <code>coder_ai_task</code> and
<code>coder_task</code> by <a
href="https://github.com/blinkagent"><code>@​blinkagent</code></a>[bot]
in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/539">coder/terraform-provider-coder#539</a></li>
<li>fix: external urls validate a scheme and hostname by <a
href="https://github.com/untra"><code>@​untra</code></a> in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/542">coder/terraform-provider-coder#542</a></li>
<li>fix: un-deprecate coder_agent dir by <a
href="https://github.com/aqandrew"><code>@​aqandrew</code></a> in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/549">coder/terraform-provider-coder#549</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/bjornrobertsson"><code>@​bjornrobertsson</code></a>
made their first contribution in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/522">coder/terraform-provider-coder#522</a></li>
<li><a href="https://github.com/untra"><code>@​untra</code></a> made
their first contribution in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/542">coder/terraform-provider-coder#542</a></li>
<li><a href="https://github.com/aqandrew"><code>@​aqandrew</code></a>
made their first contribution in <a
href="https://redirect.github.com/coder/terraform-provider-coder/pull/549">coder/terraform-provider-coder#549</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/coder/terraform-provider-coder/compare/v2.19.0...v2.20.0-pre0">https://github.com/coder/terraform-provider-coder/compare/v2.19.0...v2.20.0-pre0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/coder/terraform-provider-coder/commit/d5137fb3fc5e493eb46becad2aeac518bc41c861"><code>d5137fb</code></a>
test(integration): verify script ordering against compatible Coder
versions (...</li>
<li><a
href="https://github.com/coder/terraform-provider-coder/commit/e851c57ccdf46ee89451d8e6dc5ebfaff13da30e"><code>e851c57</code></a>
feat: add coder_script_order data source (<a
href="https://redirect.github.com/coder/terraform-provider-coder/issues/550">#550</a>)</li>
<li><a
href="https://github.com/coder/terraform-provider-coder/commit/c4a4316772b190dc38139fc36bf4212eea1a7109"><code>c4a4316</code></a>
fix: un-deprecate coder_agent dir (<a
href="https://redirect.github.com/coder/terraform-provider-coder/issues/549">#549</a>)</li>
<li><a
href="https://github.com/coder/terraform-provider-coder/commit/97991e353bde022e94c85962c62ba225849cfd15"><code>97991e3</code></a>
fix: external urls validate a scheme and hostname (<a
href="https://redirect.github.com/coder/terraform-provider-coder/issues/542">#542</a>)</li>
<li><a
href="https://github.com/coder/terraform-provider-coder/commit/feb50f74a1c043a197354c17d115f796c7efc0a9"><code>feb50f7</code></a>
chore: deprecate <code>coder_ai_task</code> and <code>coder_task</code>
(<a
href="https://redirect.github.com/coder/terraform-provider-coder/issues/539">#539</a>)</li>
<li><a
href="https://github.com/coder/terraform-provider-coder/commit/91c5b76ecb7a457c862fc97b41cb82ae664ebc46"><code>91c5b76</code></a>
docs(provider/env): clarify merge_strategy does not include host
environment ...</li>
<li><a
href="https://github.com/coder/terraform-provider-coder/commit/b6ff7a2bf5d9f0442722363ca272b9f46d1843ce"><code>b6ff7a2</code></a>
build(deps): Bump goreleaser/goreleaser-action from 7.2.1 to 7.2.3 (<a
href="https://redirect.github.com/coder/terraform-provider-coder/issues/520">#520</a>)</li>
<li><a
href="https://github.com/coder/terraform-provider-coder/commit/2b6af2fcc8e6c9a965554161e316963db43afa52"><code>2b6af2f</code></a>
build(deps): Bump actions/setup-go from 6 to 7 (<a
href="https://redirect.github.com/coder/terraform-provider-coder/issues/528">#528</a>)</li>
<li><a
href="https://github.com/coder/terraform-provider-coder/commit/e5bc35fddd91ea61e2f6c051d69184452c3713cb"><code>e5bc35f</code></a>
Fix cron example in script documentation (<a
href="https://redirect.github.com/coder/terraform-provider-coder/issues/522">#522</a>)</li>
<li>See full diff in <a
href="https://github.com/coder/terraform-provider-coder/compare/v2.19.0...v2.20.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/coder/terraform-provider-coder/v2&package-manager=go_modules&previous-version=2.19.0&new-version=2.20.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-03 02:28:59 +00:00
coder[bot] f6b2776248 fix: bump gomarkdown/markdown to fix GHSA-cv23-7vc5-jfh7 (#31439)
Bumps `github.com/gomarkdown/markdown` from
`v0.0.0-20260411013819-759bbc3e3207` to
`v0.0.0-20260724235538-61af6e1e6971`, the first version with the fix for
[GHSA-cv23-7vc5-jfh7](https://github.com/advisories/GHSA-cv23-7vc5-jfh7)
/ CVE-2026-102941. `IsSafeURL` sliced the URL before checking its
length, so empty or 1 to 2 byte link destinations panic when `Safelink`
is on.

The IronBank VAT scan of `coder-service-2:2.38.3` flags this (High) in
`/opt/coder`. It's justified as Mitigated today because the `safeURL`
wrapper and panic recovery in `coderd/render/markdown.go` (#28340) keep
it from crashing. The finding stays open until the library is bumped.
The 2.38 backport is #31442.

This pins the first fixed version, not upstream HEAD, to keep the change
small. Upstream has since added CommonMark parser changes and another
fix (79e163b, GHSA-c9jw-c68c-f39j, quadratic parse time on unclosed HTML
block tags) that isn't in a published advisory yet. That can be a
follow-up bump. The `safeURL` workaround is left as is; it can be
simplified separately.

Verified: `go test ./coderd/render/...` and `go test
./coderd/notifications/ -run Golden` pass. `go mod tidy` changed no
other modules. Local git hooks were skipped; CI is the gate.

Part of [ENT-229](https://linear.app/codercom/issue/ENT-229) (parent
[ENT-230](https://linear.app/codercom/issue/ENT-230)). 2.38 backport:
#31442.

Opened by Superblink on behalf of @droopy4096.

Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
2026-11-02 18:24:02 +00:00
Michael SuchaczandEthan Dickson b6dc7158b4 feat: use the Anthropic computer use toolset for Claude 4.8 and later (#31521)
> Xum acted for Mike: this PR was written and opened by an AI agent on
Mike's behalf.

Computer use subagents on Claude 5.5 models (`claude-opus-5-5`,
`claude-sonnet-5-5`) failed on their first request: these models reject
`computer_20251124` and accept only the GA toolset
`computer_toolset_20260801`.

chatd now picks the Anthropic computer use tool version from the chat's
model with `ComputerUseToolVersionForModel` from coder/fantasy: the
toolset for Claude 4.8 and later, `computer_20251124` for Opus 4.5 to
4.7, Sonnet 4.6 and model IDs it cannot parse, and `computer_20250124`
for Haiku and Sonnet 4.5. Claude Platform on AWS and Amazon Bedrock
offer computer use only through the earlier versions, so an Anthropic
provider configured for either declares `computer_20251124` where the
model would take the toolset. For the toolset, chatd answers like
Anthropic's SDK tool runner: actions answer with text and only
`screenshot` returns an image, `cursor_position` returns the position as
text, `key` honors `repeat` (1 to 100), and zoom is declared disabled
because the agent desktop has no zoom action. The earlier versions still
answer every action with a screenshot.

A step's computer calls run one at a time in call order. For every
Anthropic version, the calls after one that failed, or that was rejected
before it ran (malformed input or a pre_tool_use hook denial), return
`Not executed: an earlier computer action in this turn failed.` without
running, which is the SDK runner's text. The chat loop enforces this
halt, so the computer tool keeps no state between calls. `wait` and
`hold_key` durations are read as seconds (capped at 300).

The frontend marks Claude Opus 5.5 and Sonnet 5.5 as verified for
computer use, and the computer tool row now labels each action ("Left
click", "Type", "Press key") instead of "Screenshot", shows text output,
and shows the error of failed or halted calls inline. The error block is
shared with the write_file and edit_files rows as
`ToolCall.ErrorDetail`.

Uses coder/fantasy#80 and coder/fantasy#82, both merged. `go.mod` pins
the fork to `7882f906a89a`.

<details>
<summary>UAT</summary>

TL;DR: it works. A remote Coder Agents UAT on dogfood passed on
`00143d5b12`, with all model traffic logged through a proxy:

- `claude-opus-5-5`, `claude-sonnet-5-5` and `claude-opus-4-8` declared
`computer_toolset_20260801` with zoom disabled and no beta header.
`claude-opus-4-6` and an unknown model ID declared `computer_20251124`
with the `computer-use-2025-11-24` beta, `claude-haiku-4-5` declared
`computer_20250124`, and a Claude Platform on AWS provider declared
`computer_20251124`. Opus 5.5, Sonnet 5.5, Opus 4.6 and Haiku 4.5 each
completed a desktop task.
- Toolset actions answered with text and only `screenshot` returned an
image. `repeat` 100 ran, 150 failed, and `wait` 400 stopped at 300
seconds.
- A failed call (`repeat` 150 on the toolset, a desktop error on 4.6)
and a pre_tool_use hook denial each halted the rest of the step without
touching the desktop. The next step ran normally.
- The computer tool rows showed action labels, text output and the halt
error. Opus 5.5 and Sonnet 5.5 showed no warning in the computer use
model selector. Switching a chat between 4.6 and 5.5 worked in both
directions.

Not tested: the tool type on Bedrock, and a halt after malformed model
input. Known, unchanged behavior: the desktop reports success for
unknown key names and off-screen coordinates, the model can still emit
`zoom`, which fails, and `scroll` up fails in `agent/x/agentdesktop`
because the negative amount is read as a flag. Both failures halt the
rest of their batch.

</details>

---------

Co-authored-by: Ethan Dickson <ethanndickson@gmail.com>
2026-11-02 21:28:22 +11:00
Mathias Fredriksson 48a3d3ff12 fix: keep OpenAI web searches in later turns (#31355)
OpenAI chats dropped every earlier web search from the next request
with store false, so on later turns the model said it made no tool
calls. Fantasy replayed a search only as an item_reference, which
OpenAI cannot resolve for an unstored item.

The fantasy pin moves to coder_2_33 with coder/fantasy#78, which sends
a search inline as an id-less web_search_call, rebuilt from its result
metadata, whenever it does not go back as an item_reference. With
store true it also covers searches from an unstored response, as when a
chat moves to a stored model config or a zero data retention org, and
searches with no reasoning before them. The model gets the action it
took, not the page contents, which OpenAI does not keep for references
either.

TestChatOpenAIResponsesWebSearch now sends a second turn and asserts
the exact inline item for each action shape through the chat API and
chatd's prompt builder. The fake OpenAI server accepts inline searches
without an id, returns OpenAI's 404 for references to items it served
with store false, and sends sources only on search actions. The tests'
reference checks now also catch references without a type, which
openai-go omits.

Relates to CODAGT-1482
2026-10-29 19:50:34 +00:00
Hugo Dutka 78a681fb9f fix: route ACP diagnostics through Coder logging (#31405)
Route ACP SDK diagnostics through the workspace agent's Coder logger
instead of the process-wide standard slog logger, which Trivy replaces
with an unsafe buffering handler. Install the logger before starting the
harness so even immediate output and disconnects use the configured
logger.

Bump the ACP SDK to commit `0da7315c23b5`, which merged the synchronized
`SetLogger` fix into SDK main in
https://github.com/coder/acp-go-sdk/pull/59. Preserve diagnostic levels
and structured fields, identify the harness, and omit raw protocol
frames that can contain conversation content or workspace secrets. The
previous Trivy dependency update is removed;
https://github.com/coder/trivy/pull/87 is closed as superseded.

Fixes
https://linear.app/codercom/issue/ENG-3489/flake-testagent-acpreadiness-data-race-in-trivy-slog-deferredhandler

Generated by Coder Agents on behalf of @hugodutka.
2026-10-29 10:54:04 +01:00
Bobby Ho 76d9452877 chore: bump coder/preview and coder/trivy to converge random_* values passed into modules (#31357)
Update preview and Coder’s Trivy fork to fix dynamic parameters failing to settle when templates pass `random_*` values into modules. The upstream fix evaluates every submodule on each pass.

- Bump preview to `155f674f1c7b` and Trivy to `65abc04915bd`. Both updates are required because Go ignores dependencies’ `replace` directives.
- Only `go.mod` and `go.sum` change; no other module versions change. Regression tests live in the upstream Trivy fix.
- `go build ./...` and targeted Coder tests pass. Template ranking tests fail intermittently on both this branch and unmodified `main`, but pass in isolation.

Refs: [coder/trivy#84](https://github.com/coder/trivy/pull/84), [coder/preview#231](https://github.com/coder/preview/pull/231).
2026-10-27 22:48:06 +00:00
dylanhuff-at-coder f1f57d9ae0 fix: bump coder/tailscale to bound DERP dup client sendHistory (#31248)
Bumps the `tailscale.com` replace to pick up coder/tailscale#139, which
stops the embedded DERP server from growing `dupClientSet.sendHistory`
without limit when two connections share a node key and alternate
frames.

This also pulls in coder/tailscale#136 (fork CI repair, AWS S3 and
Staticcheck upgrades) and #138 (klauspost/compress 1.16.5 → 1.18.7),
which landed on the fork since the previous pin.
2026-10-27 14:37:29 -07:00
Mathias Fredriksson 9f7a5d5b2f fix: show each OpenAI reasoning summary title on its own line (#31349)
OpenAI reasoning summaries stream as parts that each open with a bold
title. Fantasy sent a single newline before each part, which Markdown
renders as a space, so the chat UI showed every title after the first
at the end of the previous paragraph. #30551 stopped the UI from
dropping that newline, but one newline is still not a paragraph break.

The fantasy pin moves to coder/fantasy#67, which sends a blank line
before every summary part. The first part gets one too, because the UI
joins adjacent reasoning items into one thinking block. Messages saved
before this keep the single newline. Upstream as
charmbracelet/fantasy#436.
2026-10-27 18:10:47 +02:00
dependabot[bot] f57694ec4b chore: bump github.com/nats-io/nats.go from 1.54.0 to 1.55.0 (#31340)
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go)
from 1.54.0 to 1.55.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/nats-io/nats.go/releases">github.com/nats-io/nats.go's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.55.0</h2>
<h2>Changelog</h2>
<p>This is the biggest nats.go release in a long time: 47 changes with
more than half of them coming from 18 external contributors - thank you
all!</p>
<p>Most of this release is a robustness effort. Nearly 30 bug fixes
address deadlocks, goroutine and timer leaks, data races and stalls in
reconnect and drain handling, pull and ordered consumers, async publish
and service API. It also adds the <code>FetchMaxBytes()</code> option
and <code>Conn.RemoteAccount()</code>.</p>
<h3>ADDED</h3>
<ul>
<li>Core NATS:
<ul>
<li><code>Conn.RemoteAccount()</code> and
<code>ServerInfo.RemoteAccount</code> exposing the account the client is
bound to (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2156">#2156</a>)</li>
</ul>
</li>
<li>JetStream:
<ul>
<li><code>FetchMaxBytes()</code> option to limit both the number of
messages and total bytes in a single <code>Fetch()</code> request.
Thanks <a href="https://github.com/manenim"><code>@​manenim</code></a>
for the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2198">#2198</a>)</li>
<li><code>StreamInfo.Domain</code>, <code>StreamInfo.Alternates</code>,
<code>StreamState.Lost</code>, <code>StreamSourceInfo.External</code>
and <code>StreamSourceInfo.Error</code> in stream info (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2168">#2168</a>)</li>
<li><code>ErrStreamMessageExceedsMaximum</code> for JetStream error code
10054, returned when a message exceeds the stream's
<code>MaxMsgSize</code>. Thanks <a
href="https://github.com/matehsan"><code>@​matehsan</code></a> for the
contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2110">#2110</a>)</li>
</ul>
</li>
</ul>
<h3>FIXED</h3>
<ul>
<li>Core NATS:
<ul>
<li><code>ForceReconnect()</code> called while already reconnecting
disabling <code>ReconnectWait</code> and custom reconnect delays, so the
client dialed in a tight loop. Thanks <a
href="https://github.com/Arsen302"><code>@​Arsen302</code></a> for the
contribution and <a
href="https://github.com/MokiMeow"><code>@​MokiMeow</code></a> for the
diagnosis and test (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2179">#2179</a>)</li>
<li>Connection closing for good instead of reconnecting after a partial
write left a truncated message on the wire (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2169">#2169</a>)</li>
<li>Connection status listeners losing an unread event and being
unregistered when the next status was sent (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2193">#2193</a>)</li>
<li>Message headers not counted against subscription pending byte
limits, so header-heavy subscriptions could exceed the limit without
reporting a slow consumer. Thanks <a
href="https://github.com/Grivn"><code>@​Grivn</code></a> for the
contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2200">#2200</a>)</li>
<li>Requests interrupted by a reconnect returning
<code>ErrConnectionClosed</code> instead of
<code>ErrDisconnected</code>. Thanks <a
href="https://github.com/AshSgDe29071999"><code>@​AshSgDe29071999</code></a>
for the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2129">#2129</a>)</li>
<li>Default port added to the path instead of the host for server URLs
with a path and no port, e.g. <code>ws://host/nats</code>. Thanks <a
href="https://github.com/dannyshafer"><code>@​dannyshafer</code></a> for
the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2177">#2177</a>)</li>
<li><code>Close()</code> during <code>Drain()</code> flipping the closed
connection back to <code>DRAINING_PUBS</code> and flushing on it. Thanks
<a href="https://github.com/Kshot3000"><code>@​Kshot3000</code></a> for
the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2163">#2163</a>)</li>
<li><code>Drain()</code> waiting for the full <code>DrainTimeout</code>
when the connection was closed mid-drain (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2171">#2171</a>)</li>
<li><code>IsSystemAccount()</code> reset to false by async INFO updates,
such as cluster topology changes or lame duck mode (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2156">#2156</a>)</li>
</ul>
</li>
<li>JetStream:
<ul>
<li>Pull consumer <code>Consume()</code> and <code>Messages()</code>
deadlocking on <code>Stop()</code> or <code>Drain()</code> while
buffered messages were still being delivered. Thanks <a
href="https://github.com/clwluvw"><code>@​clwluvw</code></a> for the
contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2165">#2165</a>)</li>
<li><code>Messages()</code> iterator goroutines leaking after the
connection is closed. Thanks <a
href="https://github.com/clwluvw"><code>@​clwluvw</code></a> for the
contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2166">#2166</a>)</li>
<li>Heartbeat timer and status listener left running when
<code>Consume()</code> ends because the connection was closed. Thanks <a
href="https://github.com/clwluvw"><code>@​clwluvw</code></a> for the
contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2164">#2164</a>)</li>
<li><code>Messages()</code> iterator returning
<code>ErrMsgIteratorClosed</code> instead of the remaining buffered
messages when <code>Next()</code> raced with <code>Drain()</code> (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2188">#2188</a>)</li>
<li>Pull consumer with <code>StopAfter</code> stalling until the missed
heartbeat check (30s by default) after a pull expired. Thanks <a
href="https://github.com/huynguyen7"><code>@​huynguyen7</code></a> for
the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2208">#2208</a>)</li>
<li>Ordered consumer with <code>StopAfter</code> hanging on
<code>Stop()</code>/<code>Drain()</code>, delivering too many or too few
messages, or panicking after a consumer reset. Thanks <a
href="https://github.com/clwluvw"><code>@​clwluvw</code></a> for the
contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2167">#2167</a>)</li>
<li>Ordered consumer <code>Fetch()</code>, <code>Next()</code> and
<code>FetchBytes()</code> blocking forever after returning
<code>ErrOrderedConsumerConcurrentRequests</code>, and
<code>FetchNoWait()</code> restarting from the beginning of the stream
(<a
href="https://redirect.github.com/nats-io/nats.go/issues/2211">#2211</a>)</li>
<li>Ordered consumer <code>Consume()</code> and <code>Messages()</code>
using the 15s pull consumer heartbeat instead of the 5s ordered default,
so a stalled consumer was reset after ~30s instead of ~10s. Thanks <a
href="https://github.com/arminazimi"><code>@​arminazimi</code></a> for
the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2182">#2182</a>)</li>
<li><code>PublishAsync()</code> exceeding
<code>WithPublishAsyncMaxPending()</code> under concurrent calls. Thanks
<a
href="https://github.com/ShravanthReddy"><code>@​ShravanthReddy</code></a>
for the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2126">#2126</a>)</li>
<li>Async publish error callbacks for messages pending during a
reconnect delayed until the publisher shut down. Thanks <a
href="https://github.com/H-XX-D"><code>@​H-XX-D</code></a> for the
contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2150">#2150</a>)</li>
<li>Data race between <code>Info()</code> and <code>CachedInfo()</code>
on streams and consumers. Thanks <a
href="https://github.com/vulragrag-star"><code>@​vulragrag-star</code></a>
for the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2152">#2152</a>)</li>
<li>Reusing the same <code>KeyValueConfig.Sources</code> for several
KeyValue buckets carrying the first bucket's subject transform into the
next ones, so their reads returned <code>ErrKeyNotFound</code>. Thanks
<a href="https://github.com/zhechen-cs"><code>@​zhechen-cs</code></a>
for the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2190">#2190</a>)</li>
<li>Object Store <code>GetFile()</code> leaving trailing bytes of an
existing destination file when downloading a shorter object. Thanks <a
href="https://github.com/zhechen-cs"><code>@​zhechen-cs</code></a> for
the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2197">#2197</a>)</li>
</ul>
</li>
<li>Legacy JetStream:
<ul>
<li>Async publish error callbacks for messages pending during a
reconnect delayed until the publisher shut down. Thanks <a
href="https://github.com/H-XX-D"><code>@​H-XX-D</code></a> for the
contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2150">#2150</a>)</li>
<li>KeyValue <code>Create()</code> and <code>Update()</code> on a
cross-domain mirrored bucket failing with <code>nats: no response from
stream</code>. Thanks <a
href="https://github.com/spicysharkco"><code>@​spicysharkco</code></a>
for the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2203">#2203</a>)</li>
<li>Object Store <code>GetFile()</code> leaving trailing bytes of an
existing destination file when downloading a shorter object. Thanks <a
href="https://github.com/zhechen-cs"><code>@​zhechen-cs</code></a> for
the contribution (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2197">#2197</a>)</li>
</ul>
</li>
<li>Service API:
<ul>
<li>Panic in <code>AddService()</code> on a closed connection (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2154">#2154</a>)</li>
<li>Panic with <code>send on closed channel</code> when callbacks were
queued during <code>Stop()</code> (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2173">#2173</a>)</li>
<li>Service stopping on async errors from unrelated subscriptions with
overlapping subjects. Async errors are now matched by subscription,
recorded in endpoint stats and passed to <code>ErrorHandler</code>, and
only a closed connection stops the service (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2174">#2174</a>)</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/nats-io/nats.go/commit/6068694d76fcf1f12bdf1e7383876aa5a3928421"><code>6068694</code></a>
Release v1.55.0 (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2214">#2214</a>)</li>
<li><a
href="https://github.com/nats-io/nats.go/commit/063b4ad855b35b28d4ff3754260715bd91556735"><code>063b4ad</code></a>
[FIXED] Honor ReconnectWait after ForceReconnect during reconnect (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2179">#2179</a>)</li>
<li><a
href="https://github.com/nats-io/nats.go/commit/0a4cfc17a9cc663686d67f136f0c9d4a93ee4e42"><code>0a4cfc1</code></a>
[ADDED] JetStream: stream alternates, lost data, source external/error
(<a
href="https://redirect.github.com/nats-io/nats.go/issues/2168">#2168</a>)</li>
<li><a
href="https://github.com/nats-io/nats.go/commit/c3830a090da3c7d04aa5c7406d5330e43e8881e7"><code>c3830a0</code></a>
[IMPROVED] Document default MaxAckPending for legacy JetStream
subscriptions ...</li>
<li><a
href="https://github.com/nats-io/nats.go/commit/2560ee4d863c8fddb18236c553cc3594e2737e16"><code>2560ee4</code></a>
[IMPROVED] Avoid per-message metadata allocations in JetStream consumers
(<a
href="https://redirect.github.com/nats-io/nats.go/issues/2212">#2212</a>)</li>
<li><a
href="https://github.com/nats-io/nats.go/commit/8afc207574f37b9f347e1b2f6155ea97583d8147"><code>8afc207</code></a>
[FIXED] Ordered consumer Fetch deadlock and FetchNoWait redelivery (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2211">#2211</a>)</li>
<li><a
href="https://github.com/nats-io/nats.go/commit/d1936d74b2d25ae8f1da9f029b060080780a24e8"><code>d1936d7</code></a>
[FIXED] Correct StopAfter pending accounting for pull consumers (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2208">#2208</a>)</li>
<li><a
href="https://github.com/nats-io/nats.go/commit/b431a0773eab367145a376926d52cdaa69a910c6"><code>b431a07</code></a>
[FIXED] micro: service and endpoint metadata can be changed after it is
set (...</li>
<li><a
href="https://github.com/nats-io/nats.go/commit/ef8ce42436b59d827753f7900aeda8454ec0622d"><code>ef8ce42</code></a>
[FIXED] micro: Reset clears the endpoint queue group in stats (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2195">#2195</a>)</li>
<li><a
href="https://github.com/nats-io/nats.go/commit/e28f7bea6c2d81a77ca78cfe5efb7bda72e6be05"><code>e28f7be</code></a>
[FIXED] Connection status listeners losing unread events (<a
href="https://redirect.github.com/nats-io/nats.go/issues/2193">#2193</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/nats-io/nats.go/compare/v1.54.0...v1.55.0">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 12:11:42 +00:00
dependabot[bot] c7a26847c3 chore: bump github.com/shopspring/decimal from 1.5.0 to 1.6.0 (#31338)
Bumps
[github.com/shopspring/decimal](https://github.com/shopspring/decimal)
from 1.5.0 to 1.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/shopspring/decimal/releases">github.com/shopspring/decimal's
releases</a>.</em></p>
<blockquote>
<h2>v1.6.0</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: accept Unicode minus in NewFromString by <a
href="https://github.com/Archiit19"><code>@​Archiit19</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/428">shopspring/decimal#428</a></li>
<li>chore: turn off the strings.ReplaceAll lint check, it needs Go 1.12
by <a href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/458">shopspring/decimal#458</a></li>
<li>feat: BSON Decimal128 support for the MongoDB Go driver v2 by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/460">shopspring/decimal#460</a></li>
<li>feat: implement fmt.Formatter by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/463">shopspring/decimal#463</a></li>
<li>feat: add Normalize method by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/464">shopspring/decimal#464</a></li>
<li>feat: add Sqrt and SqrtRound by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/465">shopspring/decimal#465</a></li>
<li>docs: warn that global settings aren't goroutine-safe, list them in
the README by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/466">shopspring/decimal#466</a></li>
<li>perf: use Sign() instead of Cmp(zeroInt) in IsInteger and Ceil by <a
href="https://github.com/cdpzyafk"><code>@​cdpzyafk</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/299">shopspring/decimal#299</a></li>
<li>test: fix benchmarks that measured setup or the wrong function by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/467">shopspring/decimal#467</a></li>
<li>docs: fix doc examples that were wrong or didn't compile by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/468">shopspring/decimal#468</a></li>
<li>feat: Scan accepts Decimal, big.Int and all integer sizes by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/469">shopspring/decimal#469</a></li>
<li>fix: ExpHullAbrham drops significant figures for results below 1 by
<a href="https://github.com/binggao1230"><code>@​binggao1230</code></a>
in <a
href="https://redirect.github.com/shopspring/decimal/pull/429">shopspring/decimal#429</a></li>
<li>fix: ExpHullAbrham returns the requested number of significant
figures for large inputs by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/470">shopspring/decimal#470</a></li>
<li>perf: NewFromFloat uses strconv, drop the vendored strconv copy by
<a href="https://github.com/omegaatt36"><code>@​omegaatt36</code></a> in
<a
href="https://redirect.github.com/shopspring/decimal/pull/431">shopspring/decimal#431</a></li>
<li>feat: add NewFromBigFloat constructor by <a
href="https://github.com/AdamMagued"><code>@​AdamMagued</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/457">shopspring/decimal#457</a></li>
<li>fix: Ln rounds correctly, computed with error bounds like Pow by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/471">shopspring/decimal#471</a></li>
<li>feat: add Root and RootRound by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/473">shopspring/decimal#473</a></li>
<li>README: Fix URLs of the official Go org pages by <a
href="https://github.com/sryoya"><code>@​sryoya</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/264">shopspring/decimal#264</a></li>
<li>fix: clearer error when scanning NULL into a Decimal by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/474">shopspring/decimal#474</a></li>
<li>docs: show how to control the JSON format of one field by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/475">shopspring/decimal#475</a></li>
<li>docs: add udecimal to the alternative libraries by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/476">shopspring/decimal#476</a></li>
<li>fix: reject overflowing division precision by <a
href="https://github.com/yuefdev"><code>@​yuefdev</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/472">shopspring/decimal#472</a></li>
<li>docs: changelog for v1.6.0 by <a
href="https://github.com/mwoss"><code>@​mwoss</code></a> in <a
href="https://redirect.github.com/shopspring/decimal/pull/477">shopspring/decimal#477</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Archiit19"><code>@​Archiit19</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/428">shopspring/decimal#428</a></li>
<li><a href="https://github.com/cdpzyafk"><code>@​cdpzyafk</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/299">shopspring/decimal#299</a></li>
<li><a
href="https://github.com/binggao1230"><code>@​binggao1230</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/429">shopspring/decimal#429</a></li>
<li><a
href="https://github.com/omegaatt36"><code>@​omegaatt36</code></a> made
their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/431">shopspring/decimal#431</a></li>
<li><a
href="https://github.com/AdamMagued"><code>@​AdamMagued</code></a> made
their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/457">shopspring/decimal#457</a></li>
<li><a href="https://github.com/sryoya"><code>@​sryoya</code></a> made
their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/264">shopspring/decimal#264</a></li>
<li><a href="https://github.com/yuefdev"><code>@​yuefdev</code></a> made
their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/472">shopspring/decimal#472</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/shopspring/decimal/compare/v1.5.0...v1.6.0">https://github.com/shopspring/decimal/compare/v1.5.0...v1.6.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/shopspring/decimal/blob/master/CHANGELOG.md">github.com/shopspring/decimal's
changelog</a>.</em></p>
<blockquote>
<h2>Decimal v1.6.0</h2>
<h4>BEHAVIOR CHANGES</h4>
<ul>
<li><code>Decimal</code> implements <code>fmt.Formatter</code>.
<code>%#v</code> prints Go code that recreates the value, like
<code>decimal.New(314, -2)</code>, instead of the struct fields, and
verbs that don't apply, like <code>%d</code>, print
<code>%!d(decimal.Decimal=3.14)</code>. <code>%v</code>,
<code>%s</code>, <code>%q</code>, <code>%x</code> and
<code>fmt.Println</code> print the same as before <a
href="https://redirect.github.com/shopspring/decimal/pull/463">#463</a></li>
<li><code>Ln</code> rounds correctly, so some results change in the last
digit: <code>Ln</code> of 10 to 5 places is <code>2.30259</code>, not
<code>2.30258</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/471">#471</a></li>
<li><code>ExpHullAbrham</code> returns <code>overallPrecision</code>
significant figures for every input. Negative inputs used to lose digits
or return 0, like <code>-50</code> at precision 10, and large inputs
returned extra digits <a
href="https://redirect.github.com/shopspring/decimal/pull/429">#429</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/470">#470</a></li>
<li><code>Scan</code> converts <code>float32</code> with
<code>NewFromFloat32</code>, so <code>54.33</code> stays
<code>54.33</code> instead of becoming <code>54.33000183105469</code>.
NaN and infinite floats return an error instead of panicking <a
href="https://redirect.github.com/shopspring/decimal/pull/469">#469</a></li>
<li>On Go 1.10 to 1.12, <code>NewFromFloat</code> can pick a different
shortest form in rare cases (<a
href="https://redirect.github.com/golang/go/issues/29491">golang/go#29491</a>).
It still converts back to the same float <a
href="https://redirect.github.com/shopspring/decimal/pull/431">#431</a></li>
</ul>
<h4>FEATURES</h4>
<ul>
<li>Add BSON Decimal128 support for <code>Decimal</code> and
<code>NullDecimal</code> with the official MongoDB Go driver v2, without
a new dependency <a
href="https://redirect.github.com/shopspring/decimal/pull/460">#460</a></li>
<li>Add <code>%f</code> formatting with precision, width and flags, like
<code>%.2f</code> and <code>%08.2f</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/463">#463</a></li>
<li>Add <code>Normalize</code>, which strips trailing zeros so equal
decimals also match with <code>reflect.DeepEqual</code>, testify and
gomock <a
href="https://redirect.github.com/shopspring/decimal/pull/464">#464</a></li>
<li>Add <code>Sqrt</code> and <code>SqrtRound</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/465">#465</a></li>
<li>Add <code>Root</code> and <code>RootRound</code> for n-th roots <a
href="https://redirect.github.com/shopspring/decimal/pull/473">#473</a></li>
<li>Add <code>NewFromBigFloat</code> constructor <a
href="https://redirect.github.com/shopspring/decimal/pull/457">#457</a></li>
<li><code>Scan</code> accepts <code>Decimal</code>,
<code>big.Int</code>, <code>*big.Int</code> and all integer sizes, as
passed by ClickHouse and other drivers <a
href="https://redirect.github.com/shopspring/decimal/pull/469">#469</a></li>
</ul>
<h4>ENHANCEMENTS</h4>
<ul>
<li><code>NewFromFloat</code> and <code>NewFromFloat32</code> are 3 to 6
times faster. They use <code>strconv</code> instead of a vendored copy
of it from 2009, which is removed <a
href="https://redirect.github.com/shopspring/decimal/pull/431">#431</a></li>
<li><code>Ln</code> is 3 to 14 times faster <a
href="https://redirect.github.com/shopspring/decimal/pull/471">#471</a></li>
<li>Slightly faster <code>IsInteger</code> and <code>Ceil</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/299">#299</a></li>
<li><code>NewFromString</code> accepts the Unicode minus sign
<code>−</code> (U+2212) <a
href="https://redirect.github.com/shopspring/decimal/pull/428">#428</a></li>
<li>Scanning NULL into a <code>Decimal</code> returns an error that
points to <code>NullDecimal</code> or <code>*Decimal</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/474">#474</a></li>
<li>Document that global settings aren't goroutine-safe, and list them
with their per-call alternatives in the README <a
href="https://redirect.github.com/shopspring/decimal/pull/466">#466</a></li>
<li>README: show how to control the JSON format of one field, add
<code>udecimal</code> to the alternative libraries, and update the Go
doc and playground links <a
href="https://redirect.github.com/shopspring/decimal/pull/475">#475</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/476">#476</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/264">#264</a></li>
<li>Fix doc examples that were wrong or didn't compile <a
href="https://redirect.github.com/shopspring/decimal/pull/468">#468</a></li>
<li>Fix benchmarks that measured their setup or the wrong function <a
href="https://redirect.github.com/shopspring/decimal/pull/467">#467</a></li>
</ul>
<h4>BUGFIXES</h4>
<ul>
<li><code>QuoRem</code> and <code>DivRound</code> panic on precision
<code>math.MinInt32</code> instead of returning a wrong quotient <a
href="https://redirect.github.com/shopspring/decimal/pull/472">#472</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/shopspring/decimal/commit/447b833d1eea2d7720d37ae95fcf090d01fa866b"><code>447b833</code></a>
docs: changelog for v1.6.0 (<a
href="https://redirect.github.com/shopspring/decimal/issues/477">#477</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/4ce352fe1580995cb2664a16f78600b661453ffb"><code>4ce352f</code></a>
fix: reject overflowing division precision (<a
href="https://redirect.github.com/shopspring/decimal/issues/472">#472</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/540b9153592dd656f22f0135f8b8b479d21fab72"><code>540b915</code></a>
docs: add udecimal to the alternative libraries (<a
href="https://redirect.github.com/shopspring/decimal/issues/476">#476</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/54748831b6d0eec5b618088811ba50dd3a24703d"><code>5474883</code></a>
docs: show how to control the JSON format of one field (<a
href="https://redirect.github.com/shopspring/decimal/issues/475">#475</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/ddb96d1ae7c49c6301f1657ae8bff92298f328f5"><code>ddb96d1</code></a>
fix: clearer error when scanning NULL into a Decimal (<a
href="https://redirect.github.com/shopspring/decimal/issues/474">#474</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/59f775d55cfbc2fad65d4938421d4736eea9b834"><code>59f775d</code></a>
README: Fix URLs for the official Go pages (<a
href="https://redirect.github.com/shopspring/decimal/issues/264">#264</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/100aebf14acc86ffcc47293430ea904d74309685"><code>100aebf</code></a>
feat: add Root and RootRound (<a
href="https://redirect.github.com/shopspring/decimal/issues/473">#473</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/bed77f5cb683c3752148c852ed9d97cfb058aec4"><code>bed77f5</code></a>
fix: Ln rounds correctly, computed with error bounds like Pow (<a
href="https://redirect.github.com/shopspring/decimal/issues/471">#471</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/37aad64c5a01f3b0fee4c203ca9868cae7f7d0aa"><code>37aad64</code></a>
feat: add NewFromBigFloat constructor (<a
href="https://redirect.github.com/shopspring/decimal/issues/457">#457</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/78a38f8f6fa2593f452dec95596e3aa2067b6ba3"><code>78a38f8</code></a>
perf: NewFromFloat uses strconv, drop the vendored strconv copy (<a
href="https://redirect.github.com/shopspring/decimal/issues/431">#431</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/shopspring/decimal/compare/v1.5.0...v1.6.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/shopspring/decimal&package-manager=go_modules&previous-version=1.5.0&new-version=1.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 11:44:40 +00:00
dependabot[bot] 379597066e chore: bump google.golang.org/api from 0.307.0 to 0.308.0 (#31337)
Bumps
[google.golang.org/api](https://github.com/googleapis/google-api-go-client)
from 0.307.0 to 0.308.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/releases">google.golang.org/api's
releases</a>.</em></p>
<blockquote>
<h2>v0.308.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.307.0...v0.308.0">0.308.0</a>
(2026-10-22)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3787">#3787</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/527f9a3b0209a70f2a55126717541235f7f25ac4">527f9a3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md">google.golang.org/api's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.307.0...v0.308.0">0.308.0</a>
(2026-10-22)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3787">#3787</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/527f9a3b0209a70f2a55126717541235f7f25ac4">527f9a3</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/5767912fa9673119eee358c714d9cb93f0ff1ba5"><code>5767912</code></a>
chore(main): release 0.308.0 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3788">#3788</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/527f9a3b0209a70f2a55126717541235f7f25ac4"><code>527f9a3</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3787">#3787</a>)</li>
<li>See full diff in <a
href="https://github.com/googleapis/google-api-go-client/compare/v0.307.0...v0.308.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/api&package-manager=go_modules&previous-version=0.307.0&new-version=0.308.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-27 11:22:56 +00:00
Mathias Fredriksson 2cb10b5cec feat: show web searches and the pages they found in chats (#29861)
Provider-executed web searches were invisible in chats. The UI skipped
provider-executed parts, and the only trace was one source row per
message that mixed OpenAI citations with Anthropic search results.

The fantasy pin moves to coder/fantasy#62, which tags each found page
with the search that found it and makes OpenAI request and report its
found pages and search actions. chatd stores the tag and marks a
search failed on an Anthropic error_code or an OpenAI failed status.
Each search renders as one row with its queries or opened page, a
running or unfinished state, and the pages it found. Cited pages stay
in the answer's source row, which now follows the answer text.

Closes CODAGT-795
2026-10-27 12:46:27 +02:00
Mathias Fredriksson 1aff810443 chore: sync fantasy with upstream v0.45.5 (#31288)
Moves the fantasy pin to the tip of `coder_2_33` (`85ffbbe`). That
commit is coder/fantasy#72, which merges 87 upstream
charmbracelet/fantasy commits, v0.40.0 to v0.45.5. Between the two pins
117 files change. Upstream's own v0.40.0 to v0.45.5 change, without
tests, testdata, examples, `go.sum` and the kronk provider, is 43 files,
+2271/−928.

## What reaches chatd

chatd builds only the `anthropic`, `openai` and `openaicompat` fantasy
clients (`chatprovider.ModelFromConfig`); other vendors reach it through
the AI Gateway on one of those. So the upstream changes to the Google,
Vercel, OpenRouter, Bedrock, Azure and kronk providers, and to the
`fantasy.Agent` loop and its retries, do not run in chatd. These do:

- **Chat Completions and openaicompat streams** keep reasoning on
batched and DeepSeek-shaped chunks, keep `finish_reason: length` when
tool calls are truncated, and stop sending empty reasoning fields.
openaicompat drops assistant turns that hold only reasoning.
- **Token usage.** When an OpenAI-shaped backend reports reasoning
tokens apart from completion tokens (reasoning larger than output),
output tokens now include them, so that backend's reported output tokens
and cost rise. OpenAI's own shape, where reasoning is a subset, is
unchanged.
- **Responses.** A content-filtered turn no longer reads as a tool-call
turn.
- **Context overflow.** Baseten, Fireworks and Parasail prompt-length
errors set `ContextTooLargeErr`, which compaction acts on.
- **Anthropic.** Tool calls whose content block never closes are
reported. For Claude 5 models, thinking defaults to `display:
"summarized"` when the chat config sets none; a configured display still
wins. `TestThinkingDropBlockModel_RetriesWithEffort` now expects the
field in the retry body.
- **Anthropic keepalives.** Fantasy forwards `message_start`,
`message_delta` and unknown events as content-free `keepalive` parts.
The first one arrives before any model output, so this PR makes
`ttft_seconds` and the `time_to_first_token` stage skip them, as they
skip warnings. They still reset the stream silence guard.
`processStepStream` ignores them, and the debug recorder counts them in
its part count but records no content.
- **Tool-result media** now goes through upstream's shared
`ToolRunBuffer`, which replaces coder/fantasy#64 and does the same
thing.

#72 keeps coder's anthropic-sdk-go and openai-go forks, Go 1.26 and
kronk v1.31.5, so upstream's SDK and Go moves do not come along.

`go mod tidy` raises the modules fantasy v0.45.5 requires, among them
otel exporters v1.47, the AWS SDK, `google.golang.org/api` v0.307 and
go-openapi v1. All are upgrades.

The `go.mod` comment now names #72 as the upstream sync.

coder/coder#29861 stacks on this PR to pin coder/fantasy#62.

<details>
<summary>Verification</summary>

- `go build ./...`.
- `go test` passes on every package that imports fantasy
(`coderd/x/chatd/...`), and `go test ./coderd -run
'TestChat|TestExpChat|TestMCP|TestAIBridge'` passes.
-
`TestGuardedStreamTTFTStage/WarningsAndKeepalivesThenContentObservesOnce`
fails without the TTFT change (TTFT observed 0s instead of 1s) and
passes with it.
- `make pre-commit` passes. The generated Prometheus docs pick up the
metric help change.

Not verified against live backends in this PR: the stream fixes, the
token usage change and the context-overflow patterns have no coder test
against a real provider. coder/fantasy#72 reports a local chatd run
against the AI Gateway on Anthropic, Responses, OpenAI Chat and
openaicompat.

</details>

> 🤖 This PR was created with the help of Coder Agents, and _will be_
reviewed by a human. 🏂🏻
2026-10-27 11:29:10 +11:00
Jon Ayers 688c4a390c fix: bump Go to 1.26.10, terraform to 1.16.7, alpine to 3.24.3 (CVE-2026-111943) (#31301)
Mitigates CVE-2026-111943 (compromised eMudhra intermediate CAs).

- **Go 1.26.9 to 1.26.10** (`go.mod`, `mise.toml`, `mise.lock`). Go
1.26.10 no longer trusts certificates issued through the compromised
intermediates.
- **Bundled Terraform 1.16.6 to 1.16.7** (`install.go`, `install.sh`,
`scripts/Dockerfile.base`, `mise.toml`, `mise.lock`, `flake.nix`, airgap
docs, `testdata/generation.sha1`).
[1.16.7](https://github.com/hashicorp/terraform/releases/tag/v1.16.7) is
built with Go 1.26.10. Checksums come from the GPG-verified
`terraform_1.16.7_SHA256SUMS`. `maxTerraformVersion` stays at 1.16.9.
- **Base image `alpine:3.24.2` to `alpine:3.24.3`**. 3.24.2 ships
`ca-certificates-bundle-20260909-r0`; 3.24.3 ships `20261020-r0`.

Verification:
- Rebuilt `scripts/Dockerfile.base` for linux/amd64 and linux/arm64.
Both contain `ca-certificates-bundle-20261020-r0` and `Terraform
v1.16.7`.
- `go test ./provisioner/terraform/...` passes with Terraform 1.16.7.
- `scripts/check_go_versions.sh` passes.
- Local git hooks were skipped at the author's request because the
dogfood host was overloaded. CI is the gate.

Backports to `release/2.34` through `release/2.38` follow as separate
PRs. Older Terraform minor lines did not get the Go 1.26.10 rebuild
(1.15.9 is built with Go 1.25.10, 1.14.9 with Go 1.25.8), so
release/2.35 also moves to 1.16.7.

<details>
<summary>Decision log</summary>

- The request named Go 1.26.1. Main and every release branch were
already on 1.26.9, so @sreya confirmed the target is 1.26.10.
- release/2.34 stays on the Alpine 3.23 line (`alpine:3.23.7`, which
also ships `ca-certificates-bundle-20261020-r0`) instead of jumping to
3.24.
- release/2.35 had drifted: `install.go` pinned 1.14.5 (max 1.14.9)
while the image and `mise.toml` used 1.15.5. Its backport sets both to
1.16.7 and raises max to 1.16.9.

</details>

> Generated by Coder Agents on behalf of @sreya.
2026-10-26 16:47:25 -07:00
Seth ShelnuttandLisa Fiander 10e7b3f769 chore: bump github.com/andybalholm/brotli to v1.2.7 (#31231)
Bumps `github.com/andybalholm/brotli` from v1.2.2 to v1.2.7.

Changes from
https://github.com/andybalholm/brotli/compare/v1.2.2...v1.2.7

---
*This PR was generated by Coder Agents on behalf of @Shelnutt2.*

Co-authored-by: Lisa Fiander <lisa@coder.com>
2026-10-26 13:56:30 +00:00
Hugo Dutka fbf7eb3d61 feat: probe ACP harness capabilities (#31057)
Probes configured ACP harnesses to discover session load and resume
capabilities and available configuration options. Caches successful
probes until the configuration, workspace directory, or environment
changes, and exposes probe errors through the agent API and workspace
SDK.

Depends on #30557.

Generated with Codex, carefully reviewed by Hugo.
2026-10-21 14:18:11 +00:00
dependabot[bot] 9ddbf271a4 chore: bump github.com/go-chi/chi/v5 from 5.3.1 to 5.5.0 (#31050)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from
5.3.1 to 5.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/go-chi/chi/releases">github.com/go-chi/chi/v5's
releases</a>.</em></p>
<blockquote>
<h2>v5.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>middleware: add Deprecation (RFC 9745), make Sunset RFC 8594 only by
<a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1195">go-chi/chi#1195</a></li>
<li>middleware: test ClientIPFromHeader does not fall back to other
headers by <a
href="https://github.com/renanmpimentel"><code>@​renanmpimentel</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1208">go-chi/chi#1208</a></li>
<li>middleware: build Maybe handler once by <a
href="https://github.com/lowgame"><code>@​lowgame</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1197">go-chi/chi#1197</a></li>
<li>middleware: round and clamp Retry-After delays up to whole seconds
by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1217">go-chi/chi#1217</a></li>
<li>middleware: parse quoted ContentCharset media parameters by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1218">go-chi/chi#1218</a></li>
<li>middleware: SupressNotFound must not mutate the request's route
context by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1220">go-chi/chi#1220</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/renanmpimentel"><code>@​renanmpimentel</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/1208">go-chi/chi#1208</a></li>
<li><a href="https://github.com/lowgame"><code>@​lowgame</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/1197">go-chi/chi#1197</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/go-chi/chi/compare/v5.4.0...v5.5.0">https://github.com/go-chi/chi/compare/v5.4.0...v5.5.0</a></p>
<h2>v5.4.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Improve godoc: add links and titles by <a
href="https://github.com/dolmen"><code>@​dolmen</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1027">go-chi/chi#1027</a></li>
<li>Add Clone method to Context by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1157">go-chi/chi#1157</a></li>
<li>middleware: ContentCharset should skip requests without a body by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1158">go-chi/chi#1158</a></li>
<li>Update compress middleware support Brotli support documentation by
<a href="https://github.com/sm3142"><code>@​sm3142</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1007">go-chi/chi#1007</a></li>
<li>fix: panic on Mount() when a router is mounted onto itself by <a
href="https://github.com/sk-sanjay01"><code>@​sk-sanjay01</code></a> in
<a
href="https://redirect.github.com/go-chi/chi/pull/1159">go-chi/chi#1159</a></li>
<li>test(middleware): Improves test coverage by <a
href="https://github.com/nszilard"><code>@​nszilard</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/700">go-chi/chi#700</a></li>
<li>Remove superfluous import aliases by <a
href="https://github.com/JRaspass"><code>@​JRaspass</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1166">go-chi/chi#1166</a></li>
<li>Bump minimum Go to 1.24, use b.Loop() by <a
href="https://github.com/JRaspass"><code>@​JRaspass</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1164">go-chi/chi#1164</a></li>
<li>Use slices.Backward where appropriate by <a
href="https://github.com/JRaspass"><code>@​JRaspass</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1165">go-chi/chi#1165</a></li>
<li>Replace &quot;interface{}&quot; with &quot;any&quot; by <a
href="https://github.com/JRaspass"><code>@​JRaspass</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1167">go-chi/chi#1167</a></li>
<li>Simplify chi.URLParam, call chi.URLParamFromCtx by <a
href="https://github.com/JRaspass"><code>@​JRaspass</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1168">go-chi/chi#1168</a></li>
<li>middleware: record response status when flushing by <a
href="https://github.com/jakezwang"><code>@​jakezwang</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1174">go-chi/chi#1174</a></li>
<li>middleware: honor Discard when flushing by <a
href="https://github.com/LeulTew"><code>@​LeulTew</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1185">go-chi/chi#1185</a></li>
<li>README: point middleware doc links to chi/v5 by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1196">go-chi/chi#1196</a></li>
<li>middleware: treat RemoteAddr as the rightmost hop in ClientIPFrom*
by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1214">go-chi/chi#1214</a>
<ul>
<li>Fixes <a
href="https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3">https://github.com/go-chi/chi/security/advisories/GHSA-j6qf-3m9c-vwj3</a></li>
</ul>
</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/dolmen"><code>@​dolmen</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/1027">go-chi/chi#1027</a></li>
<li><a href="https://github.com/sm3142"><code>@​sm3142</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/1007">go-chi/chi#1007</a></li>
<li><a
href="https://github.com/sk-sanjay01"><code>@​sk-sanjay01</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/1159">go-chi/chi#1159</a></li>
<li><a href="https://github.com/nszilard"><code>@​nszilard</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/700">go-chi/chi#700</a></li>
<li><a href="https://github.com/jakezwang"><code>@​jakezwang</code></a>
made their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/1174">go-chi/chi#1174</a></li>
<li><a href="https://github.com/LeulTew"><code>@​LeulTew</code></a> made
their first contribution in <a
href="https://redirect.github.com/go-chi/chi/pull/1185">go-chi/chi#1185</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/go-chi/chi/compare/v5.3.2...v5.4.0">https://github.com/go-chi/chi/compare/v5.3.2...v5.4.0</a></p>
<h2>v5.3.2</h2>
<h2>What's Changed</h2>
<ul>
<li>feat(middleware): add text/markdown, text/csv, text/vtt to default
compressible types by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1151">go-chi/chi#1151</a></li>
<li>docs: deployment recipe for
middleware.ClientIPFromXFFTrustedProxies() by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1111">go-chi/chi#1111</a></li>
<li>fix: don't drop handlers that collide with a Mount()/Route() pattern
by <a
href="https://github.com/VojtechVitek"><code>@​VojtechVitek</code></a>
in <a
href="https://redirect.github.com/go-chi/chi/pull/1148">go-chi/chi#1148</a></li>
<li>Don't duplicate methods in Allow: header for 405 responses by <a
href="https://github.com/flimzy"><code>@​flimzy</code></a> in <a
href="https://redirect.github.com/go-chi/chi/pull/1029">go-chi/chi#1029</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/go-chi/chi/commit/3a33ba578e0dd93444e0ff386cc26e665d92e31e"><code>3a33ba5</code></a>
middleware: SupressNotFound must not mutate the request's route context
(<a
href="https://redirect.github.com/go-chi/chi/issues/1220">#1220</a>)</li>
<li><a
href="https://github.com/go-chi/chi/commit/60755706125129a9f9dfb99ac22f7ba016a1b60c"><code>6075570</code></a>
middleware: parse quoted ContentCharset media parameters (<a
href="https://redirect.github.com/go-chi/chi/issues/1218">#1218</a>)</li>
<li><a
href="https://github.com/go-chi/chi/commit/46295d0582d9fe19194db1ab13ff74d01a02d7bb"><code>46295d0</code></a>
middleware: test Retry-After rounding in one table test (<a
href="https://redirect.github.com/go-chi/chi/issues/1217">#1217</a>)</li>
<li><a
href="https://github.com/go-chi/chi/commit/c6e33a1a9dd43e2601e2e0447b838cb0a9a74856"><code>c6e33a1</code></a>
middleware: build Maybe handler once (<a
href="https://redirect.github.com/go-chi/chi/issues/1197">#1197</a>)</li>
<li><a
href="https://github.com/go-chi/chi/commit/c9744a3641452cfe4fbb9929ceb554659d6bd950"><code>c9744a3</code></a>
middleware: test ClientIPFromHeader does not fall back to other headers
(<a
href="https://redirect.github.com/go-chi/chi/issues/1208">#1208</a>)</li>
<li><a
href="https://github.com/go-chi/chi/commit/fff8bb28cbeb658c3c916aff02a780b89532841e"><code>fff8bb2</code></a>
middleware: add Deprecation (RFC 9745), make Sunset RFC 8594 only (<a
href="https://redirect.github.com/go-chi/chi/issues/1195">#1195</a>)</li>
<li><a
href="https://github.com/go-chi/chi/commit/7f9b7448f51d28804fac98c0a17bc2a7cec1079f"><code>7f9b744</code></a>
middleware: treat RemoteAddr as the rightmost hop in ClientIPFrom* (<a
href="https://redirect.github.com/go-chi/chi/issues/1214">#1214</a>)</li>
<li><a
href="https://github.com/go-chi/chi/commit/167e1e3bd039d060696b99c8da4e876ae04f42c1"><code>167e1e3</code></a>
README: point middleware doc links to chi/v5 (<a
href="https://redirect.github.com/go-chi/chi/issues/1196">#1196</a>)</li>
<li><a
href="https://github.com/go-chi/chi/commit/3d1777a1ef8881f7d1da0b02c76ca8f0a29cd2bc"><code>3d1777a</code></a>
middleware: honor Discard when flushing (<a
href="https://redirect.github.com/go-chi/chi/issues/1185">#1185</a>)</li>
<li><a
href="https://github.com/go-chi/chi/commit/b1c9ab47626cc46b34393ad4d35779c4363c4e1e"><code>b1c9ab4</code></a>
middleware: record response status when flushing (<a
href="https://redirect.github.com/go-chi/chi/issues/1174">#1174</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/go-chi/chi/compare/v5.3.1...v5.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/go-chi/chi/v5&package-manager=go_modules&previous-version=5.3.1&new-version=5.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 11:21:00 +00:00
dependabot[bot] a9b8fb2a9f chore: bump google.golang.org/api from 0.301.0 to 0.304.0 (#31048)
[//]: # (dependabot-start)
⚠️  **Dependabot is rebasing this PR** ⚠️ 

Rebasing might not happen immediately, so don't worry if this takes some
time.

Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.

---

[//]: # (dependabot-end)

Bumps
[google.golang.org/api](https://github.com/googleapis/google-api-go-client)
from 0.301.0 to 0.304.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/releases">google.golang.org/api's
releases</a>.</em></p>
<blockquote>
<h2>v0.304.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.303.0...v0.304.0">0.304.0</a>
(2026-10-14)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3770">#3770</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/a3ea7ac8e2ba2175bf3a62a987a9339c62ec4e55">a3ea7ac</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3773">#3773</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/795f958ae8e693013a1932902b194f937290aff0">795f958</a>)</li>
<li>Enable non-blocking mode for generation pipeline (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3772">#3772</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/bd231b0d6b8ab91ed5f2e9ad977c53620872ecd9">bd231b0</a>)</li>
</ul>
<h2>v0.303.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.302.0...v0.303.0">0.303.0</a>
(2026-10-13)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3768">#3768</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/38ac60acd2ceef0b68d74101d114fed4986328c9">38ac60a</a>)</li>
</ul>
<h2>v0.302.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.301.0...v0.302.0">0.302.0</a>
(2026-10-12)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3762">#3762</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/9fc8aaa3c73f2d70ea919faaa91015d47f75e633">9fc8aaa</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3764">#3764</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/47c34e887eeb6c2cec24b42bc149133d00fea47f">47c34e8</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3765">#3765</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/3e432260d469a96d4f853655e51adec0e1c98d90">3e43226</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3766">#3766</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/b11bdecbd8c07d44cb2df294c93e939d0fe9ae58">b11bdec</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md">google.golang.org/api's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.303.0...v0.304.0">0.304.0</a>
(2026-10-14)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3770">#3770</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/a3ea7ac8e2ba2175bf3a62a987a9339c62ec4e55">a3ea7ac</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3773">#3773</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/795f958ae8e693013a1932902b194f937290aff0">795f958</a>)</li>
<li>Enable non-blocking mode for generation pipeline (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3772">#3772</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/bd231b0d6b8ab91ed5f2e9ad977c53620872ecd9">bd231b0</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.302.0...v0.303.0">0.303.0</a>
(2026-10-13)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3768">#3768</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/38ac60acd2ceef0b68d74101d114fed4986328c9">38ac60a</a>)</li>
</ul>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.301.0...v0.302.0">0.302.0</a>
(2026-10-12)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3762">#3762</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/9fc8aaa3c73f2d70ea919faaa91015d47f75e633">9fc8aaa</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3764">#3764</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/47c34e887eeb6c2cec24b42bc149133d00fea47f">47c34e8</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3765">#3765</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/3e432260d469a96d4f853655e51adec0e1c98d90">3e43226</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3766">#3766</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/b11bdecbd8c07d44cb2df294c93e939d0fe9ae58">b11bdec</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/4f30cf3e93e5897ab4c0ad959382808af1d01cff"><code>4f30cf3</code></a>
chore(main): release 0.304.0 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3771">#3771</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/795f958ae8e693013a1932902b194f937290aff0"><code>795f958</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3773">#3773</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/bd231b0d6b8ab91ed5f2e9ad977c53620872ecd9"><code>bd231b0</code></a>
feat: enable non-blocking mode for generation pipeline (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3772">#3772</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/a3ea7ac8e2ba2175bf3a62a987a9339c62ec4e55"><code>a3ea7ac</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3770">#3770</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/66158c01ba93a5e91dde0dd584d14fd035a66a52"><code>66158c0</code></a>
chore(main): release 0.303.0 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3769">#3769</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/38ac60acd2ceef0b68d74101d114fed4986328c9"><code>38ac60a</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3768">#3768</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/a7231896db90fc71b987262309c25caa7ee0c7f2"><code>a723189</code></a>
chore(main): release 0.302.0 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3763">#3763</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/9ca924ef2c41fe3a6c2060a8f97693da50248350"><code>9ca924e</code></a>
chore(all): update all (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3767">#3767</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/b11bdecbd8c07d44cb2df294c93e939d0fe9ae58"><code>b11bdec</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3766">#3766</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/3e432260d469a96d4f853655e51adec0e1c98d90"><code>3e43226</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3765">#3765</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/googleapis/google-api-go-client/compare/v0.301.0...v0.304.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/api&package-manager=go_modules&previous-version=0.301.0&new-version=0.304.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 11:20:52 +00:00
dependabot[bot] ab91c8ac57 chore: bump github.com/valyala/fasthttp from 1.74.0 to 1.75.0 (#31049)
Bumps [github.com/valyala/fasthttp](https://github.com/valyala/fasthttp)
from 1.74.0 to 1.75.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/valyala/fasthttp/releases">github.com/valyala/fasthttp's
releases</a>.</em></p>
<blockquote>
<h2>v1.75.0</h2>
<p><code>v1.75.0</code> improves HTTP parsing and serialization, URI
processing, cached file serving, and client connection handling. It also
fixes cookie injection, request/response framing problems, and excessive
CPU or memory consumption from certain inputs.</p>
<p><strong>Go 1.26 or newer is now required.</strong> <a
href="https://redirect.github.com/valyala/fasthttp/pull/2395">#2395</a></p>
<h2>Performance improvements</h2>
<ul>
<li><strong>HTTP parsing:</strong> request headers are parsed and
validated in one pass, with common methods and HTTP/1.1 recognized
directly. Header values, case conversion, host validation, and
control-byte checks process multiple bytes at a time. The parser also
avoids repeatedly scanning the same incomplete header block when data
arrives in small reads. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2413">#2413</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2414">#2414</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2428">#2428</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2423">#2423</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2412">#2412</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2438">#2438</a></li>
<li><strong>HTTP writing:</strong> fewer header and response copies,
cached serialized <code>Server</code> and <code>Date</code> lines,
faster HTTP date formatting, and fewer flushes around chunked trailers.
Large buffered responses can use <code>writev</code> on TCP and Unix
connections; TLS and streamed bodies retain the buffered path. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2425">#2425</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2415">#2415</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2434">#2434</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2426">#2426</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2433">#2433</a></li>
<li><strong>URI processing:</strong> memoized authority parsing, a fast
path for <code>/</code>, faster quoting and validation, and linear-time
path normalization. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2411">#2411</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2423">#2423</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2453">#2453</a></li>
<li><strong>Static files:</strong> cached files of up to 8 KiB can be
served from memory, avoiding a file read on each cache hit and releasing
the file descriptor. The new small-file content cache is bounded to 4096
files, or at most 32 MiB per <code>FS</code>; the existing cache
metadata is separate. Changes to these files become visible after cache
expiration (<code>CacheDuration</code>, 10 seconds by default). <a
href="https://redirect.github.com/valyala/fasthttp/pull/2446">#2446</a></li>
<li><strong>Client and server overhead:</strong> clients avoid redundant
deadline updates when no timeout is active. The opt-in
<code>Server.LazyRequestTime</code> avoids reading the clock until
<code>RequestCtx.Time()</code> is called; with this option, the returned
time is the time of the first call. The benchmark comparison below uses
the default setting. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2439">#2439</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2404">#2404</a></li>
</ul>
<h2>Security fixes and hardening</h2>
<ul>
<li><strong>Streamed request bodies are drained before connection
reuse.</strong> With <code>StreamRequestBody</code> enabled, the server
drains unread body data before reusing the connection, with a 256 KiB
drain limit, or closes the connection when safe draining is not
possible. Responses are flushed before draining so early replies reach
clients still uploading, and response streams can consume the request
body before its remaining size is checked. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2368">#2368</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2461">#2461</a></li>
<li><strong>Rejected <code>100-continue</code> requests close the
connection.</strong> A denied request could previously leave its body
unread and have those bytes interpreted as the next request,
desynchronizing a reused connection. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2450">#2450</a></li>
<li><strong>Cookie setters prevent additional-cookie injection.</strong>
<code>RequestHeader.SetCookie</code> and its byte variants now sanitize
semicolons in names and values, so one logical cookie cannot become
multiple cookies on the wire. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2393">#2393</a></li>
<li><strong>Bounded zstd decoding limits decoder memory demand as well
as output.</strong> A small compressed frame could previously declare a
large decoder window even when a decoded-body limit was configured.
Positive <code>BodyUnzstdWithLimit</code> limits now select a
memory-limited decoder, with caps rounded up in 8 MiB buckets; exceeding
the decoder limit returns <code>ErrBodyTooLarge</code>. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2407">#2407</a></li>
<li><strong>Path normalization avoids quadratic work.</strong> Repeated
separators and dot segments are processed in linear time, reducing the
CPU amplification possible with crafted request targets. Incomplete
headers arriving one byte at a time also avoid repeated full-block
scans. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2453">#2453</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2413">#2413</a></li>
<li><strong>Bodyless responses preserve framing.</strong> HEAD and
status-defined bodyless responses no longer emit trailer bytes that can
be mistaken for the next response. Serialization suppresses forbidden
<code>Content-Length</code> and <code>Transfer-Encoding</code> on
1xx/204 responses. Explicit content-type metadata and permitted 304
metadata remain supported. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2441">#2441</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2447">#2447</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2457">#2457</a></li>
<li><strong>Pipeline clients gain a response-body limit and better
failure cleanup.</strong> Set the new
<code>PipelineClient.MaxResponseBodySize</code> to a positive value to
reject oversized responses, including with
<code>Response.StreamBody</code>; the default remains unlimited. Idle
workers now retire after errors, abandoned requests release their
streams, and failed connection establishment is throttled. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2427">#2427</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2458">#2458</a></li>
</ul>
<p>Argument sorting now honors any negative comparator result in
<code>Args.Sort</code> and <code>Args.SortKeys</code>, and static-file
serving rejects zero-length suffix byte ranges (<code>bytes=-0</code>)
with <code>416 Range Not Satisfiable</code>. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2459">#2459</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2460">#2460</a></p>
<p>Other significant changes include opt-in ETags for <code>FS</code>, a
<code>net/http</code> request conversion function, improved adaptor
handling of flushes, aborts and trailers, and fixes to shutdown and
per-IP connection lifetimes. <a
href="https://redirect.github.com/valyala/fasthttp/pull/2399">#2399</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2104">#2104</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2429">#2429</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2445">#2445</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2352">#2352</a>,
<a
href="https://redirect.github.com/valyala/fasthttp/pull/2402">#2402</a></p>
<h2>Benchmark results</h2>
<p>Compared <code>v1.74.0</code> with master <code>6141d3a</code> on
Ubuntu 26.04, an AMD EPYC 9454, and Go 1.27.1. Each benchmark has ten
samples per revision, run alternately with the same inputs and CPU
affinity. Negative percentages mean less time per operation. All rows
below have p &lt; 0.001.</p>
<table>
<thead>
<tr>
<th>Benchmark</th>
<th align="right">v1.74.0</th>
<th align="right">Release candidate</th>
<th align="right">Time/op change</th>
</tr>
</thead>
<tbody>
<tr>
<td>Minimal GET, pipeline depth 64</td>
<td align="right">484.30 ns</td>
<td align="right">278.05 ns</td>
<td align="right">-42.6%</td>
</tr>
<tr>
<td>Browser-shaped GET, pipeline depth 16</td>
<td align="right">1.080 µs</td>
<td align="right">722.55 ns</td>
<td align="right">-33.1%</td>
</tr>
<tr>
<td>Request-header parsing</td>
<td align="right">561.80 ns</td>
<td align="right">348.15 ns</td>
<td align="right">-38.0%</td>
</tr>
<tr>
<td>Response-header parsing</td>
<td align="right">466.95 ns</td>
<td align="right">277.55 ns</td>
<td align="right">-40.6%</td>
</tr>
<tr>
<td>Request-header writing</td>
<td align="right">49.84 ns</td>
<td align="right">37.45 ns</td>
<td align="right">-24.8%</td>
</tr>
<tr>
<td>Response-header writing</td>
<td align="right">68.64 ns</td>
<td align="right">40.99 ns</td>
<td align="right">-40.3%</td>
</tr>
<tr>
<td>Cached 1 KiB file, directory</td>
<td align="right">2.324 µs</td>
<td align="right">611.85 ns</td>
<td align="right">-73.7%</td>
</tr>
<tr>
<td>Cached 1 KiB file, <code>os.DirFS</code></td>
<td align="right">3.805 µs</td>
<td align="right">612.30 ns</td>
<td align="right">-83.9%</td>
</tr>
<tr>
<td>URI path with query string</td>
<td align="right">91.39 ns</td>
<td align="right">46.06 ns</td>
<td align="right">-49.6%</td>
</tr>
<tr>
<td>HTTP date formatting</td>
<td align="right">108.25 ns</td>
<td align="right">28.59 ns</td>
<td align="right">-73.6%</td>
</tr>
<tr>
<td>Trickled ~4 KiB headers, one byte per read</td>
<td align="right">1385.784 µs</td>
<td align="right">191.257 µs</td>
<td align="right">-86.2%</td>
</tr>
<tr>
<td>8 KiB path of repeated <code>/</code></td>
<td align="right">352.529 µs</td>
<td align="right">54.330 µs</td>
<td align="right">-84.6%</td>
</tr>
<tr>
<td>~8 KiB path of repeated <code>/a/..</code></td>
<td align="right">96.733 µs</td>
<td align="right">22.253 µs</td>
<td align="right">-77.0%</td>
</tr>
<tr>
<td>TCP client/server round trips, small response</td>
<td align="right">5.193 µs</td>
<td align="right">5.030 µs</td>
<td align="right">-3.1%</td>
</tr>
<tr>
<td>TCP client/server round trips, 64 KiB response</td>
<td align="right">15.302 µs</td>
<td align="right">13.478 µs</td>
<td align="right">-11.9%</td>
</tr>
</tbody>
</table>
<p>The pipelined serving and file benchmarks use an in-memory connection
with writes discarded. The two TCP rows include real loopback
networking. These results describe the selected workloads; TCP gains are
smaller than the gains in parsing and serialization.
<code>Server.LazyRequestTime</code> remains disabled in this
comparison.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/valyala/fasthttp/commit/818be799bc0b086b5df262d6382bf5875fbd58f4"><code>818be79</code></a>
fix: preserve response behavior while draining streamed requests (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2461">#2461</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/741bd4144c2a57c82499ceecb7648b0cbd6456d6"><code>741bd41</code></a>
fix(fs): reject zero-length suffix byte ranges (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2460">#2460</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/06d8ae84c6bea09350e2fd67fbb86e2095d36057"><code>06d8ae8</code></a>
discard unread streamed request body before the next request (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2368">#2368</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/54759cc7bed45435350e4ae525986b96ac2900e7"><code>54759cc</code></a>
fix(args): use comparator sign in Sort and SortKeys (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2459">#2459</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/6141d3a6205bec7f51225a058fbcc578efdd9a17"><code>6141d3a</code></a>
fix: stop idle PipelineClient workers after errors (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2458">#2458</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/c7861c0abbdc5fa042b27fa005dad36e4419f49d"><code>c7861c0</code></a>
Omit Transfer-Encoding on 1xx and 204 responses (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2457">#2457</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/9242984426b10bca0d7e40e3002796576c669a21"><code>9242984</code></a>
leave an empty upfront Server or User-Agent out of PeekAll (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2443">#2443</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/a0690e59fb50658ef5c8f1763fc625c55958e2e9"><code>a0690e5</code></a>
fix(request): warn when Request.Body() is called on streamed requests
(<a
href="https://redirect.github.com/valyala/fasthttp/issues/2350">#2350</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/7ae14bec2191f359f6d974697dccfdce07cb9985"><code>7ae14be</code></a>
Preserve NoDefaultContentType across client response resets (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2455">#2455</a>)</li>
<li><a
href="https://github.com/valyala/fasthttp/commit/c997615ad95bf6c0b2c2898011c7807883860558"><code>c997615</code></a>
perf: serve small cached files from memory in FS (<a
href="https://redirect.github.com/valyala/fasthttp/issues/2446">#2446</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/valyala/fasthttp/compare/v1.74.0...v1.75.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/valyala/fasthttp&package-manager=go_modules&previous-version=1.74.0&new-version=1.75.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 11:20:38 +00:00
dependabot[bot] 5383b59b8e chore: bump the x group with 2 updates (#31045)
Bumps the x group with 2 updates:
[golang.org/x/net](https://github.com/golang/net) and
[golang.org/x/tools](https://github.com/golang/tools).

Updates `golang.org/x/net` from 0.60.0 to 0.61.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/net/commit/c1d31df183e51b1075a2fd670d6f6f4efb871773"><code>c1d31df</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="https://github.com/golang/net/commit/8456a207cc33a21300bb8964ed756e5b681aeeeb"><code>8456a20</code></a>
quic: properly check for allowed frame types in a packet</li>
<li>See full diff in <a
href="https://github.com/golang/net/compare/v0.60.0...v0.61.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/tools` from 0.51.0 to 0.52.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/tools/commit/16517d951552611e7bd358c48ee1051fd0e57b0c"><code>16517d9</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="https://github.com/golang/tools/commit/a39b77340b27c5a86080ef22fa6fa5b4c489e177"><code>a39b773</code></a>
gopls/internal/cache: fix shadowing bug</li>
<li><a
href="https://github.com/golang/tools/commit/2faede3474a5d3b52625fbd756bf9b572c813770"><code>2faede3</code></a>
gopls/internal/test/marker: reorganize undeclared test files</li>
<li><a
href="https://github.com/golang/tools/commit/dbca0bb22f1311143d31a976b72ea6e101679c31"><code>dbca0bb</code></a>
go/ssa: support pointer-typed composite literals in all contexts</li>
<li><a
href="https://github.com/golang/tools/commit/ec72d2badf3c8d5232023038a11ef663076b6208"><code>ec72d2b</code></a>
gopls/internal/cache: pass overlays to go mod commands</li>
<li><a
href="https://github.com/golang/tools/commit/2c549680fcf7d3de8cab0023a6308762ea3f6582"><code>2c54968</code></a>
gopls/internal/golang: MoveDeclaration - fix imports for decls in
multiple files</li>
<li><a
href="https://github.com/golang/tools/commit/1e27b6e002858089b6c1318498e3dd8b9cb149b2"><code>1e27b6e</code></a>
internal/cursorutil: promote from gopls, plus other cleanups</li>
<li><a
href="https://github.com/golang/tools/commit/2babe1edae6542f657408d556e1288fb0b2afc19"><code>2babe1e</code></a>
gopls/internal/lsprpc: adjust dial retry logic</li>
<li><a
href="https://github.com/golang/tools/commit/a3af45f248c005a2f2485ca99ad978547753a17c"><code>a3af45f</code></a>
internal/refactor/inline: reduce void calls in tail position</li>
<li><a
href="https://github.com/golang/tools/commit/ac4a446a34cf974f0202077f437008e88b07593c"><code>ac4a446</code></a>
gopls/internal/filewatcher: disable TestStress/fsnotify on 386</li>
<li>Additional commits viewable in <a
href="https://github.com/golang/tools/compare/v0.51.0...v0.52.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-20 11:19:23 +00:00
Dmitry Makovey d36c1535d5 fix: bump Go version from 1.26.5 to 1.26.9 (#30807)
Bump the Go toolchain from 1.26.5 to 1.26.9 ([released
2026-10-02](https://go.dev/doc/devel/release#go1.26.9)).

Tracked in Linear:
[ENT-210](https://linear.app/codercom/issue/ENT-210/ironbank-critical-bump-go-to-1269-fix-by-2026-10-29).
Iron Bank fix-by date for the Critical finding is **2026-10-29**.

Go 1.26.9 includes fixes for the findings Iron Bank reported against
`coder/coder-enterprise/coder-service-2:2.38.0`. Of the 19 still-valid
advisories, 12 are only fixed in 1.26.9, including the Critical one:

- Critical: [GO-2026-6612](https://pkg.go.dev/vuln/GO-2026-6612) /
CVE-2026-78663 (HTTP/2 server double flow-control refund)
- High: GO-2026-6603, -6605, -6607, -6608, -6609, -6610, -6611, -6613
- Low: GO-2026-6599, -6600, -6617

The other 7 (GO-2026-5026, -5942, -6088, -6089, -6090 High; -6091, -6218
Medium) are fixed since 1.26.6. The full list with links is in ENT-210.

## Changes

Same file set as #27157:

- `go.mod`: `go 1.26.5` to `go 1.26.9`
- `mise.toml` / `mise.lock`: Go toolchain pin and the archive URLs and
SHA-256 checksums for each platform (taken from the official `go.dev/dl`
release list)

## Verification

- `go build ./enterprise/cmd/coder` with go1.26.9 succeeds; `go mod tidy
-diff` is clean.
- `govulncheck -mode binary` on the resulting binary reports none of the
19 advisories above. The same scan of the released 2.38.0 binary
(go1.26.5) reports all 19.

## Not in this PR

`golang.org/x/net` v0.60.0 (the module-side half of GO-2026-6603, -6610,
-6611, -6612 and -6617) is already on `main` via #30772 and is
backported to the release branches in #30814 (2.38), #30815 (2.37),
#30816 (2.36), #30817 (2.35) and #30818 (2.34), tracked in
[ENT-211](https://linear.app/codercom/issue/ENT-211/ironbank-critical-bump-golangorgxnet-to-v0600-on-release-branches-fix).
The Go 1.27.1 bump (#30288) stays a separate, larger change. Go
backports: #30808 (2.38), #30809 (2.37), #30810 (2.36), #30813 (2.35),
#30811 (2.34).

Opened by Superblink on behalf of @droopy4096.
2026-10-15 11:58:14 -07:00
dependabot[bot] 609c5b95fb chore: bump github.com/moby/sys/user from 0.4.0 to 0.4.1 (#30534)
Bumps [github.com/moby/sys/user](https://github.com/moby/sys) from 0.4.0
to 0.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/moby/sys/releases">github.com/moby/sys/user's
releases</a>.</em></p>
<blockquote>
<h2>mountinfo v0.4.1</h2>
<p>Fixes and improvements:</p>
<ul>
<li>Fix PrefixFilter() being too greedy (<a
href="https://redirect.github.com/moby/sys/issues/61">#61</a>)</li>
<li>TestMountedBy*: add missing pre-checks
(ce8f425e79a74602c4055fb1776f38043d56827b)</li>
<li>Documentation improvements (<a
href="https://redirect.github.com/moby/sys/issues/52">#52</a>)</li>
</ul>
<h2>user/v0.4.1</h2>
<h2>What's Changed</h2>
<ul>
<li>user: prevent possible DoS via unbounded parsing of user and group
database files in CVE-2026-61801 / <a
href="https://github.com/moby/sys/security/advisories/GHSA-mjcv-p78q-w5fw">GHSA-mjcv-p78q-w5fw</a>.
This fixes a similar issue as CVE-2026-47262 in containerd.</li>
<li>user: prevent falling back to looking up numeric usernames and
improve handling of numeric user/group to prevent looking up numeric
values as usernames. This fixes a similar issue as CVE-2026-46680 in
containerd. <a
href="https://redirect.github.com/moby/sys/pull/221">moby/sys#221</a></li>
<li>user: bump Go to 1.18, modernize <a
href="https://redirect.github.com/moby/sys/pull/198">moby/sys#198</a></li>
<li>user: make code a bit more DRY <a
href="https://redirect.github.com/moby/sys/pull/225">moby/sys#225</a></li>
<li>user: test cleanups <a
href="https://redirect.github.com/moby/sys/pull/226">moby/sys#226</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/moby/sys/compare/user/v0.4.0...user/v0.4.1">https://github.com/moby/sys/compare/user/v0.4.0...user/v0.4.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/moby/sys/commit/85a71bbe1faa36c552a960e6a5f3d0cfb632fbbe"><code>85a71bb</code></a>
Merge commit from fork</li>
<li><a
href="https://github.com/moby/sys/commit/2c56c3d5d089bfa66d01b6c0bb69428e9d5d18c5"><code>2c56c3d</code></a>
user: limit line length in ParseGroupFilter</li>
<li><a
href="https://github.com/moby/sys/commit/bba2f13154cb607bfbc7e209f8d9100ef4000329"><code>bba2f13</code></a>
user: limit reads from user database files</li>
<li><a
href="https://github.com/moby/sys/commit/ee79b0e8cbbf36c26a182e94e0ec41c5c1c09c34"><code>ee79b0e</code></a>
Merge pull request <a
href="https://redirect.github.com/moby/sys/issues/221">#221</a> from
thaJeztah/limit_uidgid</li>
<li><a
href="https://github.com/moby/sys/commit/6eb9f1533f265128f3172f26319ac4ec337e2cdc"><code>6eb9f15</code></a>
user: GetAdditionalGroups: treat numeric group arguments as GIDs
only</li>
<li><a
href="https://github.com/moby/sys/commit/c66bd2df666e11742905d01b82273f8a1db1be0c"><code>c66bd2d</code></a>
user: prevent falling back to looking up numeric usernames</li>
<li><a
href="https://github.com/moby/sys/commit/c87335998b73cbe3ecbf4bb8372e3118edb8e835"><code>c873359</code></a>
Merge pull request <a
href="https://redirect.github.com/moby/sys/issues/226">#226</a> from
thaJeztah/user_test_cleanups</li>
<li><a
href="https://github.com/moby/sys/commit/f41a5ef1732cf3793717f6b0ff126116ddde8874"><code>f41a5ef</code></a>
Merge pull request <a
href="https://redirect.github.com/moby/sys/issues/225">#225</a> from
thaJeztah/user_dry</li>
<li><a
href="https://github.com/moby/sys/commit/5c2e8a01a7ce7f2456dbcd706173161e035d4df5"><code>5c2e8a0</code></a>
user: add test-cases for maxID (math.MaxInt32)</li>
<li><a
href="https://github.com/moby/sys/commit/e001aea433c246e3011c4f3bdab96a209f194510"><code>e001aea</code></a>
user: use sub-tests</li>
<li>Additional commits viewable in <a
href="https://github.com/moby/sys/compare/user/v0.4.0...user/v0.4.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/moby/sys/user&package-manager=go_modules&previous-version=0.4.0&new-version=0.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts page](https://github.com/coder/coder/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 20:39:44 +00:00
Bobby Ho 11f1ee7d9f ci: fail the test process with a heap profile when memory passes a per-runner limit (#30487)
test: add memory guard and heap profiles for CI timeouts

Add a memory guard to `cli`, `agent`, and `enterprise/cli` to diagnose
recurring macOS `test-go-pg` timeouts. Recent logs show runaway memory
usage and heavy swapping, but the allocation source remains unknown.

- Check Go runtime memory once per second, with per-process CI limits
  of 5 GiB on macOS and 6 GiB on Linux and Windows. Disabled when
  `CODER_TEST_MEMORY_LIMIT_MIB` is unset.
- On exceeding the limit, save a heap profile, attempt a second profile
  after forced GC with a five-second wait limit, then panic with memory
  usage, profile paths, and all goroutine stacks.
- Upload heap profiles from unsuccessful CI jobs on every OS, retaining
  them for seven days.
- Test guard lifecycle, environment parsing, panic diagnostics, profile
  validity, and post-GC allocation attribution. Validate with race
  tests, vet, lint, and a manual macOS test.

Refs https://linear.app/codercom/issue/PLAT-251/flake-test-go-pg-macos-job-timeoutcancelled
Refs https://github.com/coder/internal/issues/1365
2026-10-14 12:32:49 -07:00
dependabot[bot] 238a476e9a chore: bump github.com/hashicorp/terraform-json from 0.28.0 to 0.29.0 (#30774)
Bumps
[github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json)
from 0.28.0 to 0.29.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/hashicorp/terraform-json/releases">github.com/hashicorp/terraform-json's
releases</a>.</em></p>
<blockquote>
<h2>v0.29.0</h2>
<p>ENHANCEMENTS:</p>
<ul>
<li>version: Allow parsing of a <code>format_version</code> field, added
in Terraform 1.17 (<a
href="https://redirect.github.com/hashicorp/terraform-json/pull/208">#208</a>)</li>
<li>Add <code>init_output</code> log type for use when parsing logs from
the <code>init</code> command (<a
href="https://redirect.github.com/hashicorp/terraform-json/pull/181">#181</a>)</li>
<li>logging: Add support for <code>state migrate</code> message types
(<a
href="https://redirect.github.com/hashicorp/terraform-json/pull/210">#210</a>)</li>
<li>Add support for JSON output from <code>workspace list</code> command
(<a
href="https://redirect.github.com/hashicorp/terraform-json/pull/198">#198</a>)</li>
<li>Enable parsing <code>state_store_initialization_start</code> JSON
log message from <code>init</code> command (<a
href="https://redirect.github.com/hashicorp/terraform-json/pull/212">#212</a>)</li>
</ul>
<p>BUG FIXES:</p>
<ul>
<li>Avoid panic in <code>(WorkspaceListOutput) CurrentWorkspace</code>
if no workspaces are listed (<a
href="https://redirect.github.com/hashicorp/terraform-json/pull/214">#214</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/hashicorp/terraform-json/commit/8f4894d138d0fe71436cba6dbc8f16577e9a9e7d"><code>8f4894d</code></a>
fix: Avoid panic in <code>(WorkspaceListOutput) CurrentWorkspace</code>
if no workspaces...</li>
<li><a
href="https://github.com/hashicorp/terraform-json/commit/540e4c2dd221e4b115258ea0a3a8c8fc24bb3b03"><code>540e4c2</code></a>
test: Enable parsing <code>state_store_initialization_start </code> JSON
message, add te...</li>
<li><a
href="https://github.com/hashicorp/terraform-json/commit/456fd358731ed4d6fc2e30f6e6a12d6532761682"><code>456fd35</code></a>
refactor: Rename JSON message type constants to use <code>Message</code>
prefix in name ...</li>
<li><a
href="https://github.com/hashicorp/terraform-json/commit/ebdaf2c44e73a2f66e3e048dc6b9b73846a8a7bd"><code>ebdaf2c</code></a>
logging: Add support for <code>state migrate</code> message types (<a
href="https://redirect.github.com/hashicorp/terraform-json/issues/210">#210</a>)</li>
<li><a
href="https://github.com/hashicorp/terraform-json/commit/5a1ca9230975ec15a9885e4a35b755646fda3028"><code>5a1ca92</code></a>
Add support for JSON output from <code>workspace list</code> (<a
href="https://redirect.github.com/hashicorp/terraform-json/issues/198">#198</a>)</li>
<li><a
href="https://github.com/hashicorp/terraform-json/commit/e0b680713a97433a2b3aff9395516bded146210b"><code>e0b6807</code></a>
feat: Add <code>init_output</code> log type for use when parsing a
subset of logs from t...</li>
<li><a
href="https://github.com/hashicorp/terraform-json/commit/1835ed6fbee33db47013369b2f0dff44655894ef"><code>1835ed6</code></a>
version: Allow parsing of a format_version field, added in v1.17 (<a
href="https://redirect.github.com/hashicorp/terraform-json/issues/208">#208</a>)</li>
<li><a
href="https://github.com/hashicorp/terraform-json/commit/f4ef9969cba17897dc68940e97b0f3f203807630"><code>f4ef996</code></a>
build(deps): bump actions/checkout from 7.0.0 to 7.0.1 in the
github-actions-...</li>
<li><a
href="https://github.com/hashicorp/terraform-json/commit/4a96b30be8a74ee37652aebdaadfbeefaab2de52"><code>4a96b30</code></a>
build(deps): bump actions/setup-go from 6.5.0 to 7.0.0 in the
github-actions-...</li>
<li>See full diff in <a
href="https://github.com/hashicorp/terraform-json/compare/v0.28.0...v0.29.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/hashicorp/terraform-json&package-manager=go_modules&previous-version=0.28.0&new-version=0.29.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 18:09:54 +00:00
dependabot[bot] 63e5a6eb2c chore: bump google.golang.org/api from 0.300.0 to 0.301.0 (#30770)
Bumps
[google.golang.org/api](https://github.com/googleapis/google-api-go-client)
from 0.300.0 to 0.301.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/releases">google.golang.org/api's
releases</a>.</em></p>
<blockquote>
<h2>v0.301.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.300.0...v0.301.0">0.301.0</a>
(2026-10-07)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3754">#3754</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/ebafad334e2218c37dbbcc267219e338fbd0d056">ebafad3</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3756">#3756</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/e85ebac72dd7e12c538a14f6e2b8a1c83f9872b9">e85ebac</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3759">#3759</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/267f7a8c8e539f21e64b696686bb9476bf0c5ef0">267f7a8</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3760">#3760</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/282280c028412560d8c259c0e5ce80cd3c16d624">282280c</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3761">#3761</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/3f7eebf8a548d20db29fa5c654f2de96c4f8db14">3f7eebf</a>)</li>
<li><strong>option/internaloption:</strong> Add
EnableDirectPathXdsOverInterconnect (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3742">#3742</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/9bda4c115cedcef9f5938378563e04592f56fe18">9bda4c1</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md">google.golang.org/api's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.300.0...v0.301.0">0.301.0</a>
(2026-10-07)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3754">#3754</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/ebafad334e2218c37dbbcc267219e338fbd0d056">ebafad3</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3756">#3756</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/e85ebac72dd7e12c538a14f6e2b8a1c83f9872b9">e85ebac</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3759">#3759</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/267f7a8c8e539f21e64b696686bb9476bf0c5ef0">267f7a8</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3760">#3760</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/282280c028412560d8c259c0e5ce80cd3c16d624">282280c</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3761">#3761</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/3f7eebf8a548d20db29fa5c654f2de96c4f8db14">3f7eebf</a>)</li>
<li><strong>option/internaloption:</strong> Add
EnableDirectPathXdsOverInterconnect (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3742">#3742</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/9bda4c115cedcef9f5938378563e04592f56fe18">9bda4c1</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/22cea49978ad0d51b64d4ec4a193fb477400fac4"><code>22cea49</code></a>
chore(main): release 0.301.0 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3755">#3755</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/3f7eebf8a548d20db29fa5c654f2de96c4f8db14"><code>3f7eebf</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3761">#3761</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/6fa455aa97d4db710919bd387b95015f8e179537"><code>6fa455a</code></a>
chore(all): update all to v7 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3758">#3758</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/282280c028412560d8c259c0e5ce80cd3c16d624"><code>282280c</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3760">#3760</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/9bda4c115cedcef9f5938378563e04592f56fe18"><code>9bda4c1</code></a>
feat(option/internaloption): add EnableDirectPathXdsOverInterconnect (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3742">#3742</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/52cd18f7989503b45c5c2a43e4b7a5a00de02e76"><code>52cd18f</code></a>
chore(all): update all (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3757">#3757</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/267f7a8c8e539f21e64b696686bb9476bf0c5ef0"><code>267f7a8</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3759">#3759</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/e85ebac72dd7e12c538a14f6e2b8a1c83f9872b9"><code>e85ebac</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3756">#3756</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/ebafad334e2218c37dbbcc267219e338fbd0d056"><code>ebafad3</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3754">#3754</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/81143a2b633c2b7885760150ace96573acfba373"><code>81143a2</code></a>
chore: embargo generation of integrations:v2 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3753">#3753</a>)</li>
<li>See full diff in <a
href="https://github.com/googleapis/google-api-go-client/compare/v0.300.0...v0.301.0">compare
view</a></li>
</ul>
</details>
<br />

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 18:02:55 +00:00
dependabot[bot] f4dcbf01aa chore: bump github.com/brianvoe/gofakeit/v7 from 7.17.0 to 7.18.0 (#30773)
Bumps
[github.com/brianvoe/gofakeit/v7](https://github.com/brianvoe/gofakeit)
from 7.17.0 to 7.18.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/brianvoe/gofakeit/commit/cda0d12f40c422ea813591ec3b01ab0666e4cf84"><code>cda0d12</code></a>
datetime - added addtional compensation for date formatting</li>
<li><a
href="https://github.com/brianvoe/gofakeit/commit/dcfd43a768864284a1189378578fe8068ef38f54"><code>dcfd43a</code></a>
Merge pull request <a
href="https://redirect.github.com/brianvoe/gofakeit/issues/400">#400</a>
from 00200200/fix/struct-time-unpadded-format</li>
<li><a
href="https://github.com/brianvoe/gofakeit/commit/0843461ed662b8e04c07fee66b310e2c89ff7383"><code>0843461</code></a>
Limit unpadded date fallback and assert calendar boundaries</li>
<li><a
href="https://github.com/brianvoe/gofakeit/commit/77d7e48aff92482afeeac0bd5e405386cef98a4d"><code>77d7e48</code></a>
Fix struct time field parsing with unpadded date formats</li>
<li><a
href="https://github.com/brianvoe/gofakeit/commit/0edecf3ab8e582cb6fb63216e64634ff524624a2"><code>0edecf3</code></a>
Merge pull request <a
href="https://redirect.github.com/brianvoe/gofakeit/issues/399">#399</a>
from jakezwang/fix/finite-float-range-overflow</li>
<li><a
href="https://github.com/brianvoe/gofakeit/commit/f0bf10be1e11d82fc33018316543501cd6086f88"><code>f0bf10b</code></a>
Fix finite float ranges with overflowing spans</li>
<li><a
href="https://github.com/brianvoe/gofakeit/commit/0cd394dc8cc283909974bbe729d376322d83929c"><code>0cd394d</code></a>
Merge pull request <a
href="https://redirect.github.com/brianvoe/gofakeit/issues/398">#398</a>
from aykhans/docs/add-missing-readme-functions</li>
<li><a
href="https://github.com/brianvoe/gofakeit/commit/d2376abf9a9b97002fdf2c73789e9b8e6275e90a"><code>d2376ab</code></a>
docs: add missing functions to README</li>
<li>See full diff in <a
href="https://github.com/brianvoe/gofakeit/compare/v7.17.0...v7.18.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/brianvoe/gofakeit/v7&package-manager=go_modules&previous-version=7.17.0&new-version=7.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 18:02:17 +00:00
dependabot[bot] 710584c1bc chore: bump github.com/prometheus/client_golang from 1.24.1 to 1.25.0 (#30775)
Bumps
[github.com/prometheus/client_golang](https://github.com/prometheus/client_golang)
from 1.24.1 to 1.25.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/prometheus/client_golang/releases">github.com/prometheus/client_golang's
releases</a>.</em></p>
<blockquote>
<h2>v1.25.0</h2>
<p>⚠️ This release raises the minimum required Go version to 1.26
and includes breaking API changes in <code>api/prometheus/v1</code> (see
the [CHANGE] entries below). ⚠️</p>
<h2>1.25.0 / 2026-10-07</h2>
<ul>
<li>[CHANGE] Minimum required Go version is now 1.26, only the two
latest Go versions (1.26 and 1.27) are supported from now on. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2138">#2138</a></li>
<li>[CHANGE] api/prometheus/v1: <code>Query</code>,
<code>QueryRange</code>, <code>Series</code>, <code>LabelNames</code>,
and <code>LabelValues</code> now return <code>Infos</code> annotations
in addition to <code>Warnings</code>, matching the Prometheus server's
info annotations. This changes the signatures of these methods and of
<code>api.Client</code>'s <code>Do</code>/<code>DoGetFallback</code>;
custom API client implementations must be updated. <a
href="https://redirect.github.com/prometheus/client_golang/issues/1963">#1963</a></li>
<li>[CHANGE] api/prometheus/v1: Rework <code>TSDBBlocks</code> result
types to align with the Prometheus server's <code>tsdb.BlockMeta</code>:
<code>TSDBBlocksResult</code> now contains <code>Blocks
[]TSDBBlockMeta</code> directly instead of mirroring the full API
envelope, nested types are renamed (<code>TSDBBlockMeta</code>,
<code>TSDBBlockStats</code>, <code>TSDBBlockMetaCompaction</code>), stat
fields are <code>uint64</code> with <code>omitempty</code> tags, and the
optional compaction <code>parents</code> field is included. <a
href="https://redirect.github.com/prometheus/client_golang/issues/1928">#1928</a></li>
<li>[FEATURE] testutil: Add <code>GatherAndFormat</code> to encode a
subset of metrics from a Gatherer. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2091">#2091</a></li>
<li>[FEATURE] promhttp: Add <code>HandlerOpts.AcceptedFormats</code> to
customize the formats negotiated from the incoming <code>Accept</code>
header, enabling opt-in to experimental formats such as OpenMetrics 2.0
without changing default negotiation. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2146">#2146</a></li>
<li>[ENHANCEMENT] promhttp: Negotiated metrics responses now include a
<code>Vary</code> header. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2142">#2142</a></li>
<li>[ENHANCEMENT] prometheus: Regenerate the default runtime collector
metrics for Go 1.25 and Go 1.26. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2090">#2090</a>,
<a
href="https://redirect.github.com/prometheus/client_golang/issues/2095">#2095</a></li>
<li>[ENHANCEMENT] testutil: Finalize OpenMetrics output in
<code>GatherAndFormat</code> and <code>CollectAndFormat</code>
(terminating <code># EOF</code>). <a
href="https://redirect.github.com/prometheus/client_golang/issues/2125">#2125</a></li>
<li>[BUGFIX] api: Match complete URL path placeholders only; a
<code>:foo</code> argument no longer substitutes inside
<code>:foobar</code>. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2136">#2136</a></li>
<li>[BUGFIX] exp/api/remote: Reset the pooled buffer before generic
proto marshaling, preventing corrupted remote-write payloads. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2139">#2139</a></li>
<li>[BUGFIX] testutil/promlint: Fix &quot;mibi&quot; unit prefix to
&quot;mebi&quot;. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2135">#2135</a></li>
</ul>
<!-- raw HTML omitted -->
<h2>What's Changed</h2>
<ul>
<li>fix: Remove unneeded and broken CI badge by <a
href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2057">prometheus/client_golang#2057</a></li>
<li>Synchronize common files from prometheus/prometheus by <a
href="https://github.com/prombot"><code>@​prombot</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2060">prometheus/client_golang#2060</a></li>
<li>build(deps): bump the codeql group with 4 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2066">prometheus/client_golang#2066</a></li>
<li>build(deps): bump github.com/klauspost/compress from 1.19.0 to
1.19.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2071">prometheus/client_golang#2071</a></li>
<li>build(deps): bump golang.org/x/sys from 0.46.0 to 0.47.0 in the
golang-org-x group across 1 directory by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2069">prometheus/client_golang#2069</a></li>
<li>build(deps): bump github.com/klauspost/compress from 1.19.0 to
1.19.1 in /exp by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2072">prometheus/client_golang#2072</a></li>
<li>build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1
in /exp by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2073">prometheus/client_golang#2073</a></li>
<li>build(deps): bump github.com/prometheus/common from 0.69.0 to 0.70.1
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2070">prometheus/client_golang#2070</a></li>
<li>build(deps): bump google.golang.org/grpc from 1.79.3 to 1.82.1 in
/tutorials/whatsup by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2075">prometheus/client_golang#2075</a></li>
<li>Pin GitHub Actions by <a
href="https://github.com/SuperQ"><code>@​SuperQ</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2074">prometheus/client_golang#2074</a></li>
<li>build(deps): bump actions/checkout from 7.0.0 to 7.0.1 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2067">prometheus/client_golang#2067</a></li>
<li>promhttp: fix panic on requests with nil URL by <a
href="https://github.com/SAY-5"><code>@​SAY-5</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2065">prometheus/client_golang#2065</a></li>
<li>Return info annotations in addition to warnings in the API by <a
href="https://github.com/zenador"><code>@​zenador</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/1963">prometheus/client_golang#1963</a></li>
<li>build(deps): bump ossf/scorecard-action from 2.4.3 to 2.4.4 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2082">prometheus/client_golang#2082</a></li>
<li>Synchronize common files from prometheus/prometheus by <a
href="https://github.com/prombot"><code>@​prombot</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2084">prometheus/client_golang#2084</a></li>
<li>Synchronize common files from prometheus/prometheus by <a
href="https://github.com/prombot"><code>@​prombot</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2086">prometheus/client_golang#2086</a></li>
<li>Synchronize common files from prometheus/prometheus by <a
href="https://github.com/prombot"><code>@​prombot</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2088">prometheus/client_golang#2088</a></li>
<li>Regenerate Go collector runtime metrics for Go 1.25 and Go 1.26 by
<a href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2090">prometheus/client_golang#2090</a></li>
<li>go.mod: remove obsolete exclude rule by <a
href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2077">prometheus/client_golang#2077</a></li>
<li>Synchronize common files from prometheus/prometheus by <a
href="https://github.com/prombot"><code>@​prombot</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2093">prometheus/client_golang#2093</a></li>
<li>README: document the OpenTelemetry OTLP push bridge by <a
href="https://github.com/mvanhorn"><code>@​mvanhorn</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/1987">prometheus/client_golang#1987</a></li>
<li>docs: add AGENTS.md contributor and maintainer guide by <a
href="https://github.com/bwplotka"><code>@​bwplotka</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2056">prometheus/client_golang#2056</a></li>
<li>testutil: add GatherAndFormat helper by <a
href="https://github.com/wieghx"><code>@​wieghx</code></a> in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2091">prometheus/client_golang#2091</a></li>
<li>build(deps): bump the codeql group with 4 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2101">prometheus/client_golang#2101</a></li>
<li>build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12
by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2097">prometheus/client_golang#2097</a></li>
<li>build(deps): bump github.com/klauspost/compress from 1.19.1 to
1.19.2 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2098">prometheus/client_golang#2098</a></li>
<li>build(deps): bump google.golang.org/protobuf from 1.36.11 to 1.36.12
in /exp by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2099">prometheus/client_golang#2099</a></li>
<li>build(deps): bump github.com/klauspost/compress from 1.19.1 to
1.19.2 in /exp by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2100">prometheus/client_golang#2100</a></li>
<li>build(deps): bump github.com/prometheus/procfs from 0.21.1 to 0.22.0
in the prometheus group across 1 directory by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/prometheus/client_golang/pull/2096">prometheus/client_golang#2096</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md">github.com/prometheus/client_golang's
changelog</a>.</em></p>
<blockquote>
<h2>1.25.0 / 2026-10-07</h2>
<ul>
<li>[CHANGE] Minimum required Go version is now 1.26, only the two
latest Go versions (1.26 and 1.27) are supported from now on. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2138">#2138</a></li>
<li>[CHANGE] api/prometheus/v1: <code>Query</code>,
<code>QueryRange</code>, <code>Series</code>, <code>LabelNames</code>,
and <code>LabelValues</code> now return <code>Infos</code> annotations
in addition to <code>Warnings</code>, matching the Prometheus server's
info annotations. This changes the signatures of these methods and of
<code>api.Client</code>'s <code>Do</code>/<code>DoGetFallback</code>;
custom API client implementations must be updated. <a
href="https://redirect.github.com/prometheus/client_golang/issues/1963">#1963</a></li>
<li>[CHANGE] api/prometheus/v1: Rework <code>TSDBBlocks</code> result
types to align with the Prometheus server's <code>tsdb.BlockMeta</code>:
<code>TSDBBlocksResult</code> now contains <code>Blocks
[]TSDBBlockMeta</code> directly instead of mirroring the full API
envelope, nested types are renamed (<code>TSDBBlockMeta</code>,
<code>TSDBBlockStats</code>, <code>TSDBBlockMetaCompaction</code>), stat
fields are <code>uint64</code> with <code>omitempty</code> tags, and the
optional compaction <code>parents</code> field is included. <a
href="https://redirect.github.com/prometheus/client_golang/issues/1928">#1928</a></li>
<li>[FEATURE] testutil: Add <code>GatherAndFormat</code> to encode a
subset of metrics from a Gatherer. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2091">#2091</a></li>
<li>[FEATURE] promhttp: Add <code>HandlerOpts.AcceptedFormats</code> to
customize the formats negotiated from the incoming <code>Accept</code>
header, enabling opt-in to experimental formats such as OpenMetrics 2.0
without changing default negotiation. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2146">#2146</a></li>
<li>[ENHANCEMENT] promhttp: Negotiated metrics responses now include a
<code>Vary</code> header. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2142">#2142</a></li>
<li>[ENHANCEMENT] prometheus: Regenerate the default runtime collector
metrics for Go 1.25 and Go 1.26. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2090">#2090</a>,
<a
href="https://redirect.github.com/prometheus/client_golang/issues/2095">#2095</a></li>
<li>[ENHANCEMENT] testutil: Finalize OpenMetrics output in
<code>GatherAndFormat</code> and <code>CollectAndFormat</code>
(terminating <code># EOF</code>). <a
href="https://redirect.github.com/prometheus/client_golang/issues/2125">#2125</a></li>
<li>[BUGFIX] api: Match complete URL path placeholders only; a
<code>:foo</code> argument no longer substitutes inside
<code>:foobar</code>. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2136">#2136</a></li>
<li>[BUGFIX] exp/api/remote: Reset the pooled buffer before generic
proto marshaling, preventing corrupted remote-write payloads. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2139">#2139</a></li>
<li>[BUGFIX] testutil/promlint: Fix &quot;mibi&quot; unit prefix to
&quot;mebi&quot;. <a
href="https://redirect.github.com/prometheus/client_golang/issues/2135">#2135</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/prometheus/client_golang/commit/0d88875bc7494ed8414e067756ff3399e3068c64"><code>0d88875</code></a>
Cut v1.25.0 (<a
href="https://redirect.github.com/prometheus/client_golang/issues/2164">#2164</a>)</li>
<li><a
href="https://github.com/prometheus/client_golang/commit/e9946ee846c4916ae4def4318b422b084aad687c"><code>e9946ee</code></a>
Cut v1.25.0-rc.0 (<a
href="https://redirect.github.com/prometheus/client_golang/issues/2154">#2154</a>)</li>
<li><a
href="https://github.com/prometheus/client_golang/commit/de866d63fa67a78f723397d33624b89a439dbe73"><code>de866d6</code></a>
Merge pull request <a
href="https://redirect.github.com/prometheus/client_golang/issues/2152">#2152</a>
from prometheus/dependabot/go_modules/api/prometheus...</li>
<li><a
href="https://github.com/prometheus/client_golang/commit/a37302f6f0677b61954ae08077c85221c21f4883"><code>a37302f</code></a>
prometheus: fix modernize lint findings (<a
href="https://redirect.github.com/prometheus/client_golang/issues/2151">#2151</a>)</li>
<li><a
href="https://github.com/prometheus/client_golang/commit/a3fa3807231bcb72fc56c10e65c72e1102013907"><code>a3fa380</code></a>
build(deps): bump google.golang.org/grpc</li>
<li><a
href="https://github.com/prometheus/client_golang/commit/9da3fcc7c7b60c0565771518ecb9043df23f286a"><code>9da3fcc</code></a>
fix: updates for tsdb blocks handling (<a
href="https://redirect.github.com/prometheus/client_golang/issues/1928">#1928</a>)</li>
<li><a
href="https://github.com/prometheus/client_golang/commit/0ecb5c28f53c957e8adabe6707ad8609641e50f0"><code>0ecb5c2</code></a>
api: match complete URL placeholders (<a
href="https://redirect.github.com/prometheus/client_golang/issues/2136">#2136</a>)</li>
<li><a
href="https://github.com/prometheus/client_golang/commit/2ad001aa7b446e3a245de21c0f397c57289d7d94"><code>2ad001a</code></a>
exp/api/remote: reset buffer before generic marshal (<a
href="https://redirect.github.com/prometheus/client_golang/issues/2139">#2139</a>)</li>
<li><a
href="https://github.com/prometheus/client_golang/commit/0db8d43ff97adbb75da10c57fceaf8fb8ee13d05"><code>0db8d43</code></a>
promhttp: vary negotiated metrics responses (<a
href="https://redirect.github.com/prometheus/client_golang/issues/2142">#2142</a>)</li>
<li><a
href="https://github.com/prometheus/client_golang/commit/b1f9c7a6cbb2cd6000042806b7f688cabb9d3771"><code>b1f9c7a</code></a>
Merge pull request <a
href="https://redirect.github.com/prometheus/client_golang/issues/2144">#2144</a>
from prometheus/dependabot/go_modules/exp/github.com...</li>
<li>Additional commits viewable in <a
href="https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/client_golang&package-manager=go_modules&previous-version=1.24.1&new-version=1.25.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 17:43:48 +00:00
dependabot[bot] e129c7786c chore: bump github.com/shopspring/decimal from 1.4.0 to 1.5.0 (#30767)
Bumps
[github.com/shopspring/decimal](https://github.com/shopspring/decimal)
from 1.4.0 to 1.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/shopspring/decimal/releases">github.com/shopspring/decimal's
releases</a>.</em></p>
<blockquote>
<h2>v1.5.0</h2>
<p><strong>Full Changelog</strong> can be found in <a
href="https://github.com/shopspring/decimal/blob/master/CHANGELOG.md">CHANGELOG.md</a>.
Please read its <strong>BEHAVIOR CHANGES</strong> section before
upgrading.</p>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/PauliusLozys"><code>@​PauliusLozys</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/403">shopspring/decimal#403</a></li>
<li><a href="https://github.com/JohnAD"><code>@​JohnAD</code></a> made
their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/389">shopspring/decimal#389</a></li>
<li><a href="https://github.com/jtwatson"><code>@​jtwatson</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/395">shopspring/decimal#395</a></li>
<li><a
href="https://github.com/c-tonneslan"><code>@​c-tonneslan</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/425">shopspring/decimal#425</a></li>
<li><a href="https://github.com/Streppel"><code>@​Streppel</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/414">shopspring/decimal#414</a></li>
<li><a href="https://github.com/orinnz"><code>@​orinnz</code></a> made
their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/438">shopspring/decimal#438</a></li>
<li><a
href="https://github.com/amitmishra11"><code>@​amitmishra11</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/426">shopspring/decimal#426</a></li>
<li><a href="https://github.com/SashaMIT"><code>@​SashaMIT</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/437">shopspring/decimal#437</a></li>
<li><a href="https://github.com/jakezwang"><code>@​jakezwang</code></a>
made their first contribution in <a
href="https://redirect.github.com/shopspring/decimal/pull/433">shopspring/decimal#433</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/shopspring/decimal/blob/master/CHANGELOG.md">github.com/shopspring/decimal's
changelog</a>.</em></p>
<blockquote>
<h2>Decimal v1.5.0</h2>
<h4>BEHAVIOR CHANGES</h4>
<ul>
<li><code>NewFromString</code> and <code>UnmarshalBinary</code>, and so
JSON, text, SQL, gob and Spanner decoding, reject exponents larger than
the new <code>MaxDecodeExponent</code> setting (default 10,000). Such
input could hang the process or use gigabytes of memory. Raise
<code>MaxDecodeExponent</code> if you need larger exponents <a
href="https://redirect.github.com/shopspring/decimal/pull/440">#440</a></li>
<li><code>Pow</code>, <code>PowWithPrecision</code>,
<code>PowInt32</code> and <code>PowBigInt</code> round correctly.
Results for fractional exponents have
<code>PowPrecisionNegativeExponent</code> (16) decimal places, and
negative powers that used to return 0 keep 16 significant digits, so
<code>10^-18</code> is <code>0.000000000000000001</code>. Results too
large to represent return an error, or 0 from <code>Pow</code>, instead
of hanging or panicking <a
href="https://redirect.github.com/shopspring/decimal/pull/439">#439</a></li>
<li><code>RoundUp</code>, <code>RoundDown</code>, <code>RoundCeil</code>
and <code>RoundFloor</code> always return exponent <code>-places</code>,
like <code>Round</code>. Values don't change, but
<code>Exponent()</code>, <code>Coefficient()</code> and
<code>String()</code> with <code>TrimTrailingZeros = false</code> can <a
href="https://redirect.github.com/shopspring/decimal/pull/426">#426</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/441">#441</a></li>
<li><code>Truncate</code> supports negative precision: <code>5432</code>
truncated to <code>-2</code> is <code>5400</code>. Before, it returned
<code>5432</code> unchanged <a
href="https://redirect.github.com/shopspring/decimal/pull/426">#426</a></li>
<li><code>Shift</code> panics when the exponent overflows an int32,
instead of wrapping around <a
href="https://redirect.github.com/shopspring/decimal/pull/437">#437</a></li>
<li><code>NewFromString</code> rejects a sign right after a leading
decimal point, such as <code>&quot;.-5&quot;</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/447">#447</a></li>
</ul>
<h4>FEATURES</h4>
<ul>
<li>Add <code>TrimTrailingZeros</code> and
<code>UseScientificNotation</code> settings for string output <a
href="https://redirect.github.com/shopspring/decimal/pull/389">#389</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/416">#416</a></li>
<li>Add Spanner support with <code>EncodeSpanner</code> and
<code>DecodeSpanner</code> for <code>Decimal</code> and
<code>NullDecimal</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/395">#395</a></li>
</ul>
<h4>ENHANCEMENTS</h4>
<ul>
<li>Most operations are faster and allocate less, about twice as fast on
average across the benchmarks <a
href="https://redirect.github.com/shopspring/decimal/pull/444">#444</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/445">#445</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/446">#446</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/447">#447</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/448">#448</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/449">#449</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/451">#451</a></li>
<li>Faster <code>UnmarshalJSON</code>, <code>Scan</code> and
<code>NewFromString</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/403">#403</a></li>
<li><code>ExpHullAbrham</code> raises its partial sum to a power by
squaring. Large inputs that took minutes now take seconds <a
href="https://redirect.github.com/shopspring/decimal/pull/450">#450</a></li>
<li>Document that <code>NewFromFloat</code> returns the shortest decimal
that converts back to the same float, and how to convert large whole
numbers exactly <a
href="https://redirect.github.com/shopspring/decimal/pull/442">#442</a></li>
<li>Split <code>decimal.go</code> into <code>decimal.go</code>,
<code>math.go</code> and <code>encoding.go</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/452">#452</a></li>
<li>Lint with golangci-lint in CI, and test on Go 1.26 and 1.27 <a
href="https://redirect.github.com/shopspring/decimal/pull/453">#453</a>
<a
href="https://redirect.github.com/shopspring/decimal/pull/454">#454</a></li>
</ul>
<h4>BUGFIXES</h4>
<ul>
<li>Fix <code>Float64</code> hanging on decimals with huge exponents <a
href="https://redirect.github.com/shopspring/decimal/pull/438">#438</a></li>
<li>Fix <code>ExpHullAbrham</code> returning <code>10^exp</code> instead
of 1 for tiny inputs <a
href="https://redirect.github.com/shopspring/decimal/pull/433">#433</a></li>
<li>Fix a data race in <code>ExpTaylor</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/414">#414</a></li>
<li>Fix <code>NumDigits</code> for some exact powers of ten <a
href="https://redirect.github.com/shopspring/decimal/pull/425">#425</a></li>
<li>Fix the <code>omitzero</code> struct tag for <code>Decimal</code>
fields in nested structs <a
href="https://redirect.github.com/shopspring/decimal/pull/415">#415</a></li>
<li>Fix <code>RoundCash</code> giving wrong results with a low
<code>DivisionPrecision</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/443">#443</a></li>
<li><code>NullDecimal</code> is no longer <code>Valid</code> after a
failed <code>Scan</code>, <code>UnmarshalJSON</code> or
<code>DecodeSpanner</code> <a
href="https://redirect.github.com/shopspring/decimal/pull/443">#443</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/shopspring/decimal/commit/f658fbf1eb94abc869558633a0b9b239300899f4"><code>f658fbf</code></a>
docs: changelog for v1.5.0 (<a
href="https://redirect.github.com/shopspring/decimal/issues/455">#455</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/b2609858efe06dcfd25d4ecdec1a80531856d4d6"><code>b260985</code></a>
ci: test on Go 1.26 and 1.27 instead of 1.22 and 1.23 (<a
href="https://redirect.github.com/shopspring/decimal/issues/454">#454</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/d25658fa8de1d9ace7cc9f068f7469f9e44ec581"><code>d25658f</code></a>
chore: lint with golangci-lint in CI instead of Go Report Card (<a
href="https://redirect.github.com/shopspring/decimal/issues/453">#453</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/fc257b4a95d135982828135d99f17b7f6075c13f"><code>fc257b4</code></a>
chore: split decimal.go into math.go and encoding.go (<a
href="https://redirect.github.com/shopspring/decimal/issues/452">#452</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/aed8543466e85124e50ef52648894a2d1b6c1cd7"><code>aed8543</code></a>
fix: RoundCash with a low DivisionPrecision and NullDecimal.Valid after
error...</li>
<li><a
href="https://github.com/shopspring/decimal/commit/811854c508d5eaf855afb2267e364498a985b2d0"><code>811854c</code></a>
perf: faster QuoRem, DivRound, Round, RoundBank, RoundUp, RoundCeil and
Round...</li>
<li><a
href="https://github.com/shopspring/decimal/commit/9b6d1186ce89d33fe37ae8f2785d83a4966f9ec1"><code>9b6d118</code></a>
perf: raise the ExpHullAbrham sum to its power by squaring (<a
href="https://redirect.github.com/shopspring/decimal/issues/450">#450</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/cc8953c6b309c7031dd45e91891ced6fbb0581da"><code>cc8953c</code></a>
perf: build trig constants once (<a
href="https://redirect.github.com/shopspring/decimal/issues/449">#449</a>)</li>
<li><a
href="https://github.com/shopspring/decimal/commit/84990cbfac3cfdada111489558da172cc40ce593"><code>84990cb</code></a>
perf: faster String, MarshalJSON and NewFromString; reject a sign after
the d...</li>
<li><a
href="https://github.com/shopspring/decimal/commit/71ebcfdcdf6d4a5e1751294ae667666273b03fe3"><code>71ebcfd</code></a>
Fix the scale of the small-input exponential result (<a
href="https://redirect.github.com/shopspring/decimal/issues/433">#433</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/shopspring/decimal/compare/v1.4.0...v1.5.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/shopspring/decimal&package-manager=go_modules&previous-version=1.4.0&new-version=1.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 17:39:10 +00:00
dependabot[bot] 62ea1fd422 chore: bump the x group across 1 directory with 8 updates (#30772)
Bumps the x group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.57.0` |
`0.58.0` |
| [golang.org/x/mod](https://github.com/golang/mod) | `0.41.0` |
`0.42.0` |
| [golang.org/x/net](https://github.com/golang/net) | `0.59.0` |
`0.60.0` |
| [golang.org/x/sync](https://github.com/golang/sync) | `0.23.0` |
`0.24.0` |
| [golang.org/x/sys](https://github.com/golang/sys) | `0.48.0` |
`0.49.0` |
| [golang.org/x/term](https://github.com/golang/term) | `0.46.0` |
`0.47.0` |
| [golang.org/x/text](https://github.com/golang/text) | `0.42.0` |
`0.43.0` |
| [golang.org/x/tools](https://github.com/golang/tools) | `0.50.0` |
`0.51.0` |


Updates `golang.org/x/crypto` from 0.57.0 to 0.58.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/crypto/commit/8fdf07b3114278fb3b78c1cf1814e08bd851eb4c"><code>8fdf07b</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="https://github.com/golang/crypto/commit/2437861a30358e949c7be3c9f876233fd28c20fe"><code>2437861</code></a>
salsa20: fix keystream reuse in LoongArch LSX tail</li>
<li><a
href="https://github.com/golang/crypto/commit/c3db4df58582058384d318c87f1c912848d8c464"><code>c3db4df</code></a>
acme: prefer test log helpers in test contexts</li>
<li><a
href="https://github.com/golang/crypto/commit/4e01a8447cadd21a75969d3db82ba6191202cebc"><code>4e01a84</code></a>
acme: adds support for profiles draft</li>
<li><a
href="https://github.com/golang/crypto/commit/8f0f1112abdbc13b6e53068b813cc327e40f2f9f"><code>8f0f111</code></a>
ssh: check that no Unicode-aware string function is used</li>
<li><a
href="https://github.com/golang/crypto/commit/b39ff6d641ecc5bb4b241737cb0c6b646f3e12a9"><code>b39ff6d</code></a>
ssh: add certificate algorithms for ML-DSA keys</li>
<li><a
href="https://github.com/golang/crypto/commit/4465db3225a5d7b6f86e015ad0a10ab81342aca1"><code>4465db3</code></a>
ssh: add the ML-DSA public key algorithms</li>
<li><a
href="https://github.com/golang/crypto/commit/83e695bb1a7ac85613745a2544464f652ddcffcf"><code>83e695b</code></a>
ssh: implement ETM mode for CBC ciphers</li>
<li><a
href="https://github.com/golang/crypto/commit/946083a5fb28da882ed9fa6eb561e000f47e3ee7"><code>946083a</code></a>
ssh: only drop a trailing carriage return</li>
<li><a
href="https://github.com/golang/crypto/commit/543dde943b04b875f2220324e0e9881be7d0092d"><code>543dde9</code></a>
ssh: accept known_hosts entries with a multi-word comment</li>
<li>Additional commits viewable in <a
href="https://github.com/golang/crypto/compare/v0.57.0...v0.58.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/mod` from 0.41.0 to 0.42.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/mod/commit/b5136e5ba156da612a1efc6e49b55988a134a5e0"><code>b5136e5</code></a>
sumdb/tlog: use recorded responses in TestCertificateTransparency</li>
<li><a
href="https://github.com/golang/mod/commit/1e9a5aeb397f5c4abf7aa1927d01575defde85d3"><code>1e9a5ae</code></a>
go.mod: update golang.org/x dependencies</li>
<li>See full diff in <a
href="https://github.com/golang/mod/compare/v0.41.0...v0.42.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/net` from 0.59.0 to 0.60.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/net/commit/18ece0ce30bc35fa81fe72028bf309bb3ff3f4a5"><code>18ece0c</code></a>
http2: prevent crash due to HPACK encoder race</li>
<li><a
href="https://github.com/golang/net/commit/2d03f9dcd22da1be6f645ddfd0541fd94d68e5db"><code>2d03f9d</code></a>
http2: avoid 2x refund on stream close with buffered data</li>
<li><a
href="https://github.com/golang/net/commit/cc7d34fd2dd5864bcafe3e5e0a84919240be98c0"><code>cc7d34f</code></a>
http2: avoid excessive work on initial window changes</li>
<li><a
href="https://github.com/golang/net/commit/57f4235f83712a299328015548240512213a3852"><code>57f4235</code></a>
http2: apply header limits to Trailer headers too</li>
<li><a
href="https://github.com/golang/net/commit/01e3d0338c2256320c59c863f9298e9544a99feb"><code>01e3d03</code></a>
http2: coalesce dials via wrapped Transport.RoundTrip</li>
<li><a
href="https://github.com/golang/net/commit/28247830e9fb37184c6be718f483a0c7d0949022"><code>2824783</code></a>
http2: delete malformed framing-related headers</li>
<li><a
href="https://github.com/golang/net/commit/b13c0c165994a0042e0c4a4d01e2b998097967c9"><code>b13c0c1</code></a>
internal/http3: delete HTTP/3 package</li>
<li><a
href="https://github.com/golang/net/commit/520c891fe60b2ffd4b4ee349d95cac4c1c0d9ee1"><code>520c891</code></a>
quic: off-path support in loss/congestion/rtt</li>
<li><a
href="https://github.com/golang/net/commit/656874fd46a65a97eac94003e0eb8751be4403d0"><code>656874f</code></a>
quic: determine local address for connections</li>
<li><a
href="https://github.com/golang/net/commit/a818e160ee8fbf01b12286ff806fab82f0ed764f"><code>a818e16</code></a>
quic: add a pathAddrs type, holding a local/peer address pair</li>
<li>Additional commits viewable in <a
href="https://github.com/golang/net/compare/v0.59.0...v0.60.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/sync` from 0.23.0 to 0.24.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/sync/commit/36f2d70ecde9857dc4e363242a1369c7645d6770"><code>36f2d70</code></a>
errgroup: modernize the usage of closures in goroutines</li>
<li>See full diff in <a
href="https://github.com/golang/sync/compare/v0.23.0...v0.24.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/sys` from 0.48.0 to 0.49.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/sys/commit/b6b8557e8e2974925aec7a136ba0e323eedc5f43"><code>b6b8557</code></a>
unix/linux: unify ppc64x syscall wrappers</li>
<li><a
href="https://github.com/golang/sys/commit/aab6988eff65f762ecf6b757c3571b8a45f40618"><code>aab6988</code></a>
unix: add PrctlArg5Ptr</li>
<li><a
href="https://github.com/golang/sys/commit/cdfd9840b35fca673dd1b27ef69a13b9f5be0d04"><code>cdfd984</code></a>
unix: pass fcntl data as unsafe.Pointer in FcntlF{lock,store} on
darwin</li>
<li><a
href="https://github.com/golang/sys/commit/782b836d3ae6ebda757c7b3800818e737c623614"><code>782b836</code></a>
unix/linux: don't warn about closed stderr from child process</li>
<li><a
href="https://github.com/golang/sys/commit/61592fb02e581c922feaf3d9ada8547488b70964"><code>61592fb</code></a>
unix: return syscall error in *listxattrNS on BSD</li>
<li><a
href="https://github.com/golang/sys/commit/c136fdad42c8b16318f29da74e73194c779ba862"><code>c136fda</code></a>
unix/linux/Dockerfile: update to Go 1.26.8</li>
<li><a
href="https://github.com/golang/sys/commit/f1d0d79251083d5d223af16c0d8c5207a355c627"><code>f1d0d79</code></a>
unix: pass xattr data as unsafe.Pointer in BSD xattr syscalls</li>
<li><a
href="https://github.com/golang/sys/commit/67f850b71cbdd0a9bb58e2c45cb487ab5a72f83f"><code>67f850b</code></a>
unix: update linux to v7.2</li>
<li><a
href="https://github.com/golang/sys/commit/eb1f6591861ee38df32e043d27508fd1effa4854"><code>eb1f659</code></a>
unix: add O_EXEC and O_SEARCH on darwin</li>
<li><a
href="https://github.com/golang/sys/commit/51bc73186f49d1a8f85b1fa28d0c14585ac812cd"><code>51bc731</code></a>
unix: add Mmsghdr for linux</li>
<li>Additional commits viewable in <a
href="https://github.com/golang/sys/compare/v0.48.0...v0.49.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/term` from 0.46.0 to 0.47.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/term/commit/0851034afad912733699827b3bb94436f059797f"><code>0851034</code></a>
go.mod: update golang.org/x dependencies</li>
<li>See full diff in <a
href="https://github.com/golang/term/compare/v0.46.0...v0.47.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/text` from 0.42.0 to 0.43.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/text/commit/ac40b0f06c159afb5bfca4d1860f8b4b60dbc160"><code>ac40b0f</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="https://github.com/golang/text/commit/6dcc5b674302d746762d908ed0e2ad65d84f36f1"><code>6dcc5b6</code></a>
unicode/bidi: avoid quadratic behavior in Paragraph.Order and
Paragraph.Line</li>
<li><a
href="https://github.com/golang/text/commit/d0ecd29e39d37c5647d8db9e2edb40d61b220e2a"><code>d0ecd29</code></a>
secure/bidirule: lazily precompute ASCII table</li>
<li>See full diff in <a
href="https://github.com/golang/text/compare/v0.42.0...v0.43.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `golang.org/x/tools` from 0.50.0 to 0.51.0
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/golang/tools/commit/ea2f152dc35325e4b9b639583972375972350a84"><code>ea2f152</code></a>
go.mod: update golang.org/x dependencies</li>
<li><a
href="https://github.com/golang/tools/commit/00443da123aa0b0f0729b6a72badabad7835b1d0"><code>00443da</code></a>
go/analysis/passes/printf: pin testdata Go versions</li>
<li><a
href="https://github.com/golang/tools/commit/9ba0a15b6ac31e1d2748917e6f219e1d98c7c4fa"><code>9ba0a15</code></a>
internal/refactor/inline: check import accessibility before Go
version</li>
<li><a
href="https://github.com/golang/tools/commit/25196fcc818e9cc69a8ff7e263f5f60183c46b4e"><code>25196fc</code></a>
cmd/toolstash: check -linkobj files to support early export</li>
<li><a
href="https://github.com/golang/tools/commit/ead0503d8e7d79d756adf531c515223974a10c51"><code>ead0503</code></a>
gopls/internal/golang: unexport dragon*Question variables</li>
<li><a
href="https://github.com/golang/tools/commit/5693030baf216af18b7756b08f6b6fa4a7e379b2"><code>5693030</code></a>
gopls/internal/golang: call arguments mistreated in inlineAllCalls</li>
<li><a
href="https://github.com/golang/tools/commit/134264d72fba423ca1ad358683cd3c32699b010e"><code>134264d</code></a>
gopls/internal/golang/stubmethods: do not panic when FindByPos
fails</li>
<li><a
href="https://github.com/golang/tools/commit/01d93d7fa1ae1cd76076088e56c42f7b4734e7b0"><code>01d93d7</code></a>
gopls/internal/golang: slay the dragon: update questions</li>
<li><a
href="https://github.com/golang/tools/commit/405de3911f7d546b09f02249f64c59b5fa3b5d53"><code>405de39</code></a>
go/callgraph: fix benchmarks to analyze whole program</li>
<li><a
href="https://github.com/golang/tools/commit/231a7fadf2aa68064ab7a5b5b01363fc3f25e127"><code>231a7fa</code></a>
go/ssa, cmd/deadcode: release type information once functions are
built</li>
<li>Additional commits viewable in <a
href="https://github.com/golang/tools/compare/v0.50.0...v0.51.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 17:37:25 +00:00
coder[bot] 69fab7de06 chore!: remove the coder_report_task MCP tool (#30742)
Coder Tasks have been removed from coder/coder, so the
`coder_report_task` MCP tool and the status reporting pipeline behind it
no longer do anything useful. This PR removes the tool and the code that
only existed to support it.

### Removed

- `codersdk/toolsdk`: `ToolNameReportTask`, `ReportTaskArgs`,
`ReportTask`, `Deps.report`, `WithTaskReporter`, and the `All` entry,
plus their tests.
- `coderd/mcp`: the remote MCP exclusion for `coder_report_task`.
- `coder exp mcp server`: the task reporter, the AgentAPI screen
watcher, the agent socket connection, and the `coder_report_task` skip
logic. The server now requires an authenticated user client, because
every remaining tool needs one.
- `coder exp mcp configure claude-code`: the
`mcp__coder__coder_report_task` allowed tool, the injected
`coder_report_task` CLAUDE.md prompt, the `report tasks properly`
history line, the default system prompt asking the agent to send task
status updates, and the `CODER_MCP_APP_STATUS_SLUG` /
`CODER_MCP_AI_AGENTAPI_URL` env written to the Claude MCP config.
- `cli/cliutil/queue.go`: only used by the reporter.
- `github.com/coder/agentapi-sdk-go` (and transitive `tmaxmax/go-sse`)
via `go mod tidy`.
- The "task reporting" mention in `docs/ai-coder/mcp-server.md`.

### Breaking: removed `coder exp` flags and env

`coder exp` is experimental. Any scripts that still pass these flags
will now fail with an unknown flag error. Env vars that are no longer
read are ignored.

| Command | Flag | Env |
|---|---|---|
| `coder exp mcp server` | `--app-status-slug` |
`CODER_MCP_APP_STATUS_SLUG` |
| `coder exp mcp server` | `--ai-agentapi-url` |
`CODER_MCP_AI_AGENTAPI_URL` |
| `coder exp mcp server` | `--socket-path` | `CODER_AGENT_SOCKET_PATH`
(still used by `coder agent` and `coder exp sync`) |
| `coder exp mcp configure claude-code` | `--claude-app-status-slug` |
`CODER_MCP_APP_STATUS_SLUG` |
| `coder exp mcp configure claude-code` | `--ai-agentapi-url` |
`CODER_MCP_AI_AGENTAPI_URL` |

`--claude-system-prompt` no longer has a default.

<details>
<summary>Intentionally kept</summary>

- **Workspace app status reporting** (`UpdateAppStatus` on the agent API
and agent socket, `agentsdk.PatchAppStatus` / `ProtoFromPatchAppStatus`,
the deprecated `PATCH /workspaceagents/me/app-status` endpoint): still
served by coderd and the agent and part of versioned protocols. With
this change, nothing in the CLI calls the agent socket `UpdateAppStatus`
client anymore. Removing it would need a separate protocol change.
- **`report_tasks` in
`coderd/templatebuilder/modules/{aider,amazon-q}`**: these catalog
entries mirror the input variables of pinned coder/registry module
versions, and the behavior lives in those modules. Dropping the variable
here would not disable it, because `amazon-q` defaults it to `true`. The
registry modules need a follow-up instead.
- **`UserClientOptional` on toolsdk tools**: other tools still set it,
and remote MCP still uses it.
- No CLI golden files or generated CLI docs changed, because `coder exp`
commands are hidden.

</details>

### Verification

- `go build ./...`
- `go test ./codersdk/toolsdk/... ./coderd/mcp/... ./cli/cliutil/...`
- `go test ./cli -run 'TestExpMcp|TestCommandHelp'`
- `golangci-lint run ./cli/... ./codersdk/toolsdk/... ./coderd/mcp/...`
(0 issues)

---

_Generated by Coder Agents._

Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
2026-10-14 16:34:56 +05:00
Michael Suchacz b2c8798e0e fix: replay stateless OpenAI reasoning across chat turns (#30298)
OpenAI Responses chats default to `store=false`, and chatd only replayed
reasoning as an `item_reference`, which needs provider-side storage.
Reasoning was therefore dropped between tool steps and turns, so
reasoning models lost their chain of thought mid-task.

This pins coder/fantasy `coder_2_33` at 6ba8681, which includes fantasy
#63 (and #64, #65, and #66). #63 captures each completed reasoning item
(ID, `encrypted_content`, summary) and replays it in full regardless of
`store`. In chatd:

- Every Responses call requests `reasoning.encrypted_content`. The
`store` default and configured includes are unchanged, and Chat
Completions requests are untouched.
- Prompt rebuilds keep reasoning parts without visible text when they
carry finalized encrypted state, so reasoning survives durable history
and coderd restarts.
- The provider-switch sanitizer also strips OpenAI reasoning from
history produced by a different or unknown provider instance, since
reasoning IDs and encrypted content only resolve where they were issued.
- A compaction model override on a different provider instance, or with
a different model, gets a compaction prompt without the chat's OpenAI
reasoning.
- Each saved reasoning part records the provider instance, model, and
credential (the deployment's or the user's personal API key) that
produced it, and the sanitizer keeps it only when all three match the
current turn, because another model, or the organization behind another
credential, can reject the encrypted content. Switching models, adding
or removing a personal key, or editing a config's model or provider
drops the earlier reasoning; switching back restores it. The record is
never returned by the API. Reasoning saved before this change has no
record and follows its model config.
- If OpenAI rejects replayed reasoning it cannot decrypt
(`invalid_encrypted_content`), for example after the deployment's key is
replaced with one from another organization, the request is retried once
without reasoning, and the reasoning that step produces is saved with
the provider's next rejection epoch. Epochs are kept separately for each
provider, model, and credential. Later steps and turns leave out
reasoning from earlier epochs, on any replica and after restarts, so
only the first request after the change is rejected and newer reasoning
keeps replaying. A retried step that returns no reasoning saves its
epoch on its first part. The advisor's prompt never includes OpenAI
reasoning, as on `main`.

## Testing

Rebased onto main at 98332c739b as 5735acb36ed (same tree as merging
the pre-rebase head a378071862a with main; older SHAs below refer to the
pre-rebase history). 3c17d807a33 then adds the model to the reasoning
record, 21156b2b32e pins Fantasy d55a867, which treats a response that
echoes `store: false` as unstored, bf795daa923 adds the retry and the
advisor change, 7eb8b1d029a moves the pin to 88cffb5 (`coder_2_33`
merged into #63; its OpenAI provider code is identical to d55a867), and
f4f40734a41 pins `coder_2_33` at 6ba8681 once #63 merged. That adds
fantasy #66, which replays the Responses message phase on assistant
text. abccede81f7 makes the retry remember rejected reasoning in the
process. The branch was then rebased onto main at abc2faed60, so every
SHA above refers to the pre-rebase history. 5fb3ce1689 replaces that
memory with the credential and a rejection epoch saved on each reasoning
part, and 62b5cb532a keeps epochs per provider, model, and credential
and saves the epoch when the retried step returns no reasoning.
1057beb327 hides the four internal fields from the Swagger spec and API
reference, and 29a705e099 merges main at d68b2c8b25. Its only
conflicts were the fantasy pin (kept at 6ba8681, whose `coder_2_33`
history includes main's 3510552) and test imports.

- Tests in `chatprompt`, `chatprovider`, `chatsanitize`, the
provider-switch sanitizer, and `integration_responses_test.go` cover
tool-step and durable replay, legacy and incomplete metadata, provider
switches, and a web search chat switching from `store=false` to
`store=true`. Integration tests also cover the retry, a later tool step
after it, the next turn on a fresh server against the same database
(with and without reasoning in the retried step), a personal key added
mid-chat, and the advisor prompt. Red-green verified, including a config
whose model is edited in place. The compaction override's model check
has unit tests and UAT coverage but no integration test. `go vet`,
targeted race tests, and the pre-commit hook (gen, fmt, lint, build)
pass. Local pre-push hooks were skipped; CI covers them.
- Remote UAT on dogfood with real gpt-5-mini and gpt-5.4 behind a
logging proxy that checks every request body. Rounds 1 and 2 failed on
dangling item references (both fixed). Rounds 3 to 5 passed
(ee3c0bf3d60, 0580870b5ff, a378071862a): tool-step and durable replay,
restarts, interrupts, provider switches and config repoints, web search
history, and compaction overrides. Both test providers shared one
upstream account, so cross-provider checks cover request shape, not a
real rejection. Round 6 at 21156b2b32e (model record) with gpt-5-mini
and gpt-5-nano: PASS. 151 Responses requests, all 200; no request
carried reasoning from a different model except an older, unrecorded
part that follows its config by design. Same-model config switches,
switching back, edits to a config's model, a mid-turn switch, restarts,
and a same-provider compaction override with a different model all
behaved as described. Round 7 at bf795daa923 (retry and advisor): PASS.
Through AI Gateway, a corrupted saved blob is rejected with HTTP 400
`invalid_encrypted_content`. All 14 rejected requests were retried once
without reasoning and returned 200, a different 400 was not retried, and
advisor requests on the chat model, a same-provider override, and
another provider carried no reasoning.
- f4f40734a41 changes only the pin. Its new OpenAI code is fantasy #66,
which UAT rounds 1 to 7 did not run. A live check of fantasy 6ba8681
through AI Gateway, two turns with tool calls on gpt-5.5 and gpt-5-mini
with `store` false and true: all 18 requests returned 200, and the
gpt-5.5 requests replayed encrypted reasoning followed by assistant
messages with the `commentary` and `final_answer` phases. `go test
./coderd/x/chatd/... ./codersdk/` passes (21 packages) on the same
fantasy tree.
- UAT round 8 at abccede81f7 (remembered rejection, and fantasy #66
through chatd) with gpt-5.5, gpt-5-mini, and gpt-5-nano: PASS. 110
requests; the 6 rejections were 5 corrupted saved blobs, each retried
once without reasoning and answered 200, and one unrelated `temperature`
error that was not retried. After the first rejection, later steps and
turns in that chat were never rejected again and replayed newer
reasoning. A coderd restart cost one more rejection, which also dropped
reasoning saved after the first one, and a second chat was unaffected.
gpt-5.5 requests replayed assistant messages with the phases the model
returned, with `store` false and true.
- UAT round 9 at 62b5cb532a (saved rejection epoch, personal key
switch) with gpt-5.5, gpt-5-mini, and gpt-5-nano: PASS. 158 Responses
and 7 Chat Completions requests; the 6 rejections were corrupted saved
blobs, each retried once without reasoning and answered 200, and an
unrelated `temperature` error was not retried. After a coderd restart,
and on a second coderd against the same database, the chat was not
rejected again and kept replaying the reasoning saved after the
rejection. Adding a personal key left out the deployment key's reasoning
before sending, and removing it brought that reasoning back. A retried
step without reasoning, two chats rejected at once, compaction, a model
switch after a rejection, and a switch to Chat Completions and back all
behaved as described.

## Review record

- Independent full-branch test audit at bbe1a1b27a: PASS.
- Codex through a378071862: compaction overrides kept foreign reasoning
and configs could be repointed to another provider (both fixed); a
request for documentation TODOs and two behaviors that already exist on
`main` (declined).
- Codex on 5735acb36e: two findings. Reasoning replayed after a
same-provider model switch: fixed in 3c17d807a33. A provider's base URL
edited in place keeps its reasoning: covered by the retry in
bf795daa923.
- Codex on 21156b2b32, bf795daa92, and 7eb8b1d029: no major issues.
Codex on f4f40734a4: rejected reasoning stayed in the chat's history, so
each later request in that chat was rejected and retried again without
any reasoning. Fixed in abccede81f7. Codex on abccede81f: that memory
was lost on a restart or another replica, where the next rejection also
dropped newer reasoning, and it grew without bound. Fixed in
5fb3ce1689. Codex on 5fb3ce1689: a rejection advanced the epoch for
every model and credential on the provider, and a retried step without
reasoning lost the new epoch. Both fixed in 62b5cb532a. Codex on
62b5cb532a: keep reasoning out of a config switched from Responses to
Chat Completions (declined: the Chat Completions converter already skips
reasoning parts, confirmed with a probe test). Codex on 29a705e099: no
major issues.
- ethanndickson: retry without reasoning on `invalid_encrypted_content`,
and keep OpenAI reasoning out of the advisor prompt. Both fixed in
bf795daa923. Then: in-process memory is not enough because dogfood
restarts on every merge and runs several replicas. Fixed in 5fb3ce1689
with his proposed rejection epoch in chat history, plus the credential
record, and tested with the next turn on a fresh server. Then: hide the
internal fields from Swagger, fixed in 1057beb327. Approved on
62b5cb532a.
- coder/fantasy#63 review: honoring an echoed `store: false` is fixed in
d55a867; replaying web searches that had no preceding reasoning is a
pre-existing gap, tracked in #30528.
- CI on 5735acb36ed: green after rerunning two failures outside this
change (a `cli` `TestSSH` data race, and a `test-go-pg` job timeout that
also fails on `main`). CI on 21156b2b32e: all checks pass. CI on
bf795daa923: all checks pass. CI on 7eb8b1d029a: all checks pass. CI on
f4f40734a41: all checks pass. CI on abccede81f7 did not run, because the
branch conflicted with `main` (#30492 changed the provider-switch
sanitizer to return database errors). CI on 62b5cb532a: all checks
pass. CI on 29a705e099: all checks pass.

> Xum, an AI coding agent, implemented, tested, and opened this PR on
behalf of @ibetitsmike.
2026-10-13 13:49:12 +02:00
Michael Suchacz 41f5caafec fix: fold web searches, answer reasoning, and OpenAI narration into working blocks (#30529) 2026-10-12 22:53:07 +02:00
dependabot[bot] c6efb00eb6 chore: bump google.golang.org/api from 0.299.0 to 0.300.0 (#30410)
Bumps
[google.golang.org/api](https://github.com/googleapis/google-api-go-client)
from 0.299.0 to 0.300.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/releases">google.golang.org/api's
releases</a>.</em></p>
<blockquote>
<h2>v0.300.0</h2>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.299.0...v0.300.0">0.300.0</a>
(2026-10-01)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3744">#3744</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/2d9e29d7b319dc580bd38e14a819c6e12bad1174">2d9e29d</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3746">#3746</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/01bb782ba9c9a0b062538d5a2a9131ce71dfe25c">01bb782</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3750">#3750</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/575855b060634f045ea4b5c2c49d8cb0faad171b">575855b</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3751">#3751</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/ec13a0cd76ecc7fede8932d040a3156804515da9">ec13a0c</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3752">#3752</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/d53cb5694522a5278dc83f2b1e7891b4a604fe24">d53cb56</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md">google.golang.org/api's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/googleapis/google-api-go-client/compare/v0.299.0...v0.300.0">0.300.0</a>
(2026-10-01)</h2>
<h3>Features</h3>
<ul>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3744">#3744</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/2d9e29d7b319dc580bd38e14a819c6e12bad1174">2d9e29d</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3746">#3746</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/01bb782ba9c9a0b062538d5a2a9131ce71dfe25c">01bb782</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3750">#3750</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/575855b060634f045ea4b5c2c49d8cb0faad171b">575855b</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3751">#3751</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/ec13a0cd76ecc7fede8932d040a3156804515da9">ec13a0c</a>)</li>
<li><strong>all:</strong> Auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3752">#3752</a>)
(<a
href="https://github.com/googleapis/google-api-go-client/commit/d53cb5694522a5278dc83f2b1e7891b4a604fe24">d53cb56</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/2993f883ffae44327f6808b2dee174f742ee9dfd"><code>2993f88</code></a>
chore(main): release 0.300.0 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3745">#3745</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/d53cb5694522a5278dc83f2b1e7891b4a604fe24"><code>d53cb56</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3752">#3752</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/ec13a0cd76ecc7fede8932d040a3156804515da9"><code>ec13a0c</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3751">#3751</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/575855b060634f045ea4b5c2c49d8cb0faad171b"><code>575855b</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3750">#3750</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/5a36e0d3a1a5359993fdb1fb265301d97fff065c"><code>5a36e0d</code></a>
chore(all): update all (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3748">#3748</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/b281246fd8440bcc053ac2eb18f6866c3578e2a9"><code>b281246</code></a>
chore: add mod compatibility testing to google-api-go-client (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3749">#3749</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/01bb782ba9c9a0b062538d5a2a9131ce71dfe25c"><code>01bb782</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3746">#3746</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/2d9e29d7b319dc580bd38e14a819c6e12bad1174"><code>2d9e29d</code></a>
feat(all): auto-regenerate discovery clients (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3744">#3744</a>)</li>
<li><a
href="https://github.com/googleapis/google-api-go-client/commit/3df4ec84e2734145e1bb6b4b900ba0cac9b13c0e"><code>3df4ec8</code></a>
chore: embargo generation of readerrevenuesubscriptionlinking:v1 (<a
href="https://redirect.github.com/googleapis/google-api-go-client/issues/3743">#3743</a>)</li>
<li>See full diff in <a
href="https://github.com/googleapis/google-api-go-client/compare/v0.299.0...v0.300.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=google.golang.org/api&package-manager=go_modules&previous-version=0.299.0&new-version=0.300.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 11:32:00 +00:00
dependabot[bot] 10c5009e7a chore: bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from 0.71.0 to 0.72.0 (#30409)
Bumps
[go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib)
from 0.71.0 to 0.72.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md">go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's
changelog</a>.</em></p>
<blockquote>
<h2>[1.47.0/2.6.0/0.72.0/0.38.0/0.27.0/0.21.0/0.17.0/0.19.0] -
2026-10-03</h2>
<h3>Added</h3>
<ul>
<li>Add <code>NewResourceDetectorWithOptions</code> and the
<code>WithAWSLogger</code> option to
<code>go.opentelemetry.io/contrib/detectors/aws/ec2/v2</code>, allowing
a custom AWS SDK <code>logging.Logger</code> to be supplied to the EC2
resource detector. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9132">#9132</a>)</li>
<li>Add <code>go.opentelemetry.io/contrib/detectors/openshift</code>, a
new resource detector for OpenShift 4 clusters, ported from
<code>processor/resourcedetectionprocessor/internal/openshift</code> in
<code>opentelemetry-collector-contrib</code>. Detects
<code>k8s.cluster.name</code>, and <code>cloud.provider</code>,
<code>cloud.platform</code> and <code>cloud.region</code> for clusters
running on AWS, Google Cloud and IBM Cloud; Azure clusters report
<code>cloud.provider</code> and <code>cloud.platform</code> only. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9499">#9499</a>)</li>
<li>Add <code>go.opentelemetry.io/contrib/detectors/kubeadm</code>, a
new resource detector for kubeadm-provisioned Kubernetes clusters,
ported from
<code>processor/resourcedetectionprocessor/internal/kubeadm</code> in
<code>opentelemetry-collector-contrib</code>. Detects
<code>k8s.cluster.name</code> from the <code>ClusterConfiguration</code>
document in the <code>kube-system/kubeadm-config</code> ConfigMap and
<code>k8s.cluster.uid</code> from the <code>kube-system</code> namespace
UID. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9500">#9500</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Client metrics in
<code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>
no longer include attributes from the server-side <code>Labeler</code>,
preventing attributes such as <code>http.route</code> from leaking into
outbound requests.
This is a breaking change for applications that use
<code>ContextWithLabeler</code> to add custom client metric attributes:
use <code>ContextWithClientLabeler</code> /
<code>ClientLabelerFromContext</code> or the
<code>WithMetricAttributesFn</code> option instead.
Server-side use of <code>ContextWithLabeler</code> /
<code>LabelerFromContext</code> is unchanged. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/8924">#8924</a>)</li>
<li>Stop emitting the legacy <code>http.read_bytes</code> and
<code>http.wrote_bytes</code> attributes on the per-operation span
events enabled by <code>WithMessageEvents</code> in
<code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>.
The <code>read</code> and <code>write</code> events remain, while total
body sizes continue to be recorded on the server span as
<code>http.request.body.size</code> and
<code>http.response.body.size</code> according to HTTP semantic
conventions. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9624">#9624</a>)</li>
</ul>
<h3>Deprecated</h3>
<ul>
<li>Deprecate
<code>go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9707">#9707</a>)</li>
<li>Deprecate <code>go.opentelemetry.io/contrib/propagators/aws</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9706">#9706</a>)</li>
<li>Deprecate
<code>go.opentelemetry.io/contrib/samplers/probability/consistent</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9633">#9633</a>)</li>
<li>Deprecate <code>ReadBytesKey</code>, <code>ReadErrorKey</code>,
<code>WroteBytesKey</code>, and <code>WriteErrorKey</code> in
<code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>.
The identifiers remain available and their values are unchanged, but
<code>WithMessageEvents</code> no longer emits
<code>http.read_bytes</code> or <code>http.wrote_bytes</code>.
There is no semantic-convention replacement for per-read or per-write
byte counts or the human-readable error fields.
Use <code>HTTPRequestBodySizeKey</code> and
<code>HTTPResponseBodySizeKey</code> from
<code>go.opentelemetry.io/otel/semconv/v1.43.0</code> to record total
body sizes on the span.
If an error causes the HTTP request to fail, set the span status to
Error and record <code>ErrorType(err)</code> from
<code>go.opentelemetry.io/otel/semconv/v1.43.0</code> on the span. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9624">#9624</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Treat empty Prometheus exporter environment variable values as unset
in <code>go.opentelemetry.io/contrib/exporters/autoexport</code>,
restoring the documented defaults. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9636">#9636</a>)</li>
<li>Bound converter-owned recursive map, slice, array, and pointer
traversal in <code>go.opentelemetry.io/contrib/bridges/otellogr</code>,
<code>go.opentelemetry.io/contrib/bridges/otellogrus</code>,
<code>go.opentelemetry.io/contrib/bridges/otelslog</code>, and
<code>go.opentelemetry.io/contrib/bridges/otelzap</code>.
A field requiring more than 100 such levels is replaced with
<code>&lt;max-depth-exceeded&gt;</code> and the record continues to be
emitted. Existing <code>fmt</code> and user-method behavior remains
unchanged. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9691">#9691</a>)</li>
<li>Format span attributes in
<code>go.opentelemetry.io/contrib/zpages</code> using
<code>attribute.Value.String</code> instead of the deprecated
<code>attribute.Value.Emit</code>, following the OpenTelemetry AnyValue
representation for non-OTLP protocols. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9453">#9453</a>)</li>
<li>Set <code>error.type</code> on the span and on the request-duration,
request-body-size, and response-body-size metrics when a client
disconnects mid-request in
<code>go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin</code>,
using the request context's cancellation error as the classification
source when the handler has not already recorded an error via
<code>c.Error</code>. Previously a disconnect was recorded with span
status <code>Error</code> and no <code>error.type</code>,
indistinguishable from a genuine server fault. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9394">#9394</a>)</li>
<li>Report Prometheus metrics HTTP server errors in
<code>go.opentelemetry.io/contrib/otelconf</code> when using the
<code>v0.2.0</code> configuration schema.
The error check was inverted, so a clean shutdown
(<code>http.ErrServerClosed</code>) was reported as unexpected while
real <code>Serve</code> errors were ignored. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9653">#9653</a>)</li>
<li>Fix temporary file cleanup for multipart requests in
<code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>
by copying the parsed multipart form back to the original request during
deferred cleanup, preserving <code>net/http</code> cleanup during panic
unwinding for HTTP/2 panic handling and outer recovery middleware paths.
Unrecovered HTTP/1 handler panics remain uncleaned because
<code>net/http</code> skips <code>finishRequest</code> in that path. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9685">#9685</a>)</li>
<li>Fix <code>http.client.request.body.size</code> recording for
streaming request bodies in
<code>go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/8684">#8684</a>)</li>
<li>Bound Kubernetes ConfigMap requests in
<code>go.opentelemetry.io/contrib/detectors/aws/eks</code> with a
10-second timeout so <code>Detect</code> cannot hang indefinitely when
the caller-provided context has no deadline. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9419">#9419</a>)</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Drop support for [Go 1.25]. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9584">#9584</a>)</li>
<li>Remove
<code>go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho</code>.
Use <code>github.com/labstack/echo-opentelemetry</code> instead. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9613">#9613</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/0c76f6137a2ceea80984d55e3de165924d823f71"><code>0c76f61</code></a>
Release v1.47.0/v2.6.0/v0.72.0/v0.38.0/v0.27.0/v0.21.0/v0.17.0/v0.19.0
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9802">#9802</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/318f5f91d789469a87f062b28e41c6ebbdffb220"><code>318f5f9</code></a>
Add timeout on Kubernetes API calls for EKS detector (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9419">#9419</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/f848a156d803093fa063b014281d6358618268eb"><code>f848a15</code></a>
test(detector/ecs): increase unit test coverage (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9774">#9774</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/c0d84debea84819d97ccf3eecad081211da5ad62"><code>c0d84de</code></a>
Restore gofumpt clothe-returns and balance-calls (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9793">#9793</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/6215054285946acefefe815587f9edfa490ebf43"><code>6215054</code></a>
fix(deps): update aws-sdk-go-v2 monorepo (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go-contrib/issues/9785">#9785</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/9a2e8ea28ea8034baa11dec82d7b32ac70133845"><code>9a2e8ea</code></a>
fix(deps): update kubernetes monorepo to v0.37.1</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/3d8e3382db254dc604659d3d6716b62da0b2f420"><code>3d8e338</code></a>
chore(deps): update sigs.k8s.io/json digest to 11ed52e</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/be5b68808a1a120b6a2960ede4f89d113798476d"><code>be5b688</code></a>
chore(deps): update go-openapi packages</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/e382b4d621b97497e615ff5440e2400877f1f748"><code>e382b4d</code></a>
chore(deps): update module github.com/fxamacker/cbor/v2 to v2.9.4</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/commit/97f9e880dd52afe9fcab08036936bf3233590a83"><code>97f9e88</code></a>
fix(deps): update module github.com/moby/moby/client to v0.6.1</li>
<li>Additional commits viewable in <a
href="https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.71.0...zpages/v0.72.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp&package-manager=go_modules&previous-version=0.71.0&new-version=0.72.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-06 11:29:39 +00:00
Sas Swart bcb981b839 chore: bump github.com/coder/boundary to v0.11.0 (#30083)
Bumps `github.com/coder/boundary` from v0.10.0 to
[v0.11.0](https://github.com/coder/boundary/releases/tag/v0.11.0). No
transitive dependency changes.

boundary v0.11.0 wraps the `--session-id-inject-target` format and
example in backticks, so:

- The `coder agent-firewall` help golden and
`docs/reference/cli/agent-firewall.md` are regenerated.
- The temporary `<host>`/`<glob>` entry for that page in
`scripts/docshtmlcheck`'s `allowedUnknownTags` is now stale (the
linter's self-clearing guard fails on it), so it is removed. The
allowlist is now passed into `filterAllowed`/`reportFindings` so the
tests use their own fixture instead of depending on the real, now-empty
map.

> Generated by Coder Agents on behalf of @SasSwart.
2026-09-29 17:00:27 +02:00
Thomas Kosiewski 84fe2dda92 feat: add per-user experiment rule evaluator (#29869)
Slice 1 of 4 for runtime experiment rules: adds an internal evaluator
that decides whether an experiment is enabled for a given user, based on
a stored rule and that user's attributes. The package has no storage,
API, or callers yet, so behavior does not change.

## What's in it

- `coderd/experiments`: `Evaluator` with `New(logger, store, static)`,
`Enabled(ctx, userID, ex)` and `EnabledExperiments(ctx, userID)`. It
also adds the `Store` interface, the `Rule`/`StoredRule`/`User` models
and `ValidateRule`.
- Rule modes: `inherit` (use the startup `--experiments` default), `on`,
`off` (a kill switch that wins over a static on), and `condition` (a CEL
expression over `user.id`, `user.username`, `user.email`, `user.roles`,
`user.organizations`, `user.groups`).
- **Fail closed:** the decision is off for a rules-read error, a
malformed rule (including a stored revision below 1) or unknown mode, a
failed attribute load, a compile or eval error, a cost overrun, a
cancelled context, or a `uuid.Nil` subject. This holds even when the
experiment is enabled statically. `New` rejects a nil store, so there is
no fallback.
- **Diagnostics:** only errors returned to the caller carry full CEL
diagnostics. Logs record the experiment, revision, error category and
line:column, never condition text or CEL message text.
- Limits: 4096 code points, cost limit 10,000, and evaluation stops when
the context is cancelled. Compiled programs go in a bounded,
concurrency-safe cache keyed by exact source text. Decisions are never
cached.
- `codersdk.ExperimentsUserScoped = {example}`. Only experiments listed
there accept rules.
- `coderd/experiments/experimentstest`: a fake `Store` for tests.

## Dependency

Adds `cel.dev/cel-go v0.32.0` (plus indirect `antlr4-go/antlr/v4
v4.13.1`). `cel.dev/cel-go` is the module path that
`github.com/google/cel-go` now declares. GHSA-gcjh-h69q-9w9g
(GO-2026-6094) is fixed in 0.29.0. `govulncheck
./coderd/experiments/...` reports nothing against either new module. Its
remaining findings are go1.26.5 standard-library issues, fixed in
go1.26.6, plus existing dependencies, and they show up on unrelated
packages too.

## Stack

1. **This PR:** evaluator library
2. Storage and audit types (`site_configs` rows, revisions, `WriteRule`)
3. Enforcement and discovery (`/api/v2/experiments`, meta tag, chatd
`mcp-tool-search`, ruleguard)
4. Control plane (experimental API, `coder exp experiment-rules` CLI,
docs)

Remote dogfood UAT through Coder Agents passed. `/api/v2/experiments` is
unchanged for admin and member with and without `--experiments=example`,
and the package tests pass with and without `-race`.

> [!NOTE]
> This PR was written by an AI agent (Xum).

---
_Generated with [`xum`](https://github.com/coder/xum) • Model:
`anthropic:claude-opus-5-5` • Thinking: `high`_

---------

Signed-off-by: Thomas Kosiewski <tk@coder.com>
2026-09-29 12:22:59 +00:00
dependabot[bot] d798ce4e5b chore: bump cloud.google.com/go/compute/metadata from 0.9.1 to 0.10.0 (#30089)
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cloud.google.com/go/compute/metadata&package-manager=go_modules&previous-version=0.9.0&new-version=0.10.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-29 11:34:58 +00:00