Skip to content

Add release-helpers and launchPersona edge case tests#738

Merged
selfcontained merged 1 commit into
mainfrom
agt_fbc4438142fb/job-test-enforcer-c373f912
Jul 9, 2026
Merged

Add release-helpers and launchPersona edge case tests#738
selfcontained merged 1 commit into
mainfrom
agt_fbc4438142fb/job-test-enforcer-c373f912

Conversation

@selfcontained

Copy link
Copy Markdown
Owner

Summary

  • Add 30 unit tests for release-helpers.ts (recently extracted in PR Extract utility functions and GitHub helpers from release-runtime.ts #732): parseGhJson, compareSemver, getGitHubRepo, createCheckIsAdmin, fetchReleaseMetadata
  • Add 8 launchPersona edge case tests to mcp-handlers.test.ts: codex/opencode full-access args, includeDiff:false path, agent type fallback chain, explicit agentType override, reviewAgentType fallback, worktreePath cwd selection

Test plan

  • All 30 release-helpers tests pass
  • All 103 mcp-handlers tests pass (up from 95)
  • Full server suite: 2216 tests pass
  • Web suite: 188 tests pass
  • E2E suite: 172 tests pass
  • Type check passes

🤖 Generated with Claude Code

30 new release-helpers tests covering parseGhJson, compareSemver,
getGitHubRepo, createCheckIsAdmin, and fetchReleaseMetadata.
8 new launchPersona tests covering codex/opencode full-access args,
includeDiff:false path, agent type fallback chain, explicit agentType
override, reviewAgentType fallback, and worktreePath cwd selection.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@selfcontained
selfcontained merged commit 0a4abfb into main Jul 9, 2026
1 check passed
@selfcontained
selfcontained deleted the agt_fbc4438142fb/job-test-enforcer-c373f912 branch July 9, 2026 02:37
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