[Feature] Clean & Restart Packager logs show an incorrect total step count
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 76/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react-native, typescript, vscode
调研方向
找到“Clean & Restart Packager”命令及其进度消息,然后阅读该命令附近的测试。更新显示的编号,使其从步骤 1/4 到步骤 4/4,包括重启消息,并添加一个回归测试,检查消息内容及其顺序。
由索引模型根据 Issue 内容生成。
描述
Problem
The “Clean & Restart Packager” command performs four steps:
- Terminate the Metro process.
- Clean the Metro cache.
- Clean the Watchman cache, if available.
- Restart the packager.
However, the first three steps are logged as Step 1/3, Step 2/3,
and Step 3/3. The restart step is logged without a step number.
This makes the progress output inconsistent with the actual workflow.
Steps to reproduce
- Open a React Native project.
- Run the “Clean & Restart Packager” command.
- Inspect the progress messages in the React Native output channel.
Actual behavior
The output shows three numbered steps followed by an unnumbered restart:
- Step 1/3: Terminating Metro process...
- Step 2/3: Cleaning Metro cache...
- Step 3/3: Cleaning Watchman cache...
- Restarting Packager with clean cache...
Expected behavior
Display consistent numbering from Step 1/4 through Step 4/4,
including the packager restart.
Suggested fix
Update the four progress messages and add a regression test that verifies
their content and order. No changes to the cleanup or restart logic are needed.
- 主要语言
- TypeScript
- 星标
- 2.7k
- 派生
- 303
- 平均合并
- 19 小时 16 分钟
- 30 天内合并 PR
- 29
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-react-native 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 75/100
microsoft/vscode-react-native#3052 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
microsoft/vscode-react-native#3037 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 67/100
microsoft/vscode-react-native#3036 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 83/100
microsoft/vscode-react-native#3033 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/vscode-react-native#3030 ·
维护者通常 1 天内回复
查看 microsoft/vscode-react-native 的全部 Issue
相似的 Issue
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)未关闭
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info only未关闭enhancement from-x
难度 2/5 1-3 小时 新手友好度 66/100
nightly-labs/openbot#4867 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
egonSchiele/agency-lang#1377 ·
维护者通常 1 天内回复
-
normalizePath removes the Windows device namespace prefix可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
caprover/caprover-frontend#273 ·
维护者通常 1 天内回复