Skip to content

fix: forward pack verbosity to every internal build - #1059

Draft
dreamyloong2005 wants to merge 1 commit into
mcpp-community:mainfrom
dreamyloong2005:codex/fix-pack-verbose
Draft

dreamyloong2005 wants to merge 1 commit into
mcpp-community:mainfrom
dreamyloong2005:codex/fix-pack-verbose

Conversation

@dreamyloong2005

Copy link
Copy Markdown

Summary

Every pack-owned backend drive uses a focused build-options producer that forwards requested verbosity. Program and library packages, additional legs and distribution builds share the same policy. Distribution keep-going behavior remains independent of verbosity, and non-verbose output retains its defaults.

Closes #1052.

Criteria

  • A fresh unmodified 2026.12.6.2 binary runs the cold-pack CLI regression: 2 pass/2 fail/0 skip. Both verbose cases fail specifically because the actual source compilation command is missing; both default-output cases pass.
  • The producer's four actual registered unit tests pass using the production splitter and saved dependency objects.
  • The CLI regression creates new projects/homes and identifies a compiler command by both its specific source filename and a compile switch, not a compiler path in planning output. It covers program/library and verbose/default intersections.
  • Focused structure tests pass (2/2), checking all five backend-drive sites.

Fresh integration

  • The six-fix Windows integration self-build succeeds with Clang 23.1.3, the system MSVC/Windows SDK and profile ci.
  • Fresh integration: 4 options cases and 4 cold-pack CLI cases pass with no failures or skips. The complete selected root/CLI run is 30/30; the isolated toolchain-model package run is 14/14. The 15 structural checks also pass.
  • Independent standards and specification reviews completed. The implementation-only import placement findings were corrected before validation.
  • An isolated full-tree build of this single branch and native LPAC/cross-platform/full-suite acceptance remain for hosted CI and follow-up validation.

The native Windows product build and focused CLI checks use a local integration of #1048, #1049, #1050, #1051, #1052 and #1053 on b30e9bc0218730f7ef3b8a9c163ecc31d97aa88e. That is combined validation, not six isolated full-tree builds. The prior 2026.12.4.1 LPAC candidate is separate evidence and is not treated as acceptance of this branch. Linux/macOS and full hosted checks remain pending.

Intersections

New rule or feature Invariant it crosses Test at the crossing
Verbosity reaches all pack backend drives Default output and distribution keep-going semantics PackBuildOptions unit cases and e2e/pack/verbosity

Compatibility

No new option or manifest key is added. pack --verbose now exposes commands for work actually performed; a warm no-op build has no compile command to display. Output without the flag and keep-going policy are unchanged.

Checks before merging

  • check_docs_style.sh, check_docs_structure.sh, check_version_pins.sh and check_workflow_assertions.py pass locally. On Windows the unchanged shell checks run from LF-normalized scratch copies with the original working directory; invalid/truncated shell-harness attempts are not counted.
  • The branch contains no attribution trailers.
  • Required hosted checks and full applicable platform suites pass before merging.
  • Any eventual squash merge uses an explicit English subject and body.

This pull request is a draft. No merge is requested.

These engine fixes require the applicable full CI gates before merge. The contributor cannot assign upstream labels; a maintainer can apply ci:full before the next push according to the contributing workflow. No separate duplicate workflow dispatch is requested.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pack --verbose does not forward verbosity to its internal build backend

1 participant