Skip to content

fix(container-indicator): make deletion checks and feedback consistent - #4

Merged
AndrewDi merged 1 commit into
AndrewDi:feat/container-indicator-delete-entryfrom
xcv58:codex/container-indicator-delete-follow-up
Nov 30, 2026
Merged

AndrewDi merged 1 commit into
AndrewDi:feat/container-indicator-delete-entryfrom
xcv58:codex/container-indicator-delete-follow-up

Conversation

@xcv58

@xcv58 xcv58 commented Nov 28, 2026

Copy link
Copy Markdown

Problem and result

Follow-up to mactools-app#555. The menu-bar widget now checks the confirmed container immediately before deleting it. The row and feedback reflect the information MacTools can verify.

Changes

  • Verify the selected stopped container with a fresh inspection. Cancel pending verification if the panel closes, including when a Details window keeps polling.
  • Distinguish inspection errors, confirmed changes, and unconfirmed delete timeouts. Keep timeout feedback until a successful list refresh resolves the original container.
  • Retire a row immediately after a successful delete. Refresh after a rejected inspection and show explicit statuses for stopping and unknown containers.

Verification

  • 22 focused ContainerIndicator tests passed in a local Swift harness with a fake CLI.
  • make validate-localization, make validate-changelog, and git diff --check passed.
  • Two low-severity row display cases are deferred. A failed or timed-out delete can leave stale controls until refresh, and a replacement already shown in the list can keep an outdated status if a follow-up refresh fails.

UI evidence

Native screenshots and manual confirmation checks are pending. The automated checks used a fake CLI.

Checklist

  • Core behavior and relevant risks are verified using existing tests, focused additions, or manual checks; results or limitations are recorded.
  • UI evidence is attached where applicable; shared components, themes, localization, and accessibility are respected.
  • User-facing documentation and changelog fragments are updated when required.
  • Plugin metadata, runtime contracts, action policies, and minimum-host compatibility agree.
  • Licensing and third-party notices are complete; no credentials, local configuration, or unrelated generated files are included.

@xcv58
xcv58 marked this pull request as ready for review November 29, 2026 18:35
@AndrewDi
AndrewDi merged commit 02ee877 into AndrewDi:feat/container-indicator-delete-entry Nov 30, 2026
1 check failed
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.

2 participants