-
Notifications
You must be signed in to change notification settings - Fork 185
[FEATURE] build_error_context [i] port hint should name a concrete verification command + doc link #799
Copy link
Copy link
Open
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.priority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Milestone
Metadata
Metadata
Assignees
Labels
area/cliCLI command surface, flags, help text (cross-cutting).CLI command surface, flags, help text (cross-cutting).area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.priority/lowAccepted but not time-sensitiveAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Todo
Follow-up from PR #788 review panel -- devx-ux-expert finding #4 ("`[i]` hint actionability ~70%").
Is your feature request related to a problem? Please describe.
The `[i]` hint appended by `AuthResolver.build_error_context` when `dep_ref.port` is set names the right suspect but not the next action. Current output (`src/apm_cli/core/auth.py:428-429` on main):
```
[i] Host 'bitbucket.example.com:7999' -- verify your credential helper stores per-port entries (some helpers key by host only).
```
A user who hits this has two immediate questions the hint does not answer:
Net effect: roughly 70% actionable. Names the problem; stops short of naming the remediation.
Describe the solution you'd like
Rewrite the hint to include a concrete verification command for the most common helper (`git credential-manager`) and anchor at the new docs section:
```
[i] Host 'bitbucket.example.com:7999' -- this helper may key by host only.
Verify with: printf 'protocol=https\nhost=bitbucket.example.com:7999\n\n' | git credential fill
See: https://microsoft.github.io/apm/getting-started/authentication/#custom-port-hosts-and-per-port-credentials
```
Rationale:
Describe alternatives you've considered
Additional context
Refs