Auto-update docker and act in run_workflows_locally.sh#50
Conversation
…s_locally.sh Agent-Logs-Url: https://github.com/gensyn/ssh_docker/sessions/987434b9-a622-447f-b6ca-13e867181dc0 Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com>
|
@copilot Why are those functions in |
…s.sh Agent-Logs-Url: https://github.com/gensyn/ssh_docker/sessions/f73153da-1dc4-4342-8cec-7f6f255cfcff Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com>
Good catch — the install/update logic was in the wrong script. Fixed in e671e4b: |
|
@copilot Oh no, my mistake. |
… run_playwright_tests.sh Agent-Logs-Url: https://github.com/gensyn/ssh_docker/sessions/a24f4bcc-7aa7-4448-a8e4-43ebb5b74701 Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com>
|
@copilot When I run This feels like an error that needs to be adressed, but the overall result is that all tests were successful. |
Agent-Logs-Url: https://github.com/gensyn/ssh_docker/sessions/4fee198e-3bf3-4dd5-94ef-d28d73f83fde Co-authored-by: gensyn <36128035+gensyn@users.noreply.github.com>
... Fixed in 7bdc8bf. The warning was caused by The fix changes hass.async_create_task = lambda coro, *a, **kw: coro.close()This explicitly discards the coroutine (matching what a real "fire and forget" background task would do in tests) and suppresses the warning. All 76 unit tests still pass. |
install_docker()andinstall_act()inrun_workflows_locally.shshort-circuited on first presence check, never updating already-installed tools.Changes
install_docker(): when Docker is present, attempt an in-place upgrade via the OS package manager before returningapt-get install --only-upgradeon Debian/Ubuntuyum updateon RHEL/Fedora/CentOSinstall_act(): when act is present, compare the installed version against the latest GitHub release tag; re-run the upstreaminstall.shonly when they differgrep -oE '[0-9]+\.[0-9]+\.[0-9]+'on both sources so thev-prefix in GitHub tags is stripped consistently💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.