Skip to content

fix: verify trimpath release binaries correctly - #55

Merged
caorushizi merged 1 commit into
masterfrom
codex/release-validation
Oct 3, 2026
Merged

caorushizi merged 1 commit into
masterfrom
codex/release-validation

Conversation

@caorushizi

Copy link
Copy Markdown
Contributor

Release verification incorrectly expected linker flags in go version -m, which omits them for the existing -trimpath build. Validate the actual source revision, clean-tree state, OS, architecture, CGO setting, and trimpath metadata instead, then check the host binary's version, release channel, and exact skill-source commit through its behavior.

Verify help against the source locale catalogs and run workspace smoke fixtures outside the repository. Add a regression case for trimpath metadata and update the bilingual release instructions.

Validation: nine release-rule tests and TypeScript checking passed; all five actual v0.1.17 archives passed the corrected metadata checks; the host binary passed version, both locale/help outputs, templates, the manual-upgrade worker, and recorded skill-source checks. Full mise run check passed.

Copilot AI balanced review requested due to automatic review settings October 3, 2026 23:04
@vercel

vercel Bot commented Oct 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
one-cli-docs Building Building Preview Oct 3, 2026 11:04pm UTC

@caorushizi
caorushizi merged commit b000670 into master Oct 3, 2026
2 of 3 checks passed

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.

Copilot review overview

🟢 Approval recommended

The metadata checks, behavioral smoke tests, regression coverage, and documentation are consistent and complete.

Review effort: Balanced
Findings: None

What changed in this PR

Corrects release verification for -trimpath binaries and validates linker-injected values behaviorally.

Changes:

  • Validate source, platform, CGO, clean-tree, and trimpath metadata.
  • Smoke-test localized help, release channel, and skill-source commit externally.
  • Add regression coverage and bilingual release documentation.
File Description
scripts/​release.mts Expands release smoke verification.
scripts/​release-rules.mts Adds build-metadata validation.
scripts/​release-rules.test.mts Tests trimpath metadata handling.
RELEASING.md Documents the corrected verification flow.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch was successfully deployed

1 active deployment
Preview — 8361cf45 Deployed Oct 3, 2026 by vercel[bot]
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.

2 participants