"Progress" line doesn't update when using --keep-going

未关闭
#6,852 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
haskell
领域
build-system, cli

调研方向

在诸如 commercialhaskell/all-cabal-tool 的项目上使用 stack build --fast --keep-going 重现问题,然后将其与计数器正常工作的 stack build --fast 进行比较。追踪 keep-going 构建期间使用的进度报告入口点;当已完成软件包的计数得到更新,而不是停留在 [0/XXXX] 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

This is with stack 3.7.1, but I don't see any issues related to it (fixed or otherwise), so perhaps it still persists.

Steps to reproduce
  1. Pick a project like https://github.com/commercialhaskell/all-cabal-tool.
  2. Run stack build --fast --keep-going
  3. Observe that the Progress count at the bottom stays at [0/XXXX]
Expected

The count of completed packages should progress as the build progresses.

Actual

The count stays at zero.

Meanwhile, the counter does seem to work if I just run stack build --fast.

Stack version
stack --version
3.7.1 x86_64 hpack-0.38.1
Method of installation
  • Via Nixpkgs on NixOS
Platform
  • x86_64 GNU/Linux
主要语言
Haskell
星标
4.1k
派生
857
平均合并
17 小时 32 分钟
30 天内合并 PR
5

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

commercialhaskell/stack 的其他 Issue

查看 commercialhaskell/stack 的全部 Issue

相似的 Issue

更多 Haskell Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。