Add "pulling" state to surface image-pull progress during update checks#44
Merged
Add "pulling" state to surface image-pull progress during update checks#44
Conversation
Agent-Logs-Url: https://github.com/gensyn/ssh_docker/sessions/b5a50c73-3d8c-414b-8b1e-6765ed2dcd92 Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com>
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When
check_for_updates=True,docker pullcan 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: Callset_pending_state("pulling")immediately before thedocker pullSSH command. The state is cleared byasync_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:"pulling"totransitionalStates(suppresses action buttons)showRefresh/showLogs(same treatment as"initializing")#2471a3)tests/unit_tests/test_sensor.py: Addtest_pulling_pending_state_set_during_update_check— asserts the pending state is"pulling"when the pull command executes andNoneafter 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.