Skip to content

test(cli): normalise the version in the tui managed artifact - #73

Merged
sanchitrk merged 1 commit into
canaryfrom
claude/kind-torvalds-54bd4b
Oct 13, 2026
Merged

sanchitrk merged 1 commit into
canaryfrom
claude/kind-torvalds-54bd4b

Conversation

@sanchitrk

Copy link
Copy Markdown
Contributor

packages/codework/test/tui.test.ts failed on a clean checkout: __artifacts__/tui.managed.json recorded "version": "0.1.0" while @codeworksh/cli is at 0.2.0.

  • The test reads the version from the package's package.json and records <version> when the registered version matches it, like the existing <pid>/<home> normalisation. A mismatched version still shows up in the snapshot.
  • Artifact updated by hand, not regenerated with -u.
  • CHANGELOG.md: Internal entry under [Unreleased]. No version bump.

Verified: vp test test/tui.test.ts (12/12), vp check, vp run typecheck.

🤖 Generated with Claude Code

The snapshot recorded the CLI version, so it went stale on every bump.
It now records <version> when the registered version matches the package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sanchitrk
sanchitrk merged commit 49f8744 into canary Oct 13, 2026
2 checks passed
@sanchitrk
sanchitrk deleted the claude/kind-torvalds-54bd4b branch October 13, 2026 09: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