Skip to content

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

Closed
altaywtf wants to merge 1 commit into
fix/effect-rc-driftfrom
fix/scrub-fixture-identity
Closed

test: replace maintainer identity in fixtures with synthetic values#68
altaywtf wants to merge 1 commit into
fix/effect-rc-driftfrom
fix/scrub-fixture-identity

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

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:41

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 maintainer identity from test fixtures by replacing altay@put.io / altay with clearly synthetic values (user@example.com / example-user) across the CLI’s test suite and test-support mocks, keeping assertion shapes unchanged.

Changes:

  • Updated whoami/account fixture data in test mocks and command-path tests to use synthetic email/username values.
  • Updated internal command tests to assert the new synthetic username values.
  • Updated terminal formatting tests to use synthetic string input instead of a real username.

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 Replaces account fixture mail and username with synthetic values used by command-path tests.
src/internal/terminal/format.test.ts Updates formatNullable test input/output assertions to avoid real identity strings.
src/internal/command.test.ts Updates selectTopLevelFields fixture/assertions to use the synthetic username.
src/command-paths.test.ts Updates whoami command-path fixtures and JSON output assertions to use synthetic mail/username values.

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

@altaywtf
altaywtf deleted the branch fix/effect-rc-drift August 19, 2026 18:49
@altaywtf altaywtf closed this Aug 19, 2026
@altaywtf

Copy link
Copy Markdown
Member Author

Auto-closed by GitHub when the base branch fix/effect-rc-drift was deleted merging #67. Continued as the same commit on current main: see the successor PR referenced above.

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