feat(core): add apply-all command to bulk-update all docker-git projects#175
Merged
skulidropek merged 3 commits intoProverCoderAI:mainfrom Mar 22, 2026
Merged
Conversation
Adding .gitkeep for PR creation (default mode). This file will be removed when the task is complete. Issue: ProverCoderAI#164
- Add ApplyAllCommand domain type for the new CLI command - Create projects-apply-all.ts use case that iterates all discovered docker-git projects and runs docker compose up with port check - Register apply-all and update-all aliases in CLI parser - Wire command handler in program dispatcher - Update usage text with apply-all description - Add parser test for apply-all and update-all aliases - Individual project failures (port conflicts, env errors, missing configs) are logged as warnings without aborting the batch Fixes ProverCoderAI#164 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This reverts commit b6f8156.
Contributor
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
🤖 Models used:
📎 Log file uploaded as Gist (1769KB)Now working session is ended, feel free to review and add any feedback on the solution draft. |
Contributor
Author
✅ Ready to mergeThis pull request is now ready to be merged:
Monitored by hive-mind with --auto-restart-until-mergeable flag |
Contributor
|
Как выглядит команда? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #164
apply-allCLI command (alias:update-all) that iterates over all discovered docker-git projects and runsdocker compose upwith port check on eachdown-allcommandChanges
packages/lib/src/core/domain.ts: AddApplyAllCommandinterface and include it in theCommandunion typepackages/lib/src/usecases/projects-apply-all.ts: New use case that discovers all projects vialoadProjectIndex(), then runsrunDockerComposeUpWithPortCheck()on each, catching per-project errors gracefullypackages/lib/src/usecases/projects.ts: ExportapplyAllDockerGitProjectsfrom barrelpackages/app/src/docker-git/cli/parser.ts: Registerapply-allandupdate-allcommand aliasespackages/app/src/docker-git/program.ts: WireApplyAllto the use case handlerpackages/app/src/docker-git/cli/usage.ts: Addapply-allto help textpackages/app/tests/docker-git/parser.test.ts: Add test forapply-allandupdate-allparsingUsage
Математические гарантии
Инварианты:
∀p ∈ Projects: applyAll(p) → updated(p) ∨ warned(p)Предусловия:
Постусловия:
Сложность:
O(n)гдеn = |projects|Verification
pnpm check(typecheck passes)pnpm --filter ./packages/app test(59 tests pass)pnpm --filter ./packages/lib typecheck(passes)Test plan
apply-allcommandupdate-allalias🤖 Generated with Claude Code