Skip to content

mcpp pack reports its build as planning: the pack's ninja drive has no progress report #753

Description

@speak-agent

Summary

mcpp pack builds before it packs. That build reports no progress: build_and_pack drives ninja with a default BuildOptions, whose progress is unset (src/pack/pipeline.cppm, the build of each configuration group). mcpp build attaches a progress::Build report (src/build/execute.cppm).

As a result, a pack whose build compiles shows only the planning heartbeat for as long as the compile runs. There is no Compiling line and no status row.

Measurement

Release v2026.10.1.1, job "build + upload (linux / x86_64)" (run 36790174544, job 110147157268). The step runs mcpp build --target x86_64-linux-musl with the bootstrap engine, then <fresh mcpp> pack --target x86_64-linux-musl --mode static. The fresh engine's fingerprint differs, so the pack recompiles mcpp:

23:42:52  Workspace building member 'mcpp'
23:42:52  Resolving toolchain / Resolved gcc@16.1.0 -> x86_64-linux-musl
23:43:52  Planning · 1:00
...
23:48:53  Planning · 6:00
23:49:30  Packing mcpp v2026.10.1.1 (static, stripped)

The 6 min 38 s are mostly the compile. The release of 2026.9.30.2 shows the same shape: run 36702587348, Planning · 1:00 to 6:00.

Expected

The pack's build is reported as mcpp build reports one: the Compiling lines and the status row, and Finished before Packing. The dispatch pass of a --format that a package provides should be reported the same way.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions