Skip to content

Corrección: feat(cli): name conflicting asset paths on install and uninstall conflict refusals (#382) #385

Closed

Description

@barbatdev

Source PR: #382
Branch: fix/373-conflict-paths
Head reviewed: 4ed52ab

Push the fixes to the branch above; do not open a new pull request. Comment on the PR and on this issue when done.

Blocking findings

  • Explicit-runtime update conflicts still lack the exact relative paths (issue install/uninstall/update ownership conflicts fail closed without naming the conflicting asset paths or drift cause #373 criterion 1) (internal/cli/update.go:400): Issue install/uninstall/update ownership conflicts fail closed without naming the conflicting asset paths or drift cause #373 expected outcome: "uninstall/install/update conflicts list the exact conflicting relative paths." This PR appends conflict_paths= in runInstall/runDirectoryInstall (covering cortex install and bare cortex update) and on the uninstall line, but cortex update --runtime <rt> --catalog <dir> renders conflicts through writeUpdateOperations (plan: update.go:131, apply: update.go:441), which prints only operation=<logicalID> action=conflict (update.go:400) plus status=conflict - a logical ID is not the exact relative path (skills/requirements-analyst vs the actual skills/cortex-requirements-analyst/SKILL.md), and neither update call site appends conflict_paths. The PR body's claim that "cortex install/update status lines append conflict_paths" does not hold for this update path, so criterion 1 remains unmet for update's own conflict output after this chain merges.

Acceptance criteria

Activity

  1. added
    status:approved
    on Oct 24, 2026
  2. barbatdev commented on Nov 12, 2026

    @barbatdev
    ContributorAuthor

    Fixed on the #382 branch in f5144ba: update conflict lines now carry conflict_paths=.

  3. barbatdev commented on Nov 12, 2026

    @barbatdev
    ContributorAuthor

    Fixed by #382 (merged 348966d): update conflict lines now carry conflict_paths=, covered by TestUpdateConflictNamesUserOwnedPaths.

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

    fleet-qastatus:approved

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions