Skip to content

Expose go env variables as action outputs - #791

Merged
v-HarithaVattikuti merged 3 commits into
actions:mainfrom
v-mahabaleshwars:feature/54-go-env-outputs
Sep 18, 2026
Merged

v-HarithaVattikuti merged 3 commits into
actions:mainfrom
v-mahabaleshwars:feature/54-go-env-outputs

Conversation

@v-mahabaleshwars

Copy link
Copy Markdown
Contributor

Description:
Exposes the most commonly needed go env variables as action outputs, so workflows can reference them directly.

Related issue:
#54

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@v-mahabaleshwars
v-mahabaleshwars requested a review from a team as a code owner September 18, 2026 07:39
Copilot AI lite review requested due to automatic review settings September 18, 2026 07:39

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The implementation, documentation, and tests are consistent and correctly expose the requested Go environment values as action outputs without introducing risky behavior changes.

Pull request overview

This PR enhances the actions/setup-go action by exposing a curated set of go env values as step outputs, allowing workflows to reference common Go paths and target information without running extra shell steps.

Changes:

  • Add go env -json parsing and export selected Go environment values as action outputs (including a computed go-bin-path fallback).
  • Define new output keys in src/constants.ts and document them in action.yml and docs/advanced-usage.md.
  • Add unit tests for the new parsing/output behavior and extend CI workflow to print the outputs across OSes.
File summaries
File Description
src/main.ts Reads go env -json and publishes selected values as action outputs.
src/constants.ts Adds new Outputs enum entries for Go environment outputs.
docs/advanced-usage.md Documents the new outputs, their meaning, and version requirements.
action.yml Declares the new outputs for consumers of the action.
.github/workflows/versions.yml Adds a workflow job to display the new outputs on Linux/macOS/Windows.
tests/setup-go.test.ts Adds tests for go env -json parsing and output setting behavior.
dist/setup/index.js Updates compiled distribution with new output constants and logic.
dist/cache-save/index.js Updates compiled distribution output constants (enum expansion).
Review details
  • Files reviewed: 6/8 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@v-mahabaleshwars v-mahabaleshwars self-assigned this Sep 18, 2026
@v-HarithaVattikuti
v-HarithaVattikuti merged commit e626ada into actions:main Sep 18, 2026
130 checks passed
eleboucher pushed a commit to eleboucher/runner-k8s-plugin that referenced this pull request Nov 20, 2026
This PR contains the following updates:

| Package | Type | Update | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|---|---|
| [actions/setup-go](https://github.com/actions/setup-go) | action | minor | `v7.0.0` → `v7.1.0` | ![age](https://developer.mend.io/api/mc/badges/age/github-tags/actions%2fsetup-go/v7.1.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-tags/actions%2fsetup-go/v7.0.0/v7.1.0?slim=true) |
| [code.forgejo.org/forgejo/runner/v13](https://code.forgejo.org/forgejo/runner) | require | patch | `v13.2.0` → `v13.2.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/code.forgejo.org%2fforgejo%2frunner%2fv13/v13.2.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/code.forgejo.org%2fforgejo%2frunner%2fv13/v13.2.0/v13.2.2?slim=true) |
| [data.forgejo.org/forgejo/runner](https://forgejo.org) ([source](https://code.forgejo.org/forgejo/runner)) |  | patch | `13.2.0` → `13.2.2` | ![age](https://developer.mend.io/api/mc/badges/age/docker/data.forgejo.org%2fforgejo%2frunner/13.2.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/docker/data.forgejo.org%2fforgejo%2frunner/13.2.0/13.2.2?slim=true) |
| [go](https://go.dev/) ([source](https://github.com/golang/go)) | toolchain | patch | `1.27.1` → `1.27.4` | ![age](https://developer.mend.io/api/mc/badges/age/golang-version/go/1.27.4?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/golang-version/go/1.27.1/1.27.4?slim=true) |
| [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | uses-with | minor | `v2.13.2` → `v2.15.0` | ![age](https://developer.mend.io/api/mc/badges/age/github-releases/golangci%2fgolangci-lint/v2.15.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/github-releases/golangci%2fgolangci-lint/v2.13.2/v2.15.0?slim=true) |
| [google.golang.org/grpc](https://github.com/grpc/grpc-go) | require | minor | `v1.84.0` → `v1.85.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/google.golang.org%2fgrpc/v1.85.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/google.golang.org%2fgrpc/v1.84.0/v1.85.0?slim=true) |
| [k8s.io/api](https://github.com/kubernetes/api) | require | patch | `v0.37.1` → `v0.37.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fapi/v0.37.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fapi/v0.37.1/v0.37.2?slim=true) |
| [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) | require | patch | `v0.37.1` → `v0.37.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fapimachinery/v0.37.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fapimachinery/v0.37.1/v0.37.2?slim=true) |
| [k8s.io/client-go](https://github.com/kubernetes/client-go) | require | patch | `v0.37.1` → `v0.37.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fclient-go/v0.37.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fclient-go/v0.37.1/v0.37.2?slim=true) |
| [k8s.io/kubectl](https://github.com/kubernetes/kubectl) | require | patch | `v0.37.1` → `v0.37.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fkubectl/v0.37.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fkubectl/v0.37.1/v0.37.2?slim=true) |
| [k8s.io/streaming](https://github.com/kubernetes/streaming) | require | patch | `v0.37.1` → `v0.37.2` | ![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fstreaming/v0.37.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fstreaming/v0.37.1/v0.37.2?slim=true) |

---

### Release Notes

<details>
<summary>actions/setup-go</summary>

### [`v7.1.0`](https://github.com/actions/setup-go/releases/tag/v7.1.0)

[Compare Source](actions/setup-go@v7.0.0...v7.1.0)

##### What's Changed

##### Enhancements

- Expose go env variables as action outputs by [@&#8203;v-mahabaleshwars](https://github.com/v-mahabaleshwars) in [#&#8203;791](actions/setup-go#791)
- Preserve native Go environment names in action outputs by [@&#8203;v-mahabaleshwars](https://github.com/v-mahabaleshwars) in [#&#8203;793](actions/setup-go#793)
- Add support for native Go version syntax in go-version input by [@&#8203;v-jitenderpalsingh](https://github.com/v-jitenderpalsingh) in [#&#8203;804](actions/setup-go#804)
- Add support for rc and beta versions in go.mod file by [@&#8203;arnested](https://github.com/arnested) in [#&#8203;701](actions/setup-go#701)
- Clarify description of go-bin-path output and its fallback behavior by [@&#8203;v-mahabaleshwars](https://github.com/v-mahabaleshwars) in [#&#8203;803](actions/setup-go#803)
- Group verbose Go installation logs and normalize package.json line endings by [@&#8203;v-priyagupta108](https://github.com/v-priyagupta108) in [#&#8203;789](actions/setup-go#789)

##### Dependency updates

- Bump js-yaml from 3.15.1 to 3.15.2 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;790](actions/setup-go#790)
- Bump [@&#8203;actions/cache](https://github.com/actions/cache) to 6.3.0 by [@&#8203;qmuntal](https://github.com/qmuntal) in [#&#8203;794](actions/setup-go#794)
- Bump handlebars from 4.7.9 to 4.7.10 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;802](actions/setup-go#802)
- Bump nock from 14.0.15 to 14.0.17 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;767](actions/setup-go#767)
- Bump [@&#8203;typescript-eslint/parser](https://github.com/typescript-eslint/parser) from 8.62.0 to 8.72.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;777](actions/setup-go#777)
- Bump undici from 6.28.0 to 6.29.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;807](actions/setup-go#807)
- Bump eslint-plugin-jest from 29.15.2 to 29.17.0 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;776](actions/setup-go#776) 

- Bump [@&#8203;typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) from 8.62.0 to 8.72.1 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;778](actions/setup-go#778)
- Bump prettier from 3.8.4 to 3.9.10 by [@&#8203;dependabot](https://github.com/dependabot) in [#&#8203;775](actions/setup-go#775)
- Bump package version to 7.1.0 by [@&#8203;v-priyagupta108](https://github.com/v-priyagupta108) in [#&#8203;818](actions/setup-go#818)
- fix: resolve audit/license failures by [@&#8203;v-HarithaVattikuti](https://github.com/v-HarithaVattikuti) in [#&#8203;784](actions/setup-go#784)
- Upgrade checkout refs and docs to v7 by [@&#8203;v-HarithaVattikuti](https://github.com/v-HarithaVattikuti) in [#&#8203;779](actions/setup-go#779)
- fix: update macOS runner configuration to use macOS 15 Intel by [@&#8203;v-priya-kinthali](https://github.com/v-priya-kinthali) in [#&#8203;786](actions/setup-go#786)

##### New Contributors

- [@&#8203;qmuntal](https://github.com/qmuntal) made their first contribution in [#&#8203;794](actions/setup-go#794)
- [@&#8203;v-jitenderpalsingh](https://github.com/v-jitenderpalsingh) made their first contribution in [#&#8203;804](actions/setup-go#804)
- [@&#8203;arnested](https://github.com/arnested) made their first contribution in [#&#8203;701](actions/setup-go#701)

**Full Changelog**: <actions/setup-go@v7.0.0...v7.1.0>

</details>

<details>
<summary>forgejo/runner (code.forgejo.org/forgejo/runner/v13)</summary>

### [`v13.2.2`](https://code.forgejo.org/forgejo/runner/releases/tag/v13.2.2)

[Compare Source](https://code.forgejo.org/forgejo/runner/compare/v13.2.1...v13.2.2)

- [User guide](https://forgejo.org/docs/next/user/actions/overview/)
- [Administrator guide](https://forgejo.org/docs/next/admin/actions/)
- [Container images](https://code.forgejo.org/forgejo/-/packages/container/runner/versions)

Release Notes

***

<!--start release-notes-assistant-->

<!--URL:https://code.forgejo.org/forgejo/runner-->

- bug fixes
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1793): <!--number 1793 --><!--line 0 --><!--description Zml4OiBpc29sYXRlIGNhY2hlIHdyaXRlcyBvZiBwdWxsIHJlcXVlc3QgdHJpZ2dlcmVkIHJldXNhYmxlIHdvcmtmbG93cw==-->fix: isolate cache writes of pull request triggered reusable workflows<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1800): <!--number 1800 --><!--line 0 --><!--description Zml4OiB1cGRhdGUgbHhjLWhlbHBlcnMgdG8gdjEuMS40-->fix: update lxc-helpers to v1.1.4<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1786): <!--number 1786 --><!--line 0 --><!--description Zml4KGNpKTogaW5zdGFsbCBwcmUtY29tbWl0IHZpYSBhcHQ=-->fix(ci): install pre-commit via apt<!--description-->
- other
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1791): <!--number 1791 --><!--line 0 --><!--description dGVzdDogbWFrZSBsaW51eEJpbmQgdGVzdHMgcGFzcyBvbiBtYWNoaW5lcyB3aXRoIFNFTGludXg=-->test: make linuxBind tests pass on machines with SELinux<!--description-->

<!--end release-notes-assistant-->

### [`v13.2.1`](https://code.forgejo.org/forgejo/runner/releases/tag/v13.2.1)

[Compare Source](https://code.forgejo.org/forgejo/runner/compare/v13.2.0...v13.2.1)

- [User guide](https://forgejo.org/docs/next/user/actions/overview/)
- [Administrator guide](https://forgejo.org/docs/next/admin/actions/)
- [Container images](https://code.forgejo.org/forgejo/-/packages/container/runner/versions)

Release Notes

***

<!--start release-notes-assistant-->

<!--URL:https://code.forgejo.org/forgejo/runner-->

- other
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1765): <!--number 1765 --><!--line 0 --><!--description VXBkYXRlIGRlcGVuZGVuY3kgYnVpbGR4IHRvIHYwLjM3LjI=-->Update dependency buildx to v0.37.2<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1768): <!--number 1768 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL21vYnkvbW9ieS9jbGllbnQgdG8gdjAuNi4x-->Update module github.com/moby/moby/client to v0.6.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1766): <!--number 1766 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2RvY2tlci9jbGkgdG8gdjI5LjguMitpbmNvbXBhdGlibGU=-->Update module github.com/docker/cli to v29.8.2+incompatible<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1764): <!--number 1764 --><!--line 0 --><!--description VXBkYXRlIGRlcGVuZGVuY3kgZm9yZ2Vqby1ydW5uZXItc2VydmljZS15cSB0byB2NC41NC4x-->Update dependency forgejo-runner-service-yq to v4.54.1<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1763): <!--number 1763 --><!--line 0 --><!--description Y2hvcmU6IHdvcmthcm91bmQgaW50ZXJtaXR0ZW50IGRvY2tlciBlcnJvciBvbiBtdWx0aXBsYXRmb3JtIHRlc3Rz-->chore: workaround intermittent docker error on multiplatform tests<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1761): <!--number 1761 --><!--line 0 --><!--description Y2hvcmU6IHVwZ3JhZGUgdGVzdCBlbnZpcm9ubWVudCBmcm9tIGJvb2t3b3JtIC0+IHRyaXhpZQ==-->chore: upgrade test environment from bookworm -> trixie<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1760): <!--number 1760 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL2dvbGFuZ2NpL2dvbGFuZ2NpLWxpbnQvdjIvY21kL2dvbGFuZ2NpLWxpbnQgdG8gdjIuMTQuMA==-->Update module github.com/golangci/golangci-lint/v2/cmd/golangci-lint to v2.14.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1756): <!--number 1756 --><!--line 0 --><!--description Y2hvcmU6IHJlcXVpcmUgQUkgQWdyZWVtZW50IGNvbmZvcm1hbmNlIHN0YXRlbWVudCBmb3IgUFJz-->chore: require AI Agreement conformance statement for PRs<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1751): <!--number 1751 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb2xhbmcub3JnL3gvdGltZSB0byB2MC4xNi4w-->Update module golang.org/x/time to v0.16.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1752): <!--number 1752 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb29nbGUuZ29sYW5nLm9yZy9ncnBjIHRvIHYxLjg0LjA=-->Update module google.golang.org/grpc to v1.84.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1754): <!--number 1754 --><!--line 0 --><!--description VXBkYXRlIGh0dHBzOi8vZGF0YS5mb3JnZWpvLm9yZy9mb3JnZWpvL2Zvcmdlam8tYnVpbGQtcHVibGlzaCBhY3Rpb24gdG8gdjUuOC4w-->Update <https://data.forgejo.org/forgejo/forgejo-build-publish> action to v5.8.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1753): <!--number 1753 --><!--line 0 --><!--description VXBkYXRlIGh0dHBzOi8vZGF0YS5mb3JnZWpvLm9yZy9hY3Rpb25zL3NldHVwLWZvcmdlam8gYWN0aW9uIHRvIHYzLjIuNg==-->Update <https://data.forgejo.org/actions/setup-forgejo> action to v3.2.6<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1749): <!--number 1749 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnaXRodWIuY29tL3Zla3RyYS9tb2NrZXJ5L3YzIHRvIHYzLjguMA==-->Update module github.com/vektra/mockery/v3 to v3.8.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1748): <!--number 1748 --><!--line 0 --><!--description VXBkYXRlIGZvcmdlam8tcnVubmVyIHRvIHYxMy4yLjA=-->Update forgejo-runner to v13.2.0<!--description-->
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/1750): <!--number 1750 --><!--line 0 --><!--description VXBkYXRlIG1vZHVsZSBnb2xhbmcub3JnL3gvdGVybSB0byB2MC40Ni4w-->Update module golang.org/x/term to v0.46.0<!--description-->

<!--end release-notes-assistant-->

</details>

<details>
<summary>golangci/golangci-lint</summary>

### [`v2.15.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2150)

[Compare Source](golangci/golangci-lint@v2.14.0...v2.15.0)

*Released on 2026-10-16*

1. Linters new features or changes
   - `errcheck`: from 1.20.0 to 1.30.0
   - `exhaustive`: from 0.13.0 to 0.15.0 (⚠️ changes)
   - `gocognit`: from 1.2.1 to 1.3.0
   - `golines`: from 0.15.0 to 0.16.0
   - `govet-modernize`: from 0.50.0 to 0.52.0
   - `loggercheck`: from 0.12.0 to 0.13.0
   - `predeclared`: from 0.2.2 to 0.3.0
   - `wrapcheck`: from 2.12.0 to 2.13.0
2. Linters bug fixes
   - `bidichk`: from 0.3.3 to 0.3.4
   - `canonicalheader`: from [`a25c71c`](golangci/golangci-lint@a25c71c521f6) to [`e18e5c5`](golangci/golangci-lint@e18e5c5a078f)
   - `gofumpt`: improve deprecation logs
   - `gosec`: improve concurrency default value
   - `iface`: from 1.5.1 to 1.5.3
   - `paralleltest`: from 1.0.15 to 1.0.16
   - `revive`: from 1.17.0 to 1.17.1
   - `revive`: the rules `context-keys-type`, `errorf`, `modifies-value-receiver`, `range-val-address`, `string-of-int`, `time-equal`, `time-naming`, `unexported-return`, `unhandled-error`, `var-declaration` are working (less randomly).
   - `rowserrcheck`: from [`c5f79b8`](golangci/golangci-lint@c5f79b8a11ba) to [`e0740d5`](golangci/golangci-lint@e0740d52dee8)
   - `staticcheck`: from 0.8.1 to 0.8.2
3. Bug fixes
   - fix: compute custom version hash with module versions
   - fix: env vars loading (related to `revive`)

⚠️ Changes of the `exhaustive` linter:

- The replaced options still exists, and partially works, but they are deprecated.
- The options `explicit-exhaustive-switch` and `explicit-exhaustive-map` have been replaced by `explicit-exhaustive`.
- The `check` the value `map` has been replaced by `mapliteral`.
- The option `ignore-enum-members` (string) has been replaced by `ignore-constants` (slice).
- The option `ignore-enum-types` (string) has been replaced by `ignore-types` (slice).
- New report messages.
- The linter is a now a "slow" linter.

### [`v2.14.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v2140)

[Compare Source](golangci/golangci-lint@v2.13.2...v2.14.0)

*Released on 2026-09-24*

1. Bug fixes
   - fix: cache of facts reloading
2. Linters new features or changes
   - `bodyclose`: from [`73d1f95`](golangci/golangci-lint@73d1f95b84b4) to [`857993a`](golangci/golangci-lint@857993a2939c) (new directive `handled`)
   - `exhaustive`: from 0.12.0 to 0.13.0
   - `exhaustruct_v5`: from 5.0.3 to 5.2.0 (new option: `allow-empty-blank-assignments`)
   - `go-check-sumtype`: from 0.3.1 to [`ae6904d`](golangci/golangci-lint@ae6904d28606)
   - `gocritic`: from 0.14.4 to 0.15.0
   - `gofumpt`: from 0.11.0 to 0.12.0
   - `gomoddirectives`: from 0.9.0 to 0.10.0
   - `gosec`: from 2.28.0 to 2.29.0 (re-enable `G407`)
   - `govet-modernize`: from 0.49.0 to 0.50.0
   - `loggercheck`: from 0.11.0 to 0.12.0
   - `revive`: from 1.15.0 to 1.17.0 (new rules: `marshal-receiver`, `multiline-if-init`, `use-slices-concat`)
   - `tagliatelle`: from 0.7.2 to 0.8.0
3. Linters bug fixes
   - `fatcontext`: from 0.10.0 to 0.10.1
   - `flock`: from 0.13.0 to 0.13.1
   - `godoclint`: from 0.11.2 to 0.11.4
   - `protogetter`: from 0.3.21 to 1.0.1
   - `recvcheck`: from 0.3.0 to 0.3.1
   - `tagalign`: from 1.4.3 to 1.4.4

</details>

<details>
<summary>grpc/grpc-go (google.golang.org/grpc)</summary>

### [`v1.85.0`](https://github.com/grpc/grpc-go/releases/tag/v1.85.0): Release 1.85.0

[Compare Source](grpc/grpc-go@v1.84.0...v1.85.0)

### New Features

- stats: Expose the effective client authority (sent on the wire as the HTTP/2 `:authority` header) in client `stats.OutHeader` events. ([#&#8203;9296](grpc/grpc-go#9296))
  - Special Thanks: [@&#8203;aryansk](https://github.com/aryansk)
- metadata: Add `ValueFromOutgoingContext`, which reads a single metadata value from outgoing context without copying the entire outgoing metadata into a new map. ([#&#8203;9282](grpc/grpc-go#9282))
  - Special Thanks: [@&#8203;yuyangguo42](https://github.com/yuyangguo42)

### Bug Fixes

- transport: Refine control buffer throttling to only count peer-induced control frames, raise the default `GRPC_GO_EXPERIMENTAL_CONTROL_BUFFER_THROTTLE_LIMIT` from 100 to 10,000, and close client connections if reads remain throttled for `10s`. ([#&#8203;9563](grpc/grpc-go#9563))
- server: Ensure `Stop()` forcefully terminates the server while `GracefulStop()` is waiting for active handlers to complete. ([#&#8203;9394](grpc/grpc-go#9394))
  - Special Thanks: [@&#8203;stanhu](https://github.com/stanhu)
- server: Unconditionally increment the highest-seen stream ID on when handling `HEADERS` frames to comply with [RFC 7540 §5.1.1](https://www.rfc-editor.org/rfc/rfc7540.html#section-5.1.1). Previously, truncated `HEADERS` frames left the connection in an inconsistent state and allowed stream IDs to be reused by clients without resulting in a protocol error. ([#&#8203;9414](grpc/grpc-go#9414))
- server: Terminate streams immediately when a `HEADERS` frame includes the `EndStream` bit. Previously, this caused server handlers to hang when reading a message. ([#&#8203;9391](grpc/grpc-go#9391))
- server: Reject requests missing both `:authority` and `Host` headers with HTTP 400 and status `Internal`. ([#&#8203;9365](grpc/grpc-go#9365))
- xds: Fix a bug where route header matchers with non-lowercase names failed to match routes. ([#&#8203;9353](grpc/grpc-go#9353))
  - Special Thanks: [@&#8203;winklemad](https://github.com/winklemad)
- client: Ensure retried RPCs use the correct `:authority` value specified by the LB policy instead of inheriting it from a previous attempt. ([#&#8203;9277](grpc/grpc-go#9277))
  - Special Thanks: [@&#8203;nvxbug](https://github.com/nvxbug)
- transport: Fail streams with `io.ErrUnexpectedEOF` instead of `io.EOF` upon receiving truncated  message headers or bodies after partial data has already been received. ([#&#8203;9204](grpc/grpc-go#9204))
  - Special Thanks: [@&#8203;buger](https://github.com/buger)

</details>

<details>
<summary>kubernetes/api (k8s.io/api)</summary>

### [`v0.37.2`](kubernetes/api@v0.37.1...v0.37.2)

[Compare Source](kubernetes/api@v0.37.1...v0.37.2)

</details>

<details>
<summary>kubernetes/apimachinery (k8s.io/apimachinery)</summary>

### [`v0.37.2`](kubernetes/apimachinery@v0.37.1...v0.37.2)

[Compare Source](kubernetes/apimachinery@v0.37.1...v0.37.2)

</details>

<details>
<summary>kubernetes/client-go (k8s.io/client-go)</summary>

### [`v0.37.2`](kubernetes/client-go@v0.37.1...v0.37.2)

[Compare Source](kubernetes/client-go@v0.37.1...v0.37.2)

</details>

<details>
<summary>kubernetes/kubectl (k8s.io/kubectl)</summary>

### [`v0.37.2`](kubernetes/kubectl@v0.37.1...v0.37.2)

[Compare Source](kubernetes/kubectl@v0.37.1...v0.37.2)

</details>

<details>
<summary>kubernetes/streaming (k8s.io/streaming)</summary>

### [`v0.37.2`](kubernetes/streaming@v0.37.1...v0.37.2)

[Compare Source](kubernetes/streaming@v0.37.1...v0.37.2)

</details>

---

### Configuration

📅 **Schedule**: (in timezone Europe/Paris)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDQuMiIsInVwZGF0ZWRJblZlciI6IjQ0LjI0MC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJyZW5vdmF0ZS9naXRodWItYWN0aW9uIiwicmVub3ZhdGUvZ2l0aHViLXJlbGVhc2UiLCJ0eXBlL21pbm9yIiwidHlwZS9wYXRjaCJdfQ==-->

Reviewed-on: https://git.erwanleboucher.dev/eleboucher/runner-k8s-plugin/pulls/108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants