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
Extract ordinary functions for session directories and app-log paths, so device-claim recovery no longer constructs a SessionStore just to locate artifacts. Replace SessionStore.expandHome callers with the existing path function. The home-expansion control now checks the exact result.
Targets main independently. Consolidates #3134 and owning review corrections; 10 files. Part of #3116.
Validation
Commit 1dc0c5eba6dbf8217148e29c49f8cb316a25047a: pnpm check:affected --base d396f3b509 --run passed all runnable checks. 2679 related tests passed. GitHub checks are running on this head.
The initial consolidation (before later keeper fixes) reproduced the pre-consolidation tree at f71996e197 (tree e26fb2928d4a33b05a6092643ff83d9b22d1353f). Previous native evidence and review findings keep their original head attribution.
The PR is ready at 1dc0c5e. Not blocking: the doc comment on isSafeSessionSegment in packages/host-kit/src/session-paths.ts still names SessionStore.resolveSessionDir, but the owner is now resolveSessionDir in src/daemon/session-artifact-paths.ts, and resolveSessionAppLogPath and resolveSessionAppLogPidPath have no direct test, so take or leave both. All 19 checks pass. I did not run the test suite or the affected-package check myself, and I did not do a live device run, since this only moves path resolution and the app-log paths resolve to the same values as before. I know of no conflicts. Nothing else stands in the way of merge, and Cubic has not reviewed this head yet.
The one earlier thread does not apply, so please resolve it: Cubic's P3 on the session-paths test is fixed at this head, which now asserts exact equality with the joined home path (#3186 (comment)).
Preview removed because the pull request was closed.
2026-10-04 01:35 UTC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ready-for-humanValid work that needs human implementation, judgment, or maintainer merge
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extract ordinary functions for session directories and app-log paths, so device-claim recovery no longer constructs a
SessionStorejust to locate artifacts. ReplaceSessionStore.expandHomecallers with the existing path function. The home-expansion control now checks the exact result.Targets
mainindependently. Consolidates #3134 and owning review corrections; 10 files. Part of #3116.Validation
Commit
1dc0c5eba6dbf8217148e29c49f8cb316a25047a:pnpm check:affected --base d396f3b509 --runpassed all runnable checks. 2679 related tests passed. GitHub checks are running on this head.The initial consolidation (before later keeper fixes) reproduced the pre-consolidation tree at
f71996e197(treee26fb2928d4a33b05a6092643ff83d9b22d1353f). Previous native evidence and review findings keep their original head attribution.