fix: test start-screen for --dry-run mode for solve and hive commands (issue #539)#1430
fix: test start-screen for --dry-run mode for solve and hive commands (issue #539)#1430
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: #539
|
🤖 AI Work Session Started Starting automated work session at 2026-03-30T18:39:52.994Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback. |
…539 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
|
🤖 AI Work Session Started Starting automated work session at 2026-04-11T04:35:03.959Z The PR has been converted to draft mode while work is in progress. This comment marks the beginning of an AI work session. Please wait for the session to finish, and provide your feedback. |
✅ Ready to mergeAll requirements for issue #539 are satisfied:
All CI checks pass. PR has no merge conflicts. Reviewed by AI work session |
Summary
Fixes #539
Problem
start-screen hive "https://github.com/konard" --dry-run --once --verbosewas failing with "Invalid GitHub URL: missing owner/repo" becausestart-screen.mjswas not using the same URL validation logic as thehiveandsolvecommands.Root Cause
The original
start-screen.mjshad its own URL validation that required both owner and repo, rejecting valid user/organization URLs likehttps://github.com/konard.Fix
src/start-screen.mjs: Updated to import and use the sharedparseGitHubUrlfromgithub.lib.mjs, ensuring consistent validation across all commandstests/test-start-screen.mjs: Added comprehensive--dry-runtests for bothsolveandhivecommands.github/workflows/release.yml: Added CI step to runtests/test-start-screen.mjs(Issue We need to make sure we test start-screen for --dry-run mode for both solve and hive commands #539)Accepted URL types
https://github.com/ownerhttps://github.com/owner/repohttps://github.com/owner/repo/issues/123https://github.com/owner/repo/pull/456Tests
All tests pass locally:
🤖 Generated with Claude Code