Add release readiness and versioned distribution workflows - #29
Merged
jacklilyhello merged 1 commit intoJun 24, 2026
Conversation
jacklilyhello
deleted the
codex/implement-release-readiness-and-versioned-distribution-2026-06-24-09-40-57
branch
June 24, 2026 09:49
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.
Motivation
Description
--versionflag wired into the server and API with ldflags variables (main.version,main.commit,main.date) and a concise runtime summary that reports RE2 and PCRE2 availability; defaults remaindev/unknown/unknownto keep local builds safe (cmd/server/main.go,Dockerfilechanges to pass ldflags).build-all(cross-platform RE2/CGO-free builds),release-check(local verification), andsnapshot(create compressed artifacts and deterministicSHA256SUMSunder ignoreddist/), and propagate ldflags during builds (Makefile)..github/workflows/release-dry-run.ymlto run onpull_requestand validate packaging without publishing, and.github/workflows/release.ymlto run on tagv*and create a GitHub Release + upload artifacts and push GHCR images (default RE2 and optional PCRE2) using onlyGITHUB_TOKEN.docs/release.md,README.md,CHANGELOG.md).Testing
gofmt/make fmt-check,go test ./...,go vet ./...,go build ./...,CGO_ENABLED=0 go build ./..., andmake verify-bundled-netease,make smoke, andmake e2eall succeeded in the local environment.make build-all VERSION=test COMMIT=$(git rev-parse --short=12 HEAD) DATE=1970-01-01T00:00:00Z,make release-check VERSION=test ...(which exercised--versionand checksum verification), andmake snapshotproduced deterministicSHA256SUMS.Package 'libpcre2-8', required by 'virtual:world', not found(sogo test -tags pcre2,go build -tags pcre2, andmake build-pcre2were not completed locally).dockeris not installed (/bin/bash: line 1: docker: command not found) andgovulncheckfailed to fetch the vulnerability DB (Get "https://vuln.go.dev/index/modules.json.gz": Forbidden); CI workflows include dry-run coverage and tag-triggered publishing where these will run with available runners and secrets; no real tag, GitHub Release, or image push was performed during this work.Codex Task