Repository navigation
fix(v0.9.3): self-spawn quorumrag.exe Session-1 bridge, sign quorum-desktop.exe & bound drive probes - #102
Merged
Conversation
…esktop.exe & bound drive probes
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
Fixes the root cause behind Windows 11 Smart App Control (
CreateProcessAsUserW failed (err=4551)) blocking the Session-1 Google Drive (G:\My Drive) bridge under installedLocalSystem(Session 0) services, and releases QuorumRAG v0.9.3:Fix
quorum-desktop.exeAuthenticode Signing Bug inscripts/package.ps1&scripts/submit_to_microsoft.ps1:scripts/package.ps1invokedpowershell -File scripts\submit_to_microsoft.ps1 ... -Files $ReleaseExe, $DesktopExe. PowerShell's-FileCLI parser splits comma-separated array arguments across positional parameters, silently dropping$DesktopExesoquorum-desktop.exewas embedded into the MSI completely unsigned (Status: NotSigned) and immediately blocked by Windows 11 Smart App Control (err=4551) when Session 0 spawnedquorum-desktop.exe --session-fs-bridge.& $SubmitScript -Files @($ReleaseExe, $DesktopExe)directly in-process inscripts/package.ps1, hardenscripts/submit_to_microsoft.ps1to also split comma-delimited entries, and add a fail-closed Authenticode parity check that fails packaging immediately ifquorumrag.exeis signed whilequorum-desktop.exeisNotSigned.Primary
quorumrag.exe --session-fs-bridgeSelf-Spawn (Zero Smart App Control Popups):session_bridge_server::run_session_fs_bridgedirectly intocrates/quorum-daemon/src/main.rsat fast-path startup (before Clap/Tokio/tracing/DB init) soquorumrag.exe --session-fs-bridge --parent-pid <pid>hosts the exact same silent loopback Session-1 bridge with zero console window (CREATE_NO_WINDOW).ensure_win_session_fs_bridge()to spawnstd::env::current_exe()(quorumrag.exe) first (guaranteed permitted by Windows 11 Smart App Control with zero desktop popups because it is the exact binary already executing the service, while demand-paging keeps bridge RSS minimal), withquorum-desktop.exeas secondary fallback.Bounded Parallel Drive Enumeration & 10s Drive Cache (Anti-Dokan-Stall):
session_bridge_server.rs:enumerate_session_drives()to perform instant (0 ms) kernelGetDriveTypeW+QueryDosDeviceW+ HKCU Google DriveSyncTargetsregistry discovery, followed by parallel per-drive metadata enrichment capped at a strict1.2 sdeadline with a 10-second cache.G:\) from stalling/bridge/drivesor hiding mounted drives (C:\,D:\,G:\) behind client timeouts.Regression Tests & Version Bump (
0.9.2->0.9.3):quorumrag_binary_fallback_hosts_session_fs_bridgeincrates/quorum-daemon/tests/session_fs_bridge_tests.rsverifying bothquorum-desktopandquorumragbinaries host the authenticated Session-1 bridge cleanly.crates/quorum-daemon/tests/packaging_invariants_tests.rs.0.9.2->0.9.3acrossCargo.toml,Cargo.lock,wix/QuorumRAG.wxs,scripts/package.ps1,packaging/linux/build_packages.sh,packaging/macos/build_packages.sh, and.github/workflows/quorumrag-release.yml, and bumped WebUI cache-buster to?v=20261124c.