Repository navigation
[Build] Align workspace SemVer, CHANGELOG, and Homebrew release baseline - #570
Conversation
Signed-off-by: samzong <samzong.lu@gmail.com>
|
Hi @samzong, DetailsInstructions for interacting with me using comments are available here. Execution log |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: samzong DetailsNeeds approval from an approver in each of these areas:
Approvers can indicate their approval by writing |
|
This pr is currently missing a label matching the regular expression Execution log |
Signed-off-by: samzong <samzong.lu@gmail.com>
…anup Signed-off-by: samzong <samzong.lu@gmail.com>
Signed-off-by: samzong <samzong.lu@gmail.com>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 455737d691
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| import { afterEach, describe, expect, it } from 'vitest'; | ||
| import { execFileSync } from 'node:child_process'; | ||
| import { chmodSync, mkdirSync, mkdtempSync, readdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs'; | ||
| import { tmpdir } from 'node:os'; | ||
| import path from 'node:path'; |
There was a problem hiding this comment.
Split the change to meet the repository's PR budget
This commit adds 1,418 lines across 18 files, exceeding the explicit 500-insertion limit in docs/agent-rules/git-conventions.md. Even excluding the entire changelog backfill leaves 1,188 insertions, and release scripts and their tests do not fall under the documented generated-code, bulk-i18n, or migration exceptions. Split the release tooling and historical documentation work into independently reviewable changes within the budget. docs/agent-rules/git-conventions.mdL12-L13
Useful? React with 👍 / 👎.
| describe('verify-release-version.mjs', () => { | ||
| it('verifies workspace manifest alignment in the repository', () => { | ||
| const out = runNode([verifyScript, '--check-workspace', '--root', repoRoot]); | ||
| expect(out).toContain('Workspace manifests aligned at version 0.0.16'); |
There was a problem hiding this comment.
Derive the expected version instead of pinning the live workspace
When the next release updates all seven manifests to 0.0.17 or a prerelease version, the verifier correctly succeeds but this assertion fails because it requires the live repository to remain at 0.0.16. Consequently, following the newly documented release preparation procedure makes pnpm check fail on every subsequent version bump. Read the expected version from the root manifest or run this fixed-version assertion against a temporary workspace fixture instead.
Useful? React with 👍 / 👎.
Summary
Align workspace package versions at
0.0.16, enforce strict SemVer and workspace parity inprepare-release, alignCHANGELOG.mdandscripts/generate-release-notes.mjs, normalizeclawwork-ai/ClawWorkslugs, and updatescripts/update-homebrew-tap.shin-place.Type of change
[Feat]new feature[Fix]bug fix[UI]UI or UX change[Docs]documentation-only change[Refactor]internal cleanup[Build]CI, packaging, or tooling change[Chore]maintenanceWhy is this needed?
At
2239a01,.github/workflows/release.ymlchecked onlypackages/desktop/package.json(0.0.16), rootpackage.jsonhad noversionfield, and five workspace packages stayed at0.1.0.CHANGELOG.mdomitted releasesv0.0.1throughv0.0.16, release workflows hardcoded lowercaseclawwork-ai/clawwork, andscripts/update-homebrew-tap.shoverwroteCasks/clawwork.rbwith a heredoc.What changed?
scripts/verify-release-version.mjsandpnpm check:versionto enforce strict SemVer (vX.Y.ZorvX.Y.Z-(alpha|beta|rc).N, no leading zeros), tagged commit SHA parity, and lockstep0.0.16versions across rootpackage.jsonand all six workspace packages..github/workflows/release.yml(prepare-releaseandpublish-release-notes) and.github/workflows/pr-check.ymlto enforce workspace version parity, preferCHANGELOG.mdentries for stable releases, stop empty release bodies, and pass--prereleaseon prerelease tags.CHANGELOG.mdfromv0.0.1throughv0.0.16under Keep a Changelog with an[Unreleased]section and updatedscripts/generate-release-notes.mjsto anchorgit describeto validv[0-9]*SemVer tags and support Keep a Changelog output and extraction.clawwork-ai/clawworktoclawwork-ai/ClawWorkacross.github/workflows/release.yml,.github/workflows/update-homebrew.yml,scripts/update-homebrew-tap.sh,packages/desktop/electron-builder.yml,packages/desktop/package.json, and.claude/skills/release-publish/SKILL.md.scripts/update-homebrew-tap.shand.github/workflows/update-homebrew.ymlto updateversion,sha256, and canonical repository URLs in-place without discardinglivecheck,zap, or maintainer stanzas, and to skip prerelease tags across bothreleaseandworkflow_dispatch.packages/desktop/test/release-scripts.test.tsand updated release documentation inDEVELOPMENT.mdand.claude/skills/release-publish/SKILL.md.Architecture impact
scripts/,.github/workflows/, workspace manifests).packages/pwa/vite.config.tsnow reads0.0.16frompackages/pwa/package.json.docs/architecture-invariants.md: none.Linked issues
Closes #569
Validation
pnpm lintpnpm testpnpm build(pnpm --filter @clawwork/desktop build)pnpm check:ui-contract(verified in remotePR Check / quality)Commands and acceptance evidence at
455737d691894d3c8e75d26208a82db31f845a01:Unverified items:
.github/workflows/release.ymland.github/workflows/update-homebrew.yml(tag push / release publication) and live push toclawwork-ai/homebrew-clawworkawait a future authorized release.knipcheck in worktrees scans the gitignored.local/directory; remotePR Check / qualityrunsknipcleanly without.local/and passed.Screenshots or recordings
Not applicable. No renderer or UI files changed.
Release note
NONE.Checklist
git commit -s)[Feat],[Fix],[UI],[Docs],[Refactor],[Build], or[Chore]