refactor(cli): split cli/src/commands/setup.ts
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 重构
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- aws, typescript
调研方向
Start with cli/src/commands/setup.ts and the review of #973 to understand the proportionality concern. Trace parseStateBearingChanges, planAccountPreparation, and the bootstrap install/upgrade flow, then identify the existing test setup before extracting the modules. Done means the command file handles orchestration and each extracted module has direct unit tests with no behavior change.
由索引模型根据 Issue 内容生成。
描述
Deferred from the review of #973 (proportionality).
cli/src/commands/setup.ts (~1,100 lines) covers prompts, cdk diff parsing, account preparation/bootstrap, process spawning and UI.
Proposal: extract diff parsing (parseStateBearingChanges and friends) and account preparation (planAccountPreparation, bootstrap install/upgrade) into their own modules with direct unit tests. No behavior change.
Done when: the command file is orchestration only and the extracted modules have their own tests.
- 主要语言
- TypeScript
- 星标
- 170
- 派生
- 52
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 12
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws-samples/sample-autonomous-cloud-coding-agents 的其他 Issue
-
cdk: support Docker-compatible engines such as Finch (clean:disk hard-codes docker)可能已有人在做 @alvarohare 于 13 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
aws-samples/sample-autonomous-cloud-coding-agents#969 · 1 条评论 · 1 个 reaction · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
aws-samples/sample-autonomous-cloud-coding-agents#968 ·
维护者通常 1 天内回复
-
documentation P2 security
难度 2/5 1-2 天 新手友好度 74/100
aws-samples/sample-autonomous-cloud-coding-agents#793 ·
维护者通常 1 天内回复
-
Docs: How to clear previously set attributes for a blueprint可能重新可做 @rkumarus-aws 于 71 天前认领,目前没有进行中的 PR。 未关闭documentation
难度 2/5 1-3 小时 新手友好度 68/100
aws-samples/sample-autonomous-cloud-coding-agents#767 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
aws-samples/sample-autonomous-cloud-coding-agents#749 · 1 条评论 ·
维护者通常 1 天内回复
查看 aws-samples/sample-autonomous-cloud-coding-agents 的全部 Issue
相似的 Issue
-
bug:unconfirmed
难度 2/5 1-3 小时 新手友好度 68/100
Heroic-Games-Launcher/HeroicGamesLauncher#6062 ·
维护者通常 1 天内回复
-
enhancement good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 67/100
Richard-Zhang1019/Crossbow#431 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 63/100
EKKOLearnAI/ekko-studio#3761 ·
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 67/100
ruyd/agentic-sdlc-lab#4 · 2 条评论 ·