Skip to content

Conversation

@JMBeresford
Copy link
Owner

No description provided.

@nx-cloud
Copy link

nx-cloud bot commented Nov 7, 2025

View your CI Pipeline Execution ↗ for commit 8ba2c72

Command Status Duration Result
nx build retrom-client --args=--target x86_64-a... ✅ Succeeded 5m 37s View ↗
nx build retrom-client --args= ✅ Succeeded 7m 2s View ↗
nx build retrom-client --args=--target aarch64-... ✅ Succeeded 4m 24s View ↗
nx noop ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2025-11-09 22:19:30 UTC

@nx-cloud
Copy link

nx-cloud bot commented Nov 7, 2025

View your CI Pipeline Execution ↗ for commit 0bb2b66

Command Status Duration Result
nx noop ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-11-07 09:03:41 UTC

@JMBeresford JMBeresford requested a review from Copilot November 9, 2025 21:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements cross-origin isolation headers across the application to enable SharedArrayBuffer and other features that require a secure context. The changes add middleware for setting COOP and COEP headers in multiple layers of the application stack, and updates Tauri dependencies to newer versions.

Key Changes

  • Added cross-origin isolation middleware to the REST service that sets Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: credentialless headers
  • Implemented header injection for the Tauri webview launcher window and Vite development server
  • Updated Tauri and related plugin dependencies to newer versions (2.8.x → 2.9.x)

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
packages/rest-service/src/middleware/mod.rs Declares new middleware modules for cache control and cross-origin isolation
packages/rest-service/src/middleware/cross_origin_isolation.rs Implements middleware to add cross-origin isolation headers to all responses
packages/rest-service/src/middleware/cache_control.rs Implements middleware to add cache-control headers to all responses
packages/rest-service/src/lib.rs Refactors service setup to use new middleware modules and removes inline response mapping
plugins/retrom-plugin-launcher/src/commands.rs Adds header injection callback to webview window for emulator frame requests
packages/client-web/vite.config.ts Adds Vite plugin to inject cross-origin isolation headers in dev and preview servers
packages/client/tauri.conf.json Updates COEP header value (contains typo)
Cargo.toml Updates Tauri and plugin dependencies to newer versions
Cargo.lock Lock file updates reflecting dependency version changes

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@JMBeresford JMBeresford merged commit 54c97e3 into main Nov 9, 2025
14 checks passed
JMBeresford added a commit that referenced this pull request Nov 10, 2025
🤖 I have created a release *beep* *boop*
---


##
[0.7.43](v0.7.42...v0.7.43)
(2025-11-09)


### Features

* update emulatorJS version 4.2.1 -&gt; 4.2.3
([58de623](58de623))


### Bug Fixes

* built-in ppsspp emulation
([#433](#433))
([54c97e3](54c97e3))
* cache control header for public files
([2dad54d](2dad54d))
* catch memory access error in web emulation
([08d39c4](08d39c4))
* overlay UI tweaks
([92c4f6f](92c4f6f))


### Performance Improvements

* add database indexes and optimize hot paths
([#427](#427))
([f80b0e0](f80b0e0))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

2 participants