Skip to content

test: replace maintainer identity in fixtures with synthetic values - #69

Merged
altaywtf merged 1 commit into
mainfrom
fix/scrub-fixture-identity-v2
Aug 19, 2026
Merged

test: replace maintainer identity in fixtures with synthetic values#69
altaywtf merged 1 commit into
mainfrom
fix/scrub-fixture-identity-v2

Conversation

@altaywtf

Copy link
Copy Markdown
Member

Problem: the public repo shipped altay@put.io and username: "altay" in test fixtures: src/command-paths.test.ts, src/internal/command.test.ts, plus two occurrences beyond the issue list in src/test-support/command-path-mocks.ts and src/internal/terminal/format.test.ts (all fixtures).

Solution: replace with user@example.com / example-user across all 4 files (11 lines); assertions keep the same shapes. git grep -i altay is empty in tracked files.

Based on fix/effect-rc-drift because full verify (the pre-push gate) needs #67's Effect pin; re-target to main once #67 merges.

vp run verify green on the rebased branch.

Fixes #65

🤖 Generated with Claude Code


Supersedes #68, which GitHub auto-closed when its base branch fix/effect-rc-drift was deleted on the merge of #67. Same commit, cherry-picked onto current main (b5541c4).

Public repo shipped altay@put.io and username "altay" in test
fixtures. Replace with user@example.com / example-user; assertions
unchanged in shape.

Fixes #65

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 19, 2026 18:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes a real-looking maintainer identity from test fixtures by replacing altay@put.io / altay with clearly synthetic values (user@example.com / example-user) across the CLI test suite and related test-support helpers, keeping assertion shapes intact.

Changes:

  • Replaced fixture email altay@put.io with user@example.com in whoami/account-info test data.
  • Replaced fixture username altay with example-user in relevant tests and mocks.
  • Kept existing object structures/expectations unchanged, only swapping the identity strings.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/test-support/command-path-mocks.ts Updates default mocked account identity used by command-path tests.
src/internal/terminal/format.test.ts Replaces a non-empty-string fixture value in formatNullable tests.
src/internal/command.test.ts Updates username fixtures used in selectTopLevelFields tests.
src/command-paths.test.ts Updates whoami-related fixture data and assertions to use synthetic identity values.

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

@altaywtf
altaywtf merged commit 8562afc into main Aug 19, 2026
7 checks passed
@altaywtf
altaywtf deleted the fix/scrub-fixture-identity-v2 branch August 19, 2026 18:56
@putio-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.6.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace maintainer identity in test fixtures with synthetic values

2 participants