fix(canary): tui_startup_canary self-bootstraps against the current deployment

This commit is contained in:
Nick committed 2026-09-11 02:39:54 +01:00
1 parent 174e11f23a
commit 76f71fc7e6
1 file changed
+6
+6
View File
@@ -16,6 +16,12 @@ import json
import os
import sys
# Self-bootstrap: when the CURRENT deployment exists, run against it (the
# consuming path), so this canary always proves what the launcher proves.
_CURRENT = "/mnt/workdrive/rune-code/current/src"
if os.path.isdir(_CURRENT) and _CURRENT not in sys.path:
sys.path.insert(0, _CURRENT)
async def _canary() -> dict:
from textual.widgets import Static # noqa: F401 — imports must resolve