Skip to content

Build the latest Envoy release in CI, with no default version - #2

Merged
JonathanO merged 1 commit into
mainfrom
build-latest-envoy
Oct 25, 2026
Merged

JonathanO merged 1 commit into
mainfrom
build-latest-envoy

Conversation

@JonathanO

Copy link
Copy Markdown
Owner

The Build workflow built gradle.properties' envoyVersion=1.40.0, which only changes when someone edits it (Renovate can't), so CI would keep testing 1.40.0 while Release publishes 1.41.x.

  • .github/scripts/envoy-releases.sh: the Buf registry label lookup, moved out of release.yml so both workflows share it. Reads one page of 250 labels; Envoy has 40 today, so that's noted as a known limit.
  • build.yml builds $(envoy-releases.sh | tail -1).
  • No default version: without -PenvoyVersion, Gradle fails with "Say which Envoy release to build, e.g. -PenvoyVersion=1.40.0". README says so.
  • *.hprof ignored: org.gradle.jvmargs dumps the heap on OOM.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW

The Build workflow built gradle.properties' envoyVersion, which only
changed when someone edited it, so CI kept testing an old release while
the Release workflow published newer ones. Both workflows now get the
release list from .github/scripts/envoy-releases.sh, and Build builds
the latest. Without -PenvoyVersion, Gradle says to pass one.

Ignore heap dumps: gradle.properties asks for one on OutOfMemoryError.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LjfJneYfZvPVJht93FjFQW
@JonathanO
JonathanO merged commit 499df55 into main Oct 25, 2026
1 check passed
@JonathanO
JonathanO deleted the build-latest-envoy branch October 25, 2026 07:46
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.

1 participant