Skip to content

Conversation

@olaservo
Copy link
Member

Summary

Fast follow improvements to the CLI test infrastructure from PR #1012:

  • Move express from dependencies to devDependencies in cli/package.json (it's only used for test HTTP servers)
  • Add defensive check for child.pid before process kill in cli-runner.ts
  • Extract repeated test URIs (test://env, test://resource) to named constants for better maintainability

Test plan

  • All 85 CLI tests pass
  • npm test passes

🦉 Generated with Claude Code

olaservo and others added 2 commits January 19, 2026 09:42
- Move express from dependencies to devDependencies (only used in tests)
- Add defensive check for child.pid in cli-runner.ts
- Extract test URIs to constants (TEST_URI_ENV, TEST_URI_RESOURCE)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
resources: [
{
uri: "test://resource",
uri: TEST_URI_RESOURCE,
Copy link
Member Author

Choose a reason for hiding this comment

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

This seems a bit extra but Claude really wanted to make this a constant :)

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