Skip to content

refactor(desktop): isolate relay auth policy - #12

Merged
RossHartmann merged 2 commits into
mainfrom
fix/preview-desktop-auth-size-20260730
Jul 30, 2026
Merged

refactor(desktop): isolate relay auth policy#12
RossHartmann merged 2 commits into
mainfrom
fix/preview-desktop-auth-size-20260730

Conversation

@RossHartmann

Copy link
Copy Markdown

Summary

  • move the canonical preview NIP-42 policy and its tests into a focused module
  • restore the legacy relay source below the desktop file-size ratchet
  • preserve the already-merged fail-closed behavior unchanged

Validation

  • desktop file-size ratchet passed
  • cargo fmt --manifest-path desktop/src-tauri/Cargo.toml -- --checkn- git diff --checkn- PR fix(desktop): support canonical preview auth #11 Windows Rust compile and cross-platform smoke jobs passed; this follow-up is a source-only relocation after its Desktop Core ratchet identified the oversized legacy file

Signed-off-by: Ross Hartmann <1750494+RossHartmann@users.noreply.github.com>
Signed-off-by: Ross Hartmann <1750494+RossHartmann@users.noreply.github.com>
@RossHartmann
RossHartmann force-pushed the fix/preview-desktop-auth-size-20260730 branch from 87e16d6 to 3af9409 Compare July 30, 2026 20:28
@RossHartmann
RossHartmann merged commit dfddc8c into main Jul 30, 2026
27 checks passed
@RossHartmann
RossHartmann deleted the fix/preview-desktop-auth-size-20260730 branch July 30, 2026 20:43
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.

1 participant