Internal readiness

This page tracks what SQ Tech owns for XRAY, what still depends on others, and what's missing before XRAY is ready for Studios Quality employees. It's written for maintainers. Statements marked (unverified) haven't been tested against live services.

Status as of December 2026.

What's in place

Area Status
Source XRAY is in the SqTech monorepo under XRAY/. SQ Tech owns the code.
CI build When a CI run includes XRAY (all products, ByProduct with XRAY, or a diff that touches XRAY/), XRAY/eng/build-ci.ps1 runs inside the nuke_ci job. It runs the .NET unit tests, the Electron checks, packages the VS Code extension, publishes a self-contained backend and produces XRAY.Desktop.zip and xray-cockpit-<version>.vsix.
Versioning XRAY/version.json (Nerdbank.GitVersioning) sets the CI product version and the Windows file version of XRAY.exe.
Packages npm packages come from the internal 1ES npm feed. The Electron runtime comes from Microsoft's internal Electron builds (npm run install:electron).
Deployment XRAY/azure-pipelines.deploy.product.yml publishes XRAY.Desktop.zip to Hermes in the Studios Quality XRay product (orgs/studiosquality/products/xray), xrayinternal channel, from the manual Deploy to Hermes stage on main.
Sign-in Microsoft corporate accounts through the dedicated XRAY sign-in app registration (f228c7ba-7219-4265-81b4-82f4e5fbda19, work item 9316). It requires user assignment and has only the Windows broker redirect, so the desktop app, extension and CLI sign in through WAM on Windows. Device code works everywhere. Guests and partners aren't supported. SQTV, Timeline and PixelBot APIs pre-authorize the app.
Code signing The Hermes deploy signs XRAY.exe, the XRAY backend binaries and the unsigned third-party binaries in the zip with Azure Artifact Signing before publishing. BinSkim and antimalware run on the payload first.
Title access Enforced by SqTv for every title-scoped request. XRAY shows only the titles from SqTv /backendapi/Titles. See Sign-in and title access.
User docs This site (XRAY/documentation), published with the SqTech docs.

What the Hermes build doesn't include

The Hermes package is the portable preview: the Electron app, the local backend and the paired VS Code extension. Its binaries are signed, but the paired VSIX and the CLI inside it aren't, and it runs without native capture:

  • No Menu or Gameplay validation that drives a game, no synthetic controller input, no native capture. These need the packaged (MSIX) build with package identity, a signing certificate and the synthetic gamepad driver SDK (eng/package-windows-msix.ps1).
  • Project management, authoring, run history, and the VS Code and MCP tools work.

Gaps and owners

# Gap Impact Next step Owner
1 Hermes access is set up, but nothing has been published yet. XRAY has its own XRay product because every reader of the shared Applications product, including partner tenants, can see all of its channels. The Studios Quality - Central Tech Hermes service connection has roles/product-publisher on the product, and Studios Quality FTE - Worldwide has read access on the xrayinternal channel only. Testers can see the channel but have nothing to install. After this deploy change merges, run Deploy to Hermes on main and confirm a tester can install. When the beta group from work item 9346 exists, grant it on the channel and decide whether to remove the FTE group. SQ Tech
2 Code signing covers the Hermes zip only. The VSIX (and the CLI and MCP binaries inside it) and the MSIX aren't signed. Signing runs for the first time on the first Hermes deploy (unverified). Unsigned extension binaries; can't build the MSIX. Watch the first deploy's BinSkim and signing steps. Sign the VSIX contents and the MSIX with the same Artifact Signing profile. Confirm with electronbuilds@microsoft.com that re-signing the test-signed Electron binaries is supported. SQ Tech
3 Native capture, controller and validation need the signed MSIX and the synthetic gamepad driver SDK. Core automation features are off in the Hermes build. Decide the native distribution path (MSIX through Hermes or another installer), then automate eng/package-windows-msix.ps1 in CI. SQ Tech
4 The SqTech Security pipeline (azure-pipelines.security.yml) now builds XRAY with build-ci.ps1 -SkipTests, since NUKE excludes XRAY/. The build runs inside the CodeQL C# trace, and BinSkim scans the packaged app: XRAY.exe, the Electron runtime and the backend. XRAY's JavaScript and TypeScript were already scanned by the template's SDL Sources CodeQL job. APIScan is still opt-in and doesn't include XRAY. This hasn't run on main yet (unverified). While XRAY's CredScan findings break the job, CodeQL skips C# for every product. We don't know XRAY's BinSkim and CodeQL C# findings yet. Once the CredScan suppressions are in, check the first main run. Fix each XRAY finding or track it with an owner. Add accepted third-party binaries to the BinSkim exclusions in azure-pipelines.security.yml. SQ Tech
5 The VS Code extension's Node tests have known upstream failures and aren't run in CI. Native, Windows-only and live-service tests are excluded by category. Extension regressions aren't caught. Fix the extension tests and add them to build-ci.ps1. Add a self-hosted lane for the native tests. SQ Tech
6 The legacy MAUI app (src/Xray.App) and GamepadWorker aren't built in CI. None for the Electron app; the code may drift. Decide whether to retire the MAUI app. SQ Tech
7 Title access follows SqTv's configured Roster source. Until SqTv uses Roster v2, Roster v2 changes don't affect XRAY. Complete the SqTv Roster v2 cutover. SQ Tech (Roster v2)
8 Telemetry and analytics: Application Insights (West US 3) and Microsoft Clarity project yy9inidsmx were created upstream. We can't see or control the data, retention or privacy review. Find the owners; move both to SQ Tech subscriptions and update the privacy review. SQ Tech
9 GitHub sign-in needs a GitHub OAuth app; XRAY_GITHUB_CLIENT_ID is empty in CI. GitHub repository features are off in CI builds. Find or create an owned OAuth app and add the client ID as a pipeline variable. SQ Tech
10 The old download link (aka.ms/XRAY/DesktopApp/Windows) points to a personal OneDrive. Users may install an unmanaged build. Point it to these docs or to Hermes. aka.ms link owner
11 SqTv API compatibility: recording upload, video upsert, attachments and Timeline batch calls (unverified). Uploads or run history may fail in production. Run an end-to-end test against SqTv dev, then production. SQ Tech
12 Resolved. CI run 62079 on a 1ES build agent used Node 22 from NodeTool, installed Electron 42.11.18 from the internal mirror and packaged XRAY.Desktop.zip. CI depends on the mirror, and an Electron upgrade fails until its build is mapped. Add each new Electron version's build to the builds table in apps/xray-electron/scripts/install-electron-runtime.mjs. If the mirror becomes unreliable, cache the runtime in an internal feed. SQ Tech
13 cross-spawn security update waits for the 1ES npm feed to release the quarantined package. Known advisory stays open. Complete PR 15967 when the package is available. SQ Tech
14 Studios Quality FTE - Worldwide and each group nested inside it are assigned to the XRAY sign-in app. Entra app assignment doesn't follow nested groups, so each nested group is assigned separately. Users outside that tree, such as vendors and partners, aren't assigned. Studios Quality FTEs can sign in. Others get AADSTS50105. A group that's later added to FTE - Worldwide gets no access until it's assigned too. When the beta group from work item 9346 exists, an app owner assigns it to the app. Recheck the nested groups when the FTE tree changes. App owners
15 FoundryProxyApi Prod doesn't pre-authorize the XRAY sign-in app. AI screen validation fails or asks for consent. The FoundryProxy owners add the app to Authorized client applications. FoundryProxy owners
16 The new app has only the Windows broker redirect. Interactive sign-in in the macOS MAUI app or a non-Windows CLI fails; device code still works. Add a loopback or macOS broker redirect if non-Windows users need it. App owners
17 Five NativeStage tests fail on the hosted CI agent and are tagged IgnoreOnCI. Two need an interactive session (Win2D CanvasDevice, GraphicsCaptureItem). Three score GDI+ pixels differently on the Windows Server image (RecordedPhysicalViewportMatchesIndependentPixelsBeforeInputAndSurvivesResize, TerminalImageRequiresRealPixelsWithoutEditingSavedRegions and TerminalLoadingPlaybackPreservesFinalInputAndRequiresVisualArrival). Regressions in capture and menu-screen scoring aren't caught in CI. Find out why the GDI+ scores differ on the agent and make the tests deterministic. Run the session-bound tests in the self-hosted native lane (gap 5). SQ Tech

Release checklist for a Hermes deployment

  1. CI on main succeeds for XRAY, and the XRAY.Desktop.zip artifact exists.
  2. Download the artifact, extract it, start XRAY.exe, sign in and open a project.
  3. Install the paired VSIX in VS Code and check that xray_status works in Copilot Chat.
  4. Run the Deploy to Hermes stage, and approve the Hermes-Production environment.
  5. Install from Hermes on a clean PC and repeat step 2.
  • Edit this page
In this article
Back to top Generated by DocFX