Skip to content

fix(did): rename did:pkh test fixtures to remove Windows-invalid colons - #156

Open
ygd58 wants to merge 1 commit into
agentcommercekit:mainfrom
ygd58:fix/windows-pkh-fixture-filenames
Open

fix(did): rename did:pkh test fixtures to remove Windows-invalid colons#156
ygd58 wants to merge 1 commit into
agentcommercekit:mainfrom
ygd58:fix/windows-pkh-fixture-filenames

Conversation

@ygd58

@ygd58 ygd58 commented Aug 13, 2026

Copy link
Copy Markdown

Fixes #145

The three JSON fixtures under test-fixtures/did-pkh/ used the literal did:pkh:... URI (colons included) as their filename. : is a reserved character on Windows/NTFS, so these files failed to check out correctly on Windows, breaking pkh-did-resolver.test.ts for Windows contributors and CI runners.

Fix: renamed the three fixtures to replace : with _ (e.g. did_pkh_eip155_1_0x....json) and updated the corresponding static imports in pkh-did-resolver.test.ts. File contents are unchanged — done via git mv, tracked as renames.

Changeset: added (@agentcommercekit/did, patch).

Verified locally: vitest run src/did-resolvers/pkh-did-resolver.test.ts (4/4 passing, confirming all did:pkh test vectors — including the unknown-DID error case — still resolve correctly against the renamed fixtures), oxlint and oxfmt --check clean.


AI usage disclosure (per AI_POLICY.md): this fix was developed with Claude (Anthropic) assistance — identifying the fixture files as the root cause, renaming them, updating the import paths, and verifying locally. I reviewed and understand the change: three files were renamed (git mv, content untouched) and three import statements in one test file were updated to match the new filenames.

Fixes agentcommercekit#145

The three JSON fixtures under test-fixtures/did-pkh/ used the literal
did:pkh:... URI (colons included) as their filename. ':' is a reserved
character on Windows/NTFS, so these files failed to check out
correctly on Windows, breaking pkh-did-resolver.test.ts for Windows
contributors and CI runners.

Renamed the three fixtures to replace ':' with '_' and updated the
corresponding static imports in pkh-did-resolver.test.ts. File
contents are unchanged - confirmed via git mv (tracked as renames) and
by rerunning the test, which still resolves all four did:pkh test
vectors correctly. Changeset added (patch, @agentcommercekit/did).

AI usage disclosure: this fix was developed with Claude (Anthropic)
assistance - identifying the fixture files as the root cause, renaming
them, updating the import paths, and verifying locally. I reviewed and
understand the change: three files were renamed (git mv, content
untouched) and three import statements in one test file were updated
to match the new filenames.
@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@ygd58, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 51 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e9976c40-d99e-4969-ae2f-84446b2a6a7b

📥 Commits

Reviewing files that changed from the base of the PR and between 0b8fdaa and 1f2cb38.

📒 Files selected for processing (5)
  • .changeset/windows-fixture-filenames.md
  • packages/did/src/did-resolvers/pkh-did-resolver.test.ts
  • packages/did/test-fixtures/did-pkh/did_pkh_eip155_1_0xb9c5714089478a327f09197987f16f9e5d936e8a.json
  • packages/did/test-fixtures/did-pkh/did_pkh_eip155_84532_0xa0ae58da58dfa46fa55c3b86545e7065f90ff011.json
  • packages/did/test-fixtures/did-pkh/did_pkh_solana_4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ_CKg5d12Jhpej1JqtmxLJgaFqqeYjxgPqToJ4LBdvG9Ev.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Windows checkout fails on did-pkh fixture filenames

1 participant