You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6771128
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(daemon): decide the appstate named-session refusal once, at admission (#3674)
The device-runtime lane re-read the session store and re-ran the naming check after
awaiting device resolution, so a store change mid-await could move the request into
a different error family than the one it was admitted into, and the classifier was
spelled out twice. Admission now carries one typed namedSessionMissing fact, decided
from the same store read as the admission session itself. A bare --udid still
resolves its stated target first and answers the typed reason from the resolved
device — pinned by asserting the resolution call, not just the payload — and the
store-changes-during-resolution case pins the snapshot semantics. The manifest-first
docstrings say what actually happens: the manifest's identity is re-resolved against
the host for the live device fields, with the session/device assertions failing
closed.
Co-Authored-Worked-On-By: Claude
0 commit comments