Diagnose Bluetooth scanning issues
()
| 12731 | # ============================================================================ |
| 12732 | |
| 12733 | # The self-update git logic lives in git_updater.py. Everything there is |
| 12734 | # non-interactive and time-bounded, and every failure carries a machine-readable |
| 12735 | # code plus one sentence the user can act on - see that module's docstring for |
| 12736 | # the failure modes it exists to close. |
| 12737 | RAGNAR_REPO_PATH = git_updater.repo_root() |
| 12738 | |
| 12739 | # Lets the browser tell "the service is back up" from "the service never went |
| 12740 | # down": after an update it waits for this value to change, not just for the API |
| 12741 | # to answer. |
| 12742 | _PROCESS_START_TIME = time.time() |
| 12743 | |
| 12744 | |
| 12745 | _POST_UPDATE_STATUS_PATH = os.path.join(RAGNAR_REPO_PATH, 'data', 'logs', 'post_update.json') |
| 12746 | |
| 12747 | # A post-update run writes its status on every step change. The slowest step |
nothing calls this directly
no test coverage detected