Skip to content

distribution: Split the release .changes per distro locally - #49289

Merged
phlax merged 1 commit into
envoyproxy:mainfrom
phlax:distribution-changes-split-local
Nov 16, 2026
Merged

phlax merged 1 commit into
envoyproxy:mainfrom
phlax:distribution-changes-split-local

Conversation

@phlax

@phlax phlax commented Nov 15, 2026

Copy link
Copy Markdown
Member

Commit Message: distribution: Split the release .changes per distro locally
Additional Description:

For signing, each package's .changes is extracted from the per-arch packages tarball and split into one file per distro (pgp_sign_changes_split): 40 splits (2 arches x 4 packages x 5 distros). Both are new with every commit, and neither had tags, so on RBE:

  • each split is a trivial text split that waits in the RBE queue: in envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the publish build when the pool was busy (locally, all 40 take ~0.4s in total)
  • each extraction uploads the whole packages tarball to the CAS to read one file from it

Both run locally (no-remote).

Risk Level: low
Testing: CI (Sign), envoy-ci-staging
Docs Changes: n/a
Release Notes: n/a

The `.changes` are new with every commit, so each of the 40 per-distro
splits for signing (2 arches x 4 packages x 5 distros) ran remotely on
every release build: trivial text splits, which each waited in the RBE
queue (for up to ~2m when it was busy, measured in envoy-ci-staging), on
the critical path of the signing.

The splits, and the extraction of the `.changes` from the packages
tarball (which also uploaded the whole tarball for it), run locally.

Signed-off-by: Ryan Northey <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues block the changes to run release extraction and distribution splitting locally.

No open issues 🎉

What changed in this PR

This PR moves release .changes extraction and per-distribution splitting to local execution, reducing remote build queue delays and avoiding large tarball uploads for extraction.

Changes:

  • Adds no-remote tags to package extraction and distribution-splitting targets.
  • Marks splitting targets as manual and documents why local execution is preferred.
File Description
distribution/​changes.bzl Configures release .changes extraction and splitting to run locally.

Review effort: Balanced

@ravenblackx ravenblackx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not clear why one of these merits "manual" tag and the other does not, but I also don't have a problem with it. (I would expect both deserve the tag.)

@phlax

phlax commented Nov 16, 2026

Copy link
Copy Markdown
Member Author

The split's manual is for the signing targets: pgp_sign_changes_split defaults their tags to ["manual"] only when none are passed, so passing no-remote alone would have dropped it. The extract wasn't manual before, so I left it; #49331 makes it manual too.

@phlax
phlax merged commit 785685b into envoyproxy:main Nov 16, 2026
26 checks passed
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…xy#49289)

For signing, each package's `.changes` is extracted from the per-arch
packages tarball and split into one file per distro
(`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5
distros). Both are new with every commit, and neither had tags, so on
RBE:

- each split is a trivial text split that waits in the RBE queue: in
envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the
publish build when the pool was busy (locally, all 40 take ~0.4s in
total)
- each extraction uploads the whole packages tarball to the CAS to read
one file from it

Both run locally (`no-remote`).

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 785685b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 16, 2026
…xy#49289)

For signing, each package's `.changes` is extracted from the per-arch
packages tarball and split into one file per distro
(`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5
distros). Both are new with every commit, and neither had tags, so on
RBE:

- each split is a trivial text split that waits in the RBE queue: in
envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the
publish build when the pool was busy (locally, all 40 take ~0.4s in
total)
- each extraction uploads the whole packages tarball to the CAS to read
one file from it

Both run locally (`no-remote`).

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 785685b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit that referenced this pull request Nov 17, 2026
For signing, each package's `.changes` is extracted from the per-arch
packages tarball and split into one file per distro
(`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5
distros). Both are new with every commit, and neither had tags, so on
RBE:

- each split is a trivial text split that waits in the RBE queue: in
envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the
publish build when the pool was busy (locally, all 40 take ~0.4s in
total)
- each extraction uploads the whole packages tarball to the CAS to read
one file from it

Both run locally (`no-remote`).

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 785685b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…xy#49289)

For signing, each package's `.changes` is extracted from the per-arch
packages tarball and split into one file per distro
(`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5
distros). Both are new with every commit, and neither had tags, so on
RBE:

- each split is a trivial text split that waits in the RBE queue: in
envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the
publish build when the pool was busy (locally, all 40 take ~0.4s in
total)
- each extraction uploads the whole packages tarball to the CAS to read
one file from it

Both run locally (`no-remote`).

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 785685b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…xy#49289)

For signing, each package's `.changes` is extracted from the per-arch
packages tarball and split into one file per distro
(`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5
distros). Both are new with every commit, and neither had tags, so on
RBE:

- each split is a trivial text split that waits in the RBE queue: in
envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the
publish build when the pool was busy (locally, all 40 take ~0.4s in
total)
- each extraction uploads the whole packages tarball to the CAS to read
one file from it

Both run locally (`no-remote`).

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 785685b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…xy#49289)

For signing, each package's `.changes` is extracted from the per-arch
packages tarball and split into one file per distro
(`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5
distros). Both are new with every commit, and neither had tags, so on
RBE:

- each split is a trivial text split that waits in the RBE queue: in
envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the
publish build when the pool was busy (locally, all 40 take ~0.4s in
total)
- each extraction uploads the whole packages tarball to the CAS to read
one file from it

Both run locally (`no-remote`).

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 785685b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…xy#49289)

For signing, each package's `.changes` is extracted from the per-arch
packages tarball and split into one file per distro
(`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5
distros). Both are new with every commit, and neither had tags, so on
RBE:

- each split is a trivial text split that waits in the RBE queue: in
envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the
publish build when the pool was busy (locally, all 40 take ~0.4s in
total)
- each extraction uploads the whole packages tarball to the CAS to read
one file from it

Both run locally (`no-remote`).

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 785685b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 17, 2026
…xy#49289)

For signing, each package's `.changes` is extracted from the per-arch
packages tarball and split into one file per distro
(`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5
distros). Both are new with every commit, and neither had tags, so on
RBE:

- each split is a trivial text split that waits in the RBE queue: in
envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the
publish build when the pool was busy (locally, all 40 take ~0.4s in
total)
- each extraction uploads the whole packages tarball to the CAS to read
one file from it

Both run locally (`no-remote`).

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 785685b)
Signed-off-by: Ryan Northey <[email protected]>
phlax added a commit to phlax/envoy that referenced this pull request Nov 18, 2026
…xy#49289)

For signing, each package's `.changes` is extracted from the per-arch
packages tarball and split into one file per distro
(`pgp_sign_changes_split`): 40 splits (2 arches x 4 packages x 5
distros). Both are new with every commit, and neither had tags, so on
RBE:

- each split is a trivial text split that waits in the RBE queue: in
envoy-ci-staging all 40 waited, for 17-115s, on the critical path of the
publish build when the pool was busy (locally, all 40 take ~0.4s in
total)
- each extraction uploads the whole packages tarball to the CAS to read
one file from it

Both run locally (`no-remote`).

Signed-off-by: Ryan Northey <[email protected]>
(cherry picked from commit 785685b)
Signed-off-by: Ryan Northey <[email protected]>
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.

3 participants