Repository navigation
distribution/docker: Use the compressed .dwps in the debug images - #49354
Merged
Merged
Conversation
The debug images took the `.dwp`s as llvm-dwp writes them, with their debug sections uncompressed (over 3GB for contrib, per arch), and each as a single blob in the remote cache. The compressed `.dwp`s, cached in parts (envoyproxy#49294), were only used by the release tarball, which the images are no longer built from (envoyproxy#49259) and `release.multiarch` does not build (envoyproxy#49331). Use them for the images too. Signed-off-by: Ryan Northey <[email protected]>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The debug-image packaging change has no active review issues blocking approval.
No open issues 🎉
What changed in this PR
Updates debug-image packaging to use the existing compressed DWARF packages, so published images receive compressed debug information without depending on the release tarball.
Changes:
- Points core and contrib debug images to their respective
-dwarf-joinedtargets. - Clarifies the build comment to describe compressed
.dwpdebug sections.
| File | Description |
|---|---|
distribution/docker/BUILD |
Selects compressed, reassembled DWARF packages for both debug images. |
Review effort: Balanced
phlax
marked this pull request as ready for review
November 17, 2026 14:06
phlax
enabled auto-merge (squash)
November 17, 2026 14:10
Member
Author
|
related context for this - debugging engflow - it has what was clear in debugging - you dont want |
jwendell
approved these changes
Nov 17, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. envoyproxy#49294 added the `.dwp`s with their debug sections compressed (zlib, which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. envoyproxy#49294 added the `.dwp`s with their debug sections compressed (zlib, which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. envoyproxy#49294 added the `.dwp`s with their debug sections compressed (zlib, which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. envoyproxy#49294 added the `.dwp`s with their debug sections compressed (zlib, which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. envoyproxy#49294 added the `.dwp`s with their debug sections compressed (zlib, which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. envoyproxy#49294 added the `.dwp`s with their debug sections compressed (zlib, which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. envoyproxy#49294 added the `.dwp`s with their debug sections compressed (zlib, which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. envoyproxy#49294 added the `.dwp`s with their debug sections compressed (zlib, which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
…voyproxy#49354) The debug images (`envoy-debug`, `envoy-contrib-debug`) took the `.dwp`s as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache. which the images' gdb 12 reads) and cached in parts (`//distribution:envoy-dwarf-joined`, `//distribution:envoy-contrib-dwarf-joined`), but only the release tarball (`//distribution/binary`) used them. The images are no longer built from that tarball (envoyproxy#49259), and `release.multiarch` does not build it (envoyproxy#49331), so nothing published had them. This points the images' `.dwp`s at the `-joined` targets, as the comment on the debug layers in this file already describes. Risk Level: low (the `.dwp` in the published debug images; the same file the release tarball has had since envoyproxy#49294) Testing: this PR's Publish (`release.multiarch`), against the postsubmit of its base (499b706), from the Bazel profiles: | | base | this PR | | --- | --- | --- | | `oci.x64` / `oci.arm64` artifacts | 4.10GB / 4.06GB | 3.29GB / 3.24GB | | Writing the `envoy-debug` layer (per arch) | 159s, 101s | 31s, 9s | | Writing the `envoy-contrib-debug` layer (per arch) | 121s, 96s | 29s, 25s | | OCI descriptor of the debug layers | 29-54s | 9-12s | | Compressing the `.dwp`s (new here, remote) | - | 101-118s | | Joining the parts (new here, local) | - | 7-20s | The compression runs whenever a `.dwp` changes, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the `.dwp`s were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB `.dwp` blob to fetch. Docs Changes: n/a Release Notes: n/a Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit 5e14399) Signed-off-by: Ryan Northey <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit Message: distribution/docker: Use the compressed .dwps in the debug images
Additional Description:
The debug images (
envoy-debug,envoy-contrib-debug) took the.dwps as llvm-dwp writes them: debug sections uncompressed (over 3GB for contrib, per arch), each a single blob in the remote cache.#49294 added the
.dwps with their debug sections compressed (zlib, which the images' gdb 12 reads) and cached in parts (//distribution:envoy-dwarf-joined,//distribution:envoy-contrib-dwarf-joined), but only the release tarball (//distribution/binary) used them. The images are no longer built from that tarball (#49259), andrelease.multiarchdoes not build it (#49331), so nothing published had them.This points the images'
.dwps at the-joinedtargets, as the comment on the debug layers in this file already describes.Risk Level: low (the
.dwpin the published debug images; the same file the release tarball has had since #49294)Testing: this PR's Publish (
release.multiarch), against the postsubmit of its base (499b706), from the Bazel profiles:oci.x64/oci.arm64artifactsenvoy-debuglayer (per arch)envoy-contrib-debuglayer (per arch).dwps (new here, remote)The compression runs whenever a
.dwpchanges, so it is not a critical path win by itself (bazel took 360s here, 443s on the base, where the.dwps were regenerated and here were not): the gain is the smaller images and layers, and no multi-GB.dwpblob to fetch.Docs Changes: n/a
Release Notes: n/a