Skip to content

fix(androidctl): rediscover daemon after shutdown race#1

Open
47seek wants to merge 1 commit into
Azure99:mainfrom
47seek:fix/runtime-rediscovery-on-daemon-shutdown
Open

fix(androidctl): rediscover daemon after shutdown race#1
47seek wants to merge 1 commit into
Azure99:mainfrom
47seek:fix/runtime-rediscovery-on-daemon-shutdown

Conversation

@47seek

@47seek 47seek commented Jun 24, 2026

Copy link
Copy Markdown

Summary

  • port the missing client-side runtime rediscovery fix from internal androiduse
  • retry daemon discovery once when runtime/get hits a shutting-down daemon
  • add regression coverage for connection-loss and RUNTIME_BUSY shutdown races

Source

  • internal reference commit: e1d3e60cf001978c433084ab5c463921e62a34d5
  • upstream already contains the daemon-server-side retirement fix in 6df2f57d318c29102aae6b4d5c8c6949847fcc8c
  • this patch only ports the missing androidctl client retry path and tests

Testing

  • .venv/bin/pytest androidctl/tests/unit/test_run_pipeline.py -q
  • .venv/bin/ruff check androidctl/src/androidctl/commands/run_pipeline.py androidctl/tests/unit/test_run_pipeline.py

Adapt the missing client-side retry from internal commit e1d3e60cf001978c433084ab5c463921e62a34d5.

Upstream already contains the androidctld-side active-slot retirement fix, so this only ports the runtime/get rediscovery path and its regression tests.
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.

1 participant