Skip to content

fix: expose failed user-session admission in snapshots - #226

Merged
PLN merged 1 commit into
mainfrom
fix/session-failure-visibility
Sep 14, 2026
Merged

PLN merged 1 commit into
mainfrom
fix/session-failure-visibility

Conversation

@PLN

@PLN PLN commented Sep 14, 2026

Copy link
Copy Markdown
Owner

An unavailable interactive profile can fail token/known-folder lookup before the broker accepts a SID. The SYSTEM broker previously logged that failure but exposed no reason in its snapshot. A genuine standard-user hive access-denial fixture reproduced the missing diagnostic across 135 snapshots; restoring the exact hive permissions recovered the same Windows logon without disturbing a peer user.

Add session-scoped token/profile, identity and delegated-probe failure records independently of admitted manager ownership. Retention follows the existing 4096-session bound. Snapshots return 128 sorted details of at most 256 UTF-8 bytes and an explicit omitted count. Successful retry, logoff, authoritative removal, changed policy and shutdown clear obsolete errors; request and policy revision guards reject late completions.

Validation: targeted wire/lifecycle/capacity tests, the full local race suite and relevant vet checks passed. Exact-source CI 34834516120, attempt 1 passed for 187fc6f1e761df1be5c871bcea90efce03140051.

The immutable CI artifact passed native SYSTEM service/snapshot/stop and standard-user headless S4U workload/profile-cleanup checks. Two genuine concurrent standard-user Windows logons passed hive access-denial visibility/recovery, supported local known-folder redirection, and delegated UNC/reparse-path rejection with session errors. Each fault retained the peer manager/invocation and recovered the original native logon; restored snapshots cleared the error. Both-user admission/SCM recovery, final logoff/no-resurrection and verified account/profile/credential/network/registry/ACL/payload/service restoration also passed. Exact artifacts, failed driver attempts and raw evidence remain private.

The broader R4 gate remains open. These observations do not qualify policy/shutdown races inside native manager creation or the remaining security and linger matrix. The tested source tree is 3dd7f19f1c2d5bdb5ea7497944aa3e7b08224d9f; verify equal merged tree before acceptance.

@PLN
PLN marked this pull request as ready for review September 14, 2026 11:12
@PLN
PLN merged commit f756c3f into main Sep 14, 2026
3 checks passed
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