Skip to content

Add bounded authorized persisted desktop run queries - #4457

Merged
Jason Morse (JasonVMo) merged 3 commits into
mainfrom
jasonmo-microsoft-f8-run-queries
Nov 6, 2026
Merged

Jason Morse (JasonVMo) merged 3 commits into
mainfrom
jasonmo-microsoft-f8-run-queries

Conversation

@JasonVMo

@JasonVMo Jason Morse (JasonVMo) commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

Implements F8 (#4439) with collector-authoritative persisted run/status/artifact queries under desktop-test/src/reporting/ and an explicit ./reporting/run-queries package export. Adds bounded pages and text, explicit omission counts, opaque artifact IDs and snapshot-bound cursors, expiring/revocable harness-local read grants, and read-time redaction/retention with fail-closed storage validation.

Collector snapshots now persist active state and use additive optional terminal metadata. Missing legacy terminal evidence remains incomplete; active, unfinished, and required all-skipped runs are not projected as success. Reader reconnect/recreation does not restart execution. Includes API/reporting documentation, current-status updates, tests, and a patch changeset. No lifecycle, native, Storybook, driver, or management-MCP surface was added by F8.

Mainline integration: Normal merge 479b9e0619f6ce6b7016aa8f68e97370335c07b1 incorporates F7 from main 0cfecf0b3a8d135c7cd7f5f6abc0400a9f00a3eb, following the earlier F1 integration at 474b4a6ce69f07f9a307e414bb0c4193d49f4892. The sole conflict, desktop-test/references/current-status.md, was resolved additively: F7 neutrality/standalone-consumer evidence, F1 composition/recovery rows, F8 persisted-query completion, and separate management/control work remain represented. Driver ./native, harness ./driver-service, and ./reporting/run-queries exports remain present; F1's shared service uses F7's native subpath. No unmerged sibling branch was integrated.

Closes #4439.

Verification

Post-F7 validation at 479b9e0619f6ce6b7016aa8f68e97370335c07b1:

  • yarn install --immutable — passed with existing peer warnings and no lockfile change.
  • cd packages/agentic/desktop-test && yarn build — passed.
  • cd packages/agentic/desktop-test && yarn test runQueries contracts — passed, 2 suites and 56 tests.
  • cd packages/agentic/desktop-driver && yarn test recovery — passed, 1 suite and 12 tests.
  • Initial yarn clean-lage-cache && yarn lage buildci && yarn lage test-links --verbose --grouped — cache clear passed; buildci failed with 141 successful tasks and 1 failure because privateStorage.test.ts exceeded its 10000 ms deadline. Links were not run in this attempt.
  • yarn --cwd packages/agentic/desktop-driver test privateStorage — passed, 62 tests passed and 10 skipped; 2 suites passed and 1 skipped.
  • Retry yarn lage buildci && yarn lage test-links --verbose --grouped — passed; buildci executed 44 successful tasks and reused 134 cached tasks, with 0 failures; links completed 90 successful tasks with 0 skipped/failed.
  • Final yarn lage buildci --no-cache — passed, all 178 tasks successful, 0 skipped/failed.

The coordinator independently read the retained aggregate failure/retry/uncached logs and verified a clean worktree, F7 mainline ancestry, local/remote/PR head equality, and GitHub mergeable: true after the normal push. Focused results and immutable-install status above are reported by the implementation owner. Both the private-storage test and implementation are unchanged from the preceding F8 head; the timeout cause remains unconfirmed, and a retry pass is not proof of a baseline defect or a fix. Fresh hosted PR validation was still in progress when this evidence was captured.

Historical pre-integration validation at aa868544bc9b67b3f4c12dfb78ed5aa5d62542d8 (not fresh-head results):

  • yarn --cwd packages/agentic/desktop-test format — passed.
  • yarn --cwd packages/agentic/desktop-test lint — passed.
  • yarn --cwd packages/agentic/desktop-test build — passed.
  • yarn --cwd packages/agentic/desktop-test test — passed, 6 suites and 70 tests.
  • yarn change:check — passed.
  • yarn check-agent-instructions — passed.
  • yarn oxfmt --check — passed.
  • git diff --check — passed.
  • yarn clean-lage-cache && yarn lage buildci — passed, 178 successful tasks and 0 failed/skipped/aborted.
  • yarn lage test-links --verbose --grouped — passed, 90 successful tasks and 0 failed/skipped/aborted.
  • Public @fluentui-react-native/desktop-test/reporting/run-queries import check — passed.

Native/Storybook/physical-input qualification and Windows/Win32 execution were not run; this change does not modify native or platform behavior, and JavaScript checks do not qualify native behavior. No Storybook app or desktop-driver app/service was launched for post-main validation. The privilege-dependent Windows file-symlink case is explicitly skipped on Windows. One early package test run encountered the existing 5-second owned-service fixture deadline; isolated contract and subsequent full-suite runs passed. Its cause is unconfirmed, so it is disclosed as an unattributed transient timing failure rather than a proven baseline defect.

Before After
Not applicable — no user-facing visual change. Not applicable — infrastructure/reporting API change.

Pull request checklist

This PR has considered (when applicable):

  • Automated Tests
  • Documentation and examples
  • Keyboard Accessibility
  • Voiceover
  • Internationalization and Right-to-left Layouts

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Bundle size report

Tree-shaken, minified production esbuild bundles with React and React Native runtimes externalized.

Scenario Modules-Mac (Δ) Modules-Win (Δ) Size-Mac (Δ) Size-Win (Δ)
components-button 79 (+1) 80 (+1) 72.78k (-842b) 72.71k (-842b)
components-catalog 228 (+1) 229 (+1) 228.46k (-855b) 228.38k (-855b)
design-themed-root 55 (+4) 56 (+4) 56.26k (+998b) 56.18k (+998b)
design-color-lib 6 (+0) 6 (+0) 6.27k (+0b) 6.27k (+0b)
design-theme-state-legacy-source 49 (+1) 50 (+1) 52.96k (-841b) 52.89k (-841b)
design-legacy-theme 42 (+0) 42 (+0) 39.11k (+0b) 42.91k (+0b)
design-legacy-theme-from-flex 58 (+4) 58 (+4) 60.70k (+824b) 64.51k (+822b)
design-fluent-light-theme 7 (+0) 7 (+0) 18.74k (+0b) 22.59k (+0b)
design-fluent-theme 35 (+0) 35 (+0) 27.46k (+4b) 31.25k (-1b)
design-fluent-hc-theme 32 (+0) 32 (+0) 27.34k (+0b) 31.13k (+0b)
design-flex-theme 29 (-4) 29 (-4) 14.30k (-9.07k) 14.29k (-9.07k)
design-flex-cool-theme 26 (New) 26 (New) 12.51k (New) 12.50k (New)
design-flex-warm-theme 26 (-7) 26 (-7) 12.28k (-11.15k) 12.27k (-11.15k)

The job is advisory: size changes are reported but do not fail the pull request. Bundle or analysis errors still fail.


View bundle-size workflow run

…run-queries

# Conflicts:
#	packages/agentic/desktop-test/references/current-status.md
Preserve F7 native boundaries alongside F8 persisted query status.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.

Infrastructure: Expose bounded persisted desktop test-run and artifact queries

2 participants