Skip to content

Add "pulling" state to surface image-pull progress during update checks#44

Merged
gensyn merged 3 commits intomainfrom
copilot/add-image-pulling-indication
Mar 27, 2026
Merged

Add "pulling" state to surface image-pull progress during update checks#44
gensyn merged 3 commits intomainfrom
copilot/add-image-pulling-indication

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 27, 2026

When check_for_updates=True, docker pull can block for up to 600 seconds. During this time all affected containers remained stuck on "initializing" with no visible indication, making it impossible to distinguish a slow pull from a hung entry.

Changes

  • coordinator.py: Call set_pending_state("pulling") immediately before the docker pull SSH command. The state is cleared by async_request_refresh() on completion, consistent with all other transitional states (recreating, refreshing, etc.).

  • Translations (strings.json, translations/en.json, translations/de.json): Add "pulling""Pulling" / "Image wird geladen".

  • frontend/ssh-docker-panel.js:

    • Add "pulling" to transitionalStates (suppresses action buttons)
    • Exclude from showRefresh / showLogs (same treatment as "initializing")
    • Assign a distinct dark-blue color (#2471a3)
    • Include in the state filter bar
  • tests/unit_tests/test_sensor.py: Add test_pulling_pending_state_set_during_update_check — asserts the pending state is "pulling" when the pull command executes and None after the refresh completes.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add image pulling indication for initializing containers Add "pulling" state to surface image-pull progress during update checks Mar 27, 2026
Copilot AI requested a review from gensyn March 27, 2026 08:24
@gensyn gensyn marked this pull request as ready for review March 27, 2026 09:38
@gensyn gensyn merged commit ac34139 into main Mar 27, 2026
5 checks passed
@gensyn gensyn deleted the copilot/add-image-pulling-indication branch March 27, 2026 09:38
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