You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area/cliCLI command surface, flags, help text (cross-cutting).status/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/bugSomething does not work as documented.
Reporting and investigating a bug need no permission. Before implementing a
substantive fix for inclusion in APM, obtain human scope approval and a review
contact on this issue. Trivial documentation corrections have standing
preapproval. See Contributing.
For vulnerabilities, use SECURITY.md
instead of a public issue. Remove credentials and other sensitive data from logs.
Describe the bug
A dry run with no apm.yml bootstraps a real apm.yml on disk at project scope (it prints [*] Created apm.yml). With -g the dry run correctly uses a temp manifest and prints Would create.
[*] Created apm.yml
Dry run: Would add 1 package to apm.yml
Additional context
Where: src/apm_cli/commands/install.py:1519-1539 (_create_minimal_apm_yml); src/apm_cli/install/manifest_helpers.py:55 and :91 gate the temp redirect and the message on user_scope. Suggested fix: drop the user_scope condition for dry runs.
Found by the docs corpus re-sweep (#3800): the docs now describe the intended contract (with a short note where users are hit today).
Taking this for 0.37.0 as part of the docs re-sweep (#3800) code-defect batch, landing as one PR. Context, Daniel's direction for the docs report: "do not defer things nor hold things - simply fix it with the criteria of a world class documentation writer as well as the UX and Product chief", and "all those fixes must land in a single PR and in 0.37". Scope record follows.
Decision: approve
Area: project
Scope: Make apm install --dry-run write nothing in project scope: when no apm.yml exists it plans against a temporary manifest and prints Would create apm.yml, matching the -g behavior.
Done when: apm install --dry-run in a directory without apm.yml leaves the directory unchanged and prints a would-create line; a regression test fails before the fix; CHANGELOG updated.
Out of scope: Other dry-run output changes and non-dry-run bootstrap behavior.
Review contact: Daniel Meppiel (@danielmeppiel)
area/cliCLI command surface, flags, help text (cross-cutting).status/acceptedHuman scope approval; verify the issue's approval record and review contact before work.type/bugSomething does not work as documented.
Activity
danielmeppiel commentedon Nov 18, 2026
Taking this for 0.37.0 as part of the docs re-sweep (#3800) code-defect batch, landing as one PR. Context, Daniel's direction for the docs report: "do not defer things nor hold things - simply fix it with the criteria of a world class documentation writer as well as the UX and Product chief", and "all those fixes must land in a single PR and in 0.37". Scope record follows.
danielmeppiel commentedon Nov 18, 2026
Decision: approve
Area: project
Scope: Make apm install --dry-run write nothing in project scope: when no apm.yml exists it plans against a temporary manifest and prints Would create apm.yml, matching the -g behavior.
Done when: apm install --dry-run in a directory without apm.yml leaves the directory unchanged and prints a would-create line; a regression test fails before the fix; CHANGELOG updated.
Out of scope: Other dry-run output changes and non-dry-run bootstrap behavior.
Review contact: Daniel Meppiel (@danielmeppiel)