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
Reorder config precedence: global flag beats environment variable (#1308)
* Make --client-version flag override CLIENT_VERSION env var
The pmm-framework resolved CLIENT_VERSION from the environment before the
global --client-version flag, so a run passing --client-version=3.5.0 with
CLIENT_VERSION=3.6.0 exported (e.g. by CI) still installed 3.6.0. An explicit
CLI flag must beat an ambient env var: reorder resolve_value() to check
GLOBAL_CLIENT_VERSION first for the CLIENT_VERSION key. Update the precedence
test and the README/ARCHITECTURE docs to match.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0111eoWF5ABrxakfE2AbFsEk
Signed-off-by: Claude <noreply@anthropic.com>
* Address review: trim narrating comments from precedence fix
Drop the rationale paragraph from resolve_value() (the precedence list
already states the flag wins; the why lives in the PR/commit) and the
per-assertion comments from the cli.bats precedence test, matching the
repo's minimal-comments house style and the file's comment-free tests.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0111eoWF5ABrxakfE2AbFsEk
Signed-off-by: Claude <noreply@anthropic.com>
---------
Signed-off-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments