Verify Windows daemon mutation acceptance and restart persistence against a real graphcoded process - #507
Merged
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Signed-off-by: Colin Neilens <coneilen@microsoft.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Signed-off-by: Colin Neilens <coneilen@microsoft.com>
coneilen
force-pushed
the
coneilen-microsoft-daemon-persistence-acceptance
branch
from
September 29, 2026 03:09
6550e43 to
c072128
Compare
5 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Add headless Windows evidence that production
DaemonClientmutations reach a realgraphcoded.exe, are accepted, and survive daemon restart. This closes the daemon acceptance/persistence residual for five parity rows; all five remainPartial.Changes
graphChangedreplies, persisted graph readback, clean restarts, and the production-derived lifetime mutex.Test plan
RED: Existing unstarted-client queue tests -> they proved command construction and queueing only; with no real-daemon round-trip, daemon acceptance and save/reload could not be asserted.
GREEN:
Tools\windows\Tests\DaemonRoundTrip.Live.Tests.ps1->REAL_DAEMON_ROUNDTRIP: PASS; correlated replies confirmed mutation acceptance and a fresh daemon process read back persisted identities/configuration.REGRESSION: Pinned Zig helper filter ->
All 1 tests passed; PowerShell parser checks -> both test scripts parsed successfully;git diff --check origin/main...HEAD-> exit 0.The live harness also observed the production-derived
Global\graphcode-daemon-…mutex while each real daemon was running andERROR_FILE_NOT_FOUNDafter clean shutdown. It used isolated support state and left the default support tree unchanged. No foreground/UIA, modal, keyboard, app-launch, or native-input evidence is established. The session-ID marker was synthetic, so this verifies mapping-file preservation, not a live backend session. The five ledger rows remainPartialfor those missing UI and platform-runtime proofs. The Windows workflow is expected to run because this PR adds a Zig test root and changesTools/windows/Tests; fullmake testandmake checkwere not run locally.Checklist
make test)make check)