Skip to content

[2081 by GPT-5.6 Sol] Use exact origin parsing in desktop credential-service lookalike-host regression - #2082

Closed
propr-dev[bot] wants to merge 1 commit into
1951-epic-desktop-experience-uxsfrom
2081/gpt-5.6-sol-use-exact-origin-parsing--20260902-1930-ruo
Closed

propr-dev[bot] wants to merge 1 commit into
1951-epic-desktop-experience-uxsfrom
2081/gpt-5.6-sol-use-exact-origin-parsing--20260902-1930-ruo

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #2081

Branch: 2081/gpt-5.6-sol-use-exact-origin-parsing--20260902-1930-ruo
Commits: ✅ Changes committed (4f12085)


AI Processing Completed

Execution Details:

Summary:
Implemented the narrow test-only fix in credential-service.test.ts.

Changes:

  • Parses the captured URL with URL.
  • Asserts exact origin, hostname, pathname, empty query, null authorization, and request count.
  • Explicitly rejects attacker.example.test.evil.invalid.
  • Preserves existing credential and rejection assertions.
  • No production or unrelated files changed.

Verification:

  • Credential-service tests: 69/69 passed.
  • npm run desktop:typecheck: passed.
  • Supplemental TypeScript ESLint/static check: passed; CodeQL CLI is not locally installed.
  • Vulnerable startsWith pattern is absent.
  • git diff --check: passed.

Detailed Logs:

  • Conversation: 48 messages
  • Session: 01a0639a-77d9-7e62-8183-15ded0a3fa8b

Log files stored at:

  • conversation: /tmp/claude-logs/issue-2081-2026-09-02T19-35-28-498Z-conversation.json
  • output: /tmp/claude-logs/issue-2081-2026-09-02T19-35-28-498Z-output.txt
Latest Conversation Messages

This PR was created automatically by ProPR after processing issue #2081.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

…edential-ser

Implemented by ProPR AI using gpt-5.6-sol model.

Implementation completed successfully.
@propr-dev

propr-dev Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate unsigned linux-x64 package

Please investigate and fix this CI failure.

  • Check: Validate unsigned linux-x64 package
  • Result: failure
  • Commit: 4f1208570dc9 (4f1208570dc9895b1f649035815a302c795b4bde)
  • Details: View CI failure

Failure evidence

.github:34
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate unsigned linux-arm64 package

Please investigate and fix this CI failure.

  • Check: Validate unsigned linux-arm64 package
  • Result: failure
  • Commit: 4f1208570dc9 (4f1208570dc9895b1f649035815a302c795b4bde)
  • Details: View CI failure

Failure evidence

.github:34
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor Author

🛑 Execution Cancelled

The task processing was stopped by user request.

You can post a new comment to restart processing.

@propr-dev

propr-dev Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate unsigned darwin-arm64 package

Please investigate and fix this CI failure.

  • Check: Validate unsigned darwin-arm64 package
  • Result: failure
  • Commit: 4f1208570dc9 (4f1208570dc9895b1f649035815a302c795b4bde)
  • Details: View CI failure

Failure evidence

.github:34
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate unsigned darwin-x64 package

Please investigate and fix this CI failure.

  • Check: Validate unsigned darwin-x64 package
  • Result: failure
  • Commit: 4f1208570dc9 (4f1208570dc9895b1f649035815a302c795b4bde)
  • Details: View CI failure

Failure evidence

.github:34
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate unsigned win32-x64 package

Please investigate and fix this CI failure.

  • Check: Validate unsigned win32-x64 package
  • Result: failure
  • Commit: 4f1208570dc9 (4f1208570dc9895b1f649035815a302c795b4bde)
  • Details: View CI failure

Failure evidence

.github:34
Process completed with exit code 1.

@propr-dev

propr-dev Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate unsigned win32-arm64 package

Please investigate and fix this CI failure.

  • Check: Validate unsigned win32-arm64 package
  • Result: failure
  • Commit: 4f1208570dc9 (4f1208570dc9895b1f649035815a302c795b4bde)
  • Details: View CI failure

Failure evidence

.github:34
Process completed with exit code 1.

@integry integry removed the AI label Sep 2, 2026
propr-dev Bot pushed a commit that referenced this pull request Sep 2, 2026
…tial-service.test.ts](/home/node/workspace/apps/desktop/src/credential-service.test.ts:910).

Applied PR #2082’s exact 20-line test-only patch to [credential-service.test.ts](/home/node/workspace/apps/desktop/src/credential-service.test.ts:910).

Validation passed:

- Focused credential-service test: 71/71
- Desktop typecheck
- `git diff --check`
- Scope: one file, 20 insertions, 2 deletions

Left uncommitted and unmerged as instructed. Current exact HEAD remains:

`4c5b1fef1867caa84212602f329d5b3972e13fc5`

PR: #2045
Comment by: @integry (ID: 5515274144)
Model: gpt-5.6-sol
@integry

integry commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Superseded without loss: the exact audited one-file +20/-2 patch is now commit bab3480 on #2045, where it preserves the visual/current-user work and avoids a same-file UX merge conflict. No production, workflow, or lockfile changes from this PR are being discarded. Issue #2081 will close after #2045 merges into the UX subepic.

@integry integry closed this Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Full Test Suite Results

Validation failed during: Full test suite.

  • Dependency install: success
  • Workspace build: success
  • Docs validation: success
  • Redis startup: success
  • Full test suite: failure
View Test Output

> [email protected] test:full:prepared
> npm run test:server


> [email protected] test:server
> node scripts/run-test-suite.mjs


[1/351] apps/desktop/scripts/assert-windows-mvp-package.test.mjs
TAP version 13
# Subtest: Windows MVP ASAR main entry
    # Subtest: uses the rooted listPackage representation accepted by extractFile
    ok 1 - uses the rooted listPackage representation accepted by extractFile
      ---
      duration_ms: 33.449863
      type: 'test'
      ...
    # Subtest: preserves the Windows separator after removing the one archive root
    ok 2 - preserves the Windows separator after removing the one archive root
      ---
      duration_ms: 0.283779
      type: 'test'
      ...
    # Subtest: rejects traversal, duplicate entries, and case-colliding main paths
    ok 3 - rejects traversal, duplicate entries, and case-colliding main paths
      ---
      duration_ms: 0.850737
      type: 'test'
      ...
    1..3
ok 1 - Windows MVP ASAR main entry
  ---
  duration_ms: 35.652747
  type: 'suite'
  ...
1..1
# tests 3
# suites 1
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 287.232408

[2/351] apps/desktop/scripts/build-windows-machine-installer.test.mjs
TAP version 13
# Subtest: sets explicit Windows-1252 MSI and summary code pages in probe and production WXS
ok 1 - sets explicit Windows-1252 MSI and summary code pages in probe and production WXS
  ---
  duration_ms: 1.841776
  type: 'test'
  ...
# Subtest: accepts the exact MSI ProductVersion boundary and retains version and upgrade identity in WXS
ok 2 - accepts the exact MSI ProductVersion boundary and retains version and upgrade identity in WXS
  ---
  duration_ms: 0.517693
  type: 'test'
  ...
# Subtest: rejects every unsupported ProductVersion at the direct installer builder entry point
ok 3 - rejects every unsupported ProductVersion at the direct installer builder entry point
  ---
  duration_ms: 1.868786
  type: 'test'
  ...
# Subtest: uses per-machine scope without explicitly authoring the derived ALLUSERS property
ok 4 - uses per-machine scope without explicitly authoring the derived ALLUSERS property
  ---
  duration_ms: 0.480977
  type: 'test'
  ...
# Subtest: authors the complete per-machine Start Menu contract for x64 and ARM64
ok 5 - authors the complete per-machine Start Menu contract for x64 and ARM64
  ---
  duration_ms: 1.069788
  type: 'test'
  ...
# Subtest: selects only the installed x64 WiX directory or an explicit ARM64 build directory
ok 6 - selects only the installed x64 WiX directory or an explicit ARM64 build directory
  ---
  duration_ms: 0.732157
  type: 'test'
  ...
# Subtest: uses a ten-minute timeout only for production Light
ok 7 - uses a ten-minute timeout only for production Light
  ---
  duration_ms: 0.322117
  type: 'test'
  ...
# Subtest: keeps WiX processes and their emitted diagnostics bounded
ok 8 - keeps WiX processes and their emitted diagnostics bounded
  ---
  duration_ms: 0.184559
  type: 'test'
  ...
# Subtest: emits WiX v3 default registry values without empty Name attributes
ok 9 - emits WiX v3 default registry values without empty Name attributes
  ---
  duration_ms: 2.627134
  type: 'test'
  ...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 248.988656

[3/351] apps/desktop/scripts/packaged-smoke-support.test.mjs
TAP version 13
# Subtest: packaged smoke native window layout
    # Subtest: accepts the preferred size while retaining responsive containment
    ok 1 - accepts the preferred size while retaining responsive containment
      ---
      duration_ms: 1.618428
      type: 'test'
      ...
    # Subtest: accepts the 1024x720-clamped size while retaining responsive containment
    ok 2 - accepts the 1024x720-clamped size while retaining responsive containment
      ---
      duration_ms: 0.15837
      type: 'test'
      ...
    # Subtest: accepts the configured minimum size while retaining responsive containment
    ok 3 - accepts the configured minimum size while retaining responsive containment
      ---
      duration_ms: 0.106701
      type: 'test'
      ...
    # Subtest: accepts the undersized work area while retaining responsive containment
    ok 4 - accepts the undersized work area while retaining responsive containment
      ---
      duration_ms: 0.163597
      type: 'test'
      ...
    # Subtest: rejects an unclamped window or a viewport inconsistent with native content chrome
    ok 5 - rejects an unclamped window or a viewport inconsistent with native content chrome
      ---
      duration_ms: 0.484443
      type: 'test'
      ...
    # Subtest: accepts actual reduced native sizing only when both minimum constraints are exercised
    ok 6 - accepts actual reduced native sizing only when both minimum constraints are exercised
      ---
      duration_ms: 0.222095
      type: 'test'
      ...
    1..6
ok 1 - packaged smoke native window layout
  ---
  duration_ms: 4.003976
  type: 'suite'
  ...
# Subtest: packaged smoke child environment
    # Subtest: passes only platform launch inputs and private profile paths from a hostile parent
    ok 1 - passes only platform launch inputs and private profile paths from a hostile parent
      ---
      duration_ms: 21.239531
      type: 'test'
      ...
    # Subtest: keeps cleanup bounded to the generated profile root
    ok 2 - keeps cleanup bounded to the generated profile root
      ---
      duration_ms: 14.315363
      type: 'test'
      ...
    # Subtest: accepts only a normalized absolute Windows SystemRoot directory
    ok 3 - accepts only a normalized absolute Windows SystemRoot directory
      ---
      duration_ms: 1.928978
      type: 'test'
      ...
    # Subtest: contains no parent environment spread, enumeration, denylist, PATH, or shell launch
    ok 4 - contains no parent environment spread, enumeration, denylist, PATH, or shell launch
      ---
      duration_ms: 2.742588
      type: 'test'
      ...
    # Subtest: requires the adjacent packaged spawn options with LF or CRLF source
    ok 5 - requires the adjacent packaged spawn options with LF or CRLF source
      ---
      duration_ms: 2.238045
      type: 'test'
      ...
    1..5
ok 2 - packaged smoke child environment
  ---
  duration_ms: 43.005154
  type: 'suite'
  ...
1..2
# tests 11
# suites 2
# pass 11
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 294.007841

[4/351] apps/desktop/scripts/release-architecture.test.mjs
TAP version 13
# Subtest: machine-wide Windows artifacts require a real MSI compound file
ok 1 - machine-wide Windows artifacts require a real MSI compound file
  ---
  duration_ms: 8.024027
  type: 'test'
  ...
# Subtest: administrative MSI payload inspection
    # Subtest: uses exact fixed native extractor argv and minimal environments
    ok 1 - uses exact fixed native extractor argv and minimal environments
      ---
      duration_ms: 1.433008
      type: 'test'
      ...
    # Subtest: accepts only the canonical application with the one administrative root prefix
    ok 2 - accepts only the canonical application with the one administrative root prefix
      ---
      duration_ms: 10.171075
      type: 'test'
      ...
    # Subtest: rejects path escapes and case collisions from the Linux listing before extraction
    ok 3 - rejects path escapes and case collisions from the Linux listing before extraction
      ---
      duration_ms: 0.939451
      type: 'test'
      ...
    # Subtest: uses fixed missing and duplicate canonical-app codes with bounded counts
    ok 4 - uses fixed missing and duplicate canonical-app codes with bounded counts
      ---
      duration_ms: 8.3337
      type: 'test'
      ...
    # Subtest: distinguishes authority resources, unsafe trees, and architecture mismatch without path data
    ok 5 - distinguishes authority resources, unsafe trees, and architecture mismatch without path data
      ---
      duration_ms: 9.486138
      type: 'test'
      ...
    # Subtest: maps extractor failures to one redacted tool code
    ok 6 - maps extractor failures to one redacted tool code
      ---
      duration_ms: 2.623278
      type: 'test'
      ...
    # Subtest: retains compound-file, per-machine scope, and canonical PE evidence across extraction
    ok 7 - retains compound-file, per-machine scope, and canonical PE evidence across extraction
      ---
      duration_ms: 5.224753
      type: 'test'
      ...
    # Subtest: fails closed on extractor nonzero, stderr, output overflow, and timeout
    ok 8 - fails closed on extractor nonzero, stderr, output overflow, and timeout
      ---
      duration_ms: 146.784704
      type: 'test'
      ...
    1..8
ok 2 - administrative MSI payload inspection
  ---
  duration_ms: 186.053296
  type: 'suite'
  ...
# Subtest: DEB and RPM executable layouts
    # Subtest: accept only the canonical regular ELF payload and documented launcher symlink
    ok 1 - accept only the canonical regular ELF payload and documented launcher symlink
      ---
      duration_ms: 16.95114
      type: 'test'
      ...
    # Subtest: reject missing and extra payload names for both package formats
    ok 2 - reject missing and extra payload names for both package formats
      ---
      duration_ms: 12.360011
      type: 'test'
      ...
    # Subtest: reject unexpected same-name file types and non-ELF or cross-architecture payloads
    ok 3 - reject unexpected same-name file types and non-ELF or cross-architecture payloads
      ---
      duration_ms: 17.965825
      type: 'test'
      ...
    # Subtest: reject launcher escapes, cycles, and targets other than the canonical payload
    ok 4 - reject launcher escapes, cycles, and targets other than the canonical payload
      ---
      duration_ms: 11.477751
      type: 'test'
      ...
    # Subtest: reject special files with the executable name
    ok 5 - reject special files with the executable name
      ---
      duration_ms: 14.154064
      type: 'test'
      ...
    1..5
ok 3 - DEB and RPM executable layouts
  ---
  duration_ms: 73.297719
  type: 'suite'
  ...
# Subtest: DMG application layout
    # Subtest: accepts the real Forge tree with its install link and nested Electron helper bundles
    ok 1 - accepts the real Forge tree with its install link and nested Electron helper bundles
      ---
      duration_ms: 14.043617
      type: 'test'
      ...
    # Subtest: rejects a symbolic-link canonical helper bundle
    ok 2 - rejects a symbolic-link canonical helper bundle
      ---
      duration_ms: 6.314235
      type: 'test'
      ...
    # Subtest: rejects a symbolic-link canonical helper executable ancestor
    ok 3 - rejects a symbolic-link canonical helper executable ancestor
      ---
      duration_ms: 8.903927
      type: 'test'
      ...
    # Subtest: rejects every symbolic link outside canonical framework internals
    ok 4 - rejects every symbolic link outside canonical framework internals
      ---
      duration_ms: 10.329054
      type: 'test'
      ...
    # Subtest: rejects escaping, cyclic, missing, and case-mismatched framework symbolic links
    ok 5 - rejects escaping, cyclic, missing, and case-mismatched framework symbolic links
      ---
      duration_ms: 43.11809
      type: 'test'
      ...
    # Subtest: never treats Linux 7z sanitized install-link output as native layout evidence
    ok 6 - never treats Linux 7z sanitized install-link output as native layout evidence
      ---
      duration_ms: 9.003639
      type: 'test'
      ...
    # Subtest: rejects wrong bundles, alternate same-name executables, and canonical symlink escapes
    ok 7 - rejects wrong bundles, alternate same-name executables, and canonical symlink escapes
      ---
      duration_ms: 15.408387
      type: 'test'
      ...
    # Subtest: rejects alternate top-level application bundles
    ok 8 - rejects alternate top-level application bundles
      ---
      duration_ms: 6.186036
      type: 'test'
      ...
    # Subtest: rejects unsafe links inside the canonical application bundle
    ok 9 - rejects unsafe links inside the canonical application bundle
      ---
      duration_ms: 11.554007
      type: 'test'
      ...
    # Subtest: rejects non-helper nested application bundles
    ok 10 - rejects non-helper nested application bundles
      ---
      duration_ms: 11.274192
      type: 'test'
      ...
    # Subtest: rejects case-colliding top-level entries when the filesystem permits them
    ok 11 - rejects case-colliding top-level entries when the filesystem permits them
      ---
      duration_ms: 6.825945
      type: 'test'
      ...
    # Subtest: rejects special files inside the canonical application bundle
    ok 12 - rejects special files inside the canonical application bundle
      ---
      duration_ms: 13.266547
      type: 'test'
      ...
    1..12
ok 4 - DMG application layout
  ---
  duration_ms: 156.991233
  type: 'suite'
  ...
1..4
# tests 26
# suites 3
# pass 26
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 660.556457

[5/351] apps/desktop/scripts/release-artifacts.test.mjs
TAP version 13
# Subtest: desktop release artifacts
    # Subtest: stages named artifacts and finalizes unsigned validation metadata
    ok 1 - stages named artifacts and finalizes unsigned validation metadata
      ---
      duration_ms: 89.002334
      type: 'test'
      ...
    # Subtest: rejects extensionless, doubled-extension, case-conflicting, duplicate, wrong-kind, stale, and mixed-target names
    ok 2 - rejects extensionless, doubled-extension, case-conflicting, duplicate, wrong-kind, stale, and mixed-target names
      ---
      duration_ms: 248.780956
      type: 'test'
      ...
    # Subtest: rejects altered DMG bytes even when fragment artifact metadata is rewritten
    ok 3 - rejects altered DMG bytes even when fragment artifact metadata is rewritten
      ---
      duration_ms: 26.174932
      type: 'test'
      ...
    # Subtest: rejects permanent DMG replacement or in-place mutation during held inspection without emitting evidence
    ok 4 - rejects permanent DMG replacement or in-place mutation during held inspection without emitting evidence
      ---
      duration_ms: 10.50492
      type: 'test'
      ...
    # Subtest: keeps held A bytes, evidence, and publication stable when original and public pathnames change during inspection
    ok 5 - keeps held A bytes, evidence, and publication stable when original and public pathnames change during inspection
      ---
      duration_ms: 12.314467
      type: 'test'
      ...
    # Subtest: continues to reject a mutable pathname passed directly to DMG inspection
    ok 6 - continues to reject a mutable pathname passed directly to DMG inspection
      ---
      duration_ms: 0.312693
      type: 'test'
      ...
    # Subtest: requires explicit fixture authority for Windows-hosted DMG evidence tests
    ok 7 - requires explicit fixture authority for Windows-hosted DMG evidence tests # SKIP
      ---
      duration_ms: 0.106692
      type: 'test'
      ...
    # Subtest: accepts real Darwin mode-0700 directory and mode-0600 single-link file authority
    ok 8 - accepts real Darwin mode-0700 directory and mode-0600 single-link file authority # SKIP
      ---
      duration_ms: 0.05303
      type: 'test'
      ...
    # Subtest: rejects native Darwin broad mode, foreign owner, extra link, replacement type, and symlink with fixed authority codes
    ok 9 - rejects native Darwin broad mode, foreign owner, extra link, replacement type, and symlink with fixed authority codes # SKIP
      ---
      duration_ms: 0.084357
      type: 'test'
      ...
    # Subtest: accepts native xattr/ctime-only change when held bytes and identity are unchanged
    ok 10 - accepts native xattr/ctime-only change when held bytes and identity are unchanged # SKIP
      ---
      duration_ms: 0.212652
      type: 'test'
      ...
    # Subtest: does not emit claimed DMG layout evidence without the native-validation marker
    ok 11 - does not emit claimed DMG layout evidence without the native-validation marker
      ---
      duration_ms: 9.124086
      type: 'test'
      ...
    # Subtest: strictly rejects missing, mixed, stale, malformed, or fabricated native DMG evidence
    ok 12 - strictly rejects missing, mixed, stale, malformed, or fabricated native DMG evidence
      ---
      duration_ms: 300.901729
      type: 'test'
      ...
    # Subtest: rejects native DMG evidence copied between x64 and arm64 fragments
    ok 13 - rejects native DMG evidence copied between x64 and arm64 fragments
      ---
      duration_ms: 27.181619
      type: 'test'
      ...
    # Subtest: rejects duplicate target fragments before aggregation
    ok 14 - rejects duplicate target fragments before aggregation
      ---
      duration_ms: 26.85445
      type: 'test'
      ...
    # Subtest: rejects either Windows fragment when the installed ordinary-user application gate was skipped
    ok 15 - rejects either Windows fragment when the installed ordinary-user application gate was skipped
      ---
      duration_ms: 68.350585
      type: 'test'
      ...
    # Subtest: fails closed when trusted update signing configuration is incomplete
    ok 16 - fails closed when trusted update signing configuration is incomplete
      ---
      duration_ms: 67.954763
      type: 'test'
      ...
    # Subtest: signs cryptographically bound feeds only in the trusted release phase
    ok 17 - signs cryptographically bound feeds only in the trusted release phase
      ---
      duration_ms: 48.929945
      type: 'test'
      ...
    # Subtest: refuses to sign a renamed extensionless distributable
    ok 18 - refuses to sign a renamed extensionless distributable
      ---
      duration_ms: 40.502299
      type: 'test'
      ...
    # Subtest: refuses to sign when artifact bytes changed after unsigned finalization
    ok 19 - refuses to sign when artifact bytes changed after unsigned finalization
      ---
      duration_ms: 41.076927
      type: 'test'
      ...
    # Subtest: rejects unsigned production metadata and actual signer mismatches
    ok 20 - rejects unsigned production metadata and actual signer mismatches
      ---
      duration_ms: 79.024661
      type: 'test'
      ...
    # Subtest: rejects mixed Windows signers and tampered fingerprint evidence
    ok 21 - rejects mixed Windows signers and tampered fingerprint evidence
      ---
      duration_ms: 55.792721
      type: 'test'
      ...
    # Subtest: parses x64 and arm64 ELF, PE, and Mach-O executable fixtures
    ok 22 - parses x64 and arm64 ELF, PE, and Mach-O executable fixtures
      ---
      duration_ms: 1.324784
      type: 'test'
      ...
    # Subtest: derives Windows target architecture from the full NUPKG independently of its supported bootstrapper
    ok 23 - derives Windows target architecture from the full NUPKG independently of its supported bootstrapper
      ---
      duration_ms: 11.376438
      type: 'test'
      ...
    # Subtest: binds ZIP and NUPKG executables to exact maker-specific canonical paths
    ok 24 - binds ZIP and NUPKG executables to exact maker-specific canonical paths
      ---
      duration_ms: 3.880055
      type: 'test'
      ...
    # Subtest: rejects missing, corrupt, mismatched, and ambiguous packaged Windows authority helpers
    ok 25 - rejects missing, corrupt, mismatched, and ambiguous packaged Windows authority helpers
      ---
      duration_ms: 5.685805
      type: 'test'
      ...
    # Subtest: accepts only the real Forge macOS framework-internal symbolic-link layout
    ok 26 - accepts only the real Forge macOS framework-internal symbolic-link layout
      ---
      duration_ms: 4.764156
      type: 'test'
      ...
    # Subtest: rejects hostile macOS ZIP symbolic links before trusting their payloads
    ok 27 - rejects hostile macOS ZIP symbolic links before trusting their payloads
      ---
      duration_ms: 22.271417
      type: 'test'
      ...
    # Subtest: rejects unsafe, duplicate, shadowed, forged, alternate, and noncanonical archive layouts
    ok 28 - rejects unsafe, duplicate, shadowed, forged, alternate, and noncanonical archive layouts
      ---
      duration_ms: 8.136166
      type: 'test'
      ...
    # Subtest: rejects cross-labeled package architectures at staging and finalization
    ok 29 - rejects cross-labeled package architectures at staging and finalization
      ---
      duration_ms: 32.681113
      type: 'test'
      ...
    1..29
ok 1 - desktop release artifacts
  ---
  duration_ms: 1246.688887
  type: 'suite'
  ...
1..1
# tests 29
# suites 1
# pass 25
# fail 0
# cancelled 0
# skipped 4
# todo 0
# duration_ms 1498.57437

[6/351] apps/desktop/scripts/release-preflight.test.mjs
TAP version 13
# Subtest: desktop release preflight
    # Subtest: accepts only a new immutable tag reachable from protected main and a protected environment
    ok 1 - accepts only a new immutable tag reachable from protected main and a protected environment
      ---
      duration_ms: 4.123477
      type: 'test'
      ...
    # Subtest: accepts an authorization-visible bypass list and fails closed for hidden or denied ruleset details
    ok 2 - accepts an authorization-visible bypass list and fails closed for hidden or denied ruleset details
      ---
      duration_ms: 1.294187
      type: 'test'
      ...
    # Subtest: paginates repository rulesets and reads every full rule definition
    ok 3 - paginates repository rulesets and reads every full rule definition
      ---
      duration_ms: 3.389708
      type: 'test'
      ...
    # Subtest: requires an exact active bypass-free update and deletion tag ruleset
    ok 4 - requires an exact active bypass-free update and deletion tag ruleset
      ---
      duration_ms: 1.761966
      type: 'test'
      ...
    # Subtest: rejects ruleset mutation or deletion during preflight
    ok 5 - rejects ruleset mutation or deletion during preflight
      ---
      duration_ms: 1.200916
      type: 'test'
      ...
    # Subtest: requires the complete effective environment policy set to be exactly desktop-v* tags
    ok 6 - requires the complete effective environment policy set to be exactly desktop-v* tags
      ---
      duration_ms: 2.685602
      type: 'test'
      ...
    # Subtest: requires the separately protected preflight credential environment
    ok 7 - requires the separately protected preflight credential environment
      ---
      duration_ms: 0.787391
      type: 'test'
      ...
    # Subtest: paginates all environment policies and rejects a permissive policy on a later page
    ok 8 - paginates all environment policies and rejects a permissive policy on a later page
      ---
      duration_ms: 1.017419
      type: 'test'
      ...
    # Subtest: rejects missing or ambiguous environment protection and explicit API denial
    ok 9 - rejects missing or ambiguous environment protection and explicit API denial
      ---
      duration_ms: 1.261539
      type: 'test'
      ...
    # Subtest: rejects tags not created by this push, tags off main, and moved or existing releases
    ok 10 - rejects tags not created by this push, tags off main, and moved or existing releases
      ---
      duration_ms: 1.794565
      type: 'test'
      ...
    1..10
ok 1 - desktop release preflight
  ---
  duration_ms: 20.832571
  type: 'suite'
  ...
1..1
# tests 10
# suites 1
# pass 10
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 267.664079

[7/351] apps/desktop/scripts/release-publish.test.mjs
TAP version 13
# Subtest: atomic desktop release publication
    # Subtest: creates a draft, paginates and verifies the exact final assets, then publishes
    ok 1 - creates a draft, paginates and verifies the exact final assets, then publishes
      ---
      duration_ms: 159.057102
      type: 'test'
      ...
    # Subtest: leaves a partial upload as a recoverable draft and resumes only matching assets
    ok 2 - leaves a partial upload as a recoverable draft and resumes only matching assets
      ---
      duration_ms: 10.115441
      type: 'test'
      ...
    # Subtest: rejects unexpected, duplicate, size, and content-digest asset mismatches without publishing
    ok 3 - rejects unexpected, duplicate, size, and content-digest asset mismatches without publishing
      ---
      duration_ms: 8.634255
      type: 'test'
      ...
    # Subtest: rejects tag drift before publishing the verified draft
    ok 4 - rejects tag drift before publishing the verified draft
      ---
      duration_ms: 5.235759
      type: 'test'
      ...
    # Subtest: rejects local files outside or missing from finalized checksums
    ok 5 - rejects local files outside or missing from finalized checksums
      ---
      duration_ms: 2.315452
      type: 'test'
      ...
    1..5
ok 1 - atomic desktop release publication
  ---
  duration_ms: 186.706138
  type: 'suite'
  ...
1..1
# tests 5
# suites 1
# pass 5
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 414.603432

[8/351] apps/desktop/scripts/verify-darwin-image.test.mjs
TAP version 13
# Subtest: Darwin image verification retries only bounded documented resource states
ok 1 - Darwin image verification retries only bounded documented resource states
  ---
  duration_ms: 14.078389
  type: 'test'
  ...
# Subtest: Darwin image verification does not retry malformed/truncated images or accept mutation
ok 2 - Darwin image verification does not retry malformed/truncated images or accept mutation
  ---
  duration_ms: 9.745571
  type: 'test'
  ...
# Subtest: Darwin image verification holds a fixed hdiutil image behind a real mutation and replacement barrier
ok 3 - Darwin image verification holds a fixed hdiutil image behind a real mutation and replacement barrier # SKIP
  ---
  duration_ms: 0.280865
  type: 'test'
  ...
1..3
# tests 3
# suites 0
# pass 2
# fail 0
# cancelled 0
# skipped 1
# todo 0
# duration_ms 259.705041

[9/351] apps/desktop/src/credential-service.test.ts
TAP version 13
# Subtest: main-process desktop credential service
    # Subtest: rolls back a superseded overlapping local activation before it can persist or publish
    ok 1 - rolls back a superseded overlapping local activation before it can persist or publish
      ---
      duration_ms: 93.263504
      type: 'test'
      ...
    # Subtest: injects the active bearer only for its bound profile origin and strips renderer identity
    ok 2 - injects the active bearer only for its bound profile origin and strips renderer identity
      ---
      duration_ms: 52.171899
      type: 'test'
      ...
    # Subtest: uses only the active bearer when profiles share an origin and never a cookie identity
    ok 3 - uses only the active bearer when profiles share an origin and never a cookie identity
      ---
      duration_ms: 58.591495
      type: 'test'
      ...
    # Subtest: detaches profile B credential A without sending any bearer request to A or minting a ticket
    ok 4 - detaches profile B credential A without sending any bearer request to A or minting a ticket
      ---
      duration_ms: 38.155804
      type: 'test'
      ...
    # Subtest: does not mint a ticket when a delayed B probe observes credential replacement with origin A
    ok 5 - does not mint a ticket when a delayed B probe observes credential replacement with origin A
      ---
      duration_ms: 33.952036
      type: 'test'
      ...
    # Subtest: atomically rejects a ticket when delayed activation races with profile B credential A
    ok 6 - atomically rejects a ticket when delayed activation races with profile B credential A
      ---
      duration_ms: 46.316493
      type: 'test'
      ...
    # Subtest: keeps a slow successful same-origin A probe status-only after fast B activates
    ok 7 - keeps a slow successful same-origin A probe status-only after fast B activates
      ---
      duration_ms: 52.86997
      type: 'test'
      ...
    # Subtest: keeps A active while B is only probed and if B selection persistence fails
    ok 8 - keeps A active while B is only probed and if B selection persistence fails
      ---
      duration_ms: 66.647465
      type: 'test'
      ...
    # Subtest: keeps B active during a direct same-origin A probe and rejects replayed activation tickets
    ok 9 - keeps B active during a direct same-origin A probe and rejects replayed activation tickets
      ---
      duration_ms: 55.545623
      type: 'test'
      ...
    # Subtest: rejects activation after candidate removal, selection drift, or exact credential replacement
    ok 10 - rejects activation after candidate removal, selection drift, or exact credential replacement
      ---
      duration_ms: 194.080969
      type: 'test'
      ...
    # Subtest: binds REST and Socket.IO work to one fresh scope and rejects stale or malformed markers
    ok 11 - binds REST and Socket.IO work to one fresh scope and rejects stale or malformed markers
      ---
      duration_ms: 63.627703
      type: 'test'
      ...
    # Subtest: passes through a realistic packaged-origin CORS preflight without renderer identity or bearer injection
    ok 12 - passes through a realistic packaged-origin CORS preflight without renderer identity or bearer injection
      ---
      duration_ms: 0.402508
      type: 'test'
      ...
    # Subtest: rotates scope on every same-profile reprobe and rejects a cold reconnect from the old activation
    ok 13 - rotates scope on every same-profile reprobe and rejects a cold reconnect from the old activation
      ---
      duration_ms: 47.779396
      type: 'test'
      ...
    # Subtest: never sends an A-origin bearer after the profile URL is edited to an attacker origin
    ok 14 - never sends an A-origin bearer after the profile URL is edited to an attacker origin
      ---
      duration_ms: 20.317758
      type: 'test'
      ...
    # Subtest: preserves a re-paired credential and current connection after a stale definitive probe response
    ok 15 - preserves a re-paired credential and current connection after a stale definitive probe response
      ---
      duration_ms: 79.391261
      type: 'test'
      ...
    # Subtest: preserves a replacement credential at a changed origin after a stale definitive probe response
    ok 16 - preserves a replacement credential at a changed origin after a stale definitive probe response
      ---
      duration_ms: 66.086507
      type: 'test'
      ...
    # Subtest: preserves the active profile and credential when an origin edit fails during browser-launch
    ok 17 - preserves the active profile and credential when an origin edit fails during browser-launch
      ---
      duration_ms: 43.729444
      type: 'test'
      ...
    # Subtest: preserves the active profile and credential when an origin edit fails during cancellation
    ok 18 - preserves the active profile and credential when an origin edit fails during cancellation
      ---
      duration_ms: 47.454419
      type: 'test'
      ...
    # Subtest: preserves the active profile and credential when an origin edit fails during expiry
    ok 19 - preserves the active profile and credential when an origin edit fails during expiry
      ---
      duration_ms: 41.568155
      type: 'test'
      ...
    # Subtest: preserves the active profile and credential when an origin edit fails during polling
    ok 20 - preserves the active profile and credential when an origin edit fails during polling
      ---
      duration_ms: 48.415863
      type: 'test'
      ...
    # Subtest: preserves the active profile and credential when an origin edit fails during secure-storage
    ok 21 - preserves the active profile and credential when an origin edit fails during secure-storage
      ---
      duration_ms: 45.865025
      type: 'test'
      ...
    # Subtest: commits an edited profile and replacement credential before revoking the old token
    ok 22 - commits an edited profile and replacement credential before revoking the old token
      ---
      duration_ms: 57.711144
      type: 'test'
      ...
# NATIVE_SCENARIO delivery
    # Subtest: durably journals a provisional delivery before server activation and local publication
    ok 23 - durably journals a provisional delivery before server activation and local publication
      ---
      duration_ms: 28.91709
      type: 'test'
      ...
    # Subtest: retries an encrypted pending A revocation across failure, restart, remote success, and local cleanup failure
    ok 24 - retries an encrypted pending A revocation across failure, restart, remote success, and local cleanup failure
      ---
      duration_ms: 143.685126
      type: 'test'
      ...
# NATIVE_SCENARIO revocation-crash
    # Subtest: recovers B and retries idempotently after a real process crash during-revoke
    ok 25 - recovers B and retries idempotently after a real process crash during-revoke
      ---
      duration_ms: 399.499166
      type: 'test'
      ...
# NATIVE_SCENARIO revocation-crash
    # Subtest: recovers B and retries idempotently after a real process crash after-remote-success
    ok 26 - recovers B and retries idempotently after a real process crash after-remote-success
      ---
      duration_ms: 424.20115
      type: 'test'
      ...
    # Subtest: cleans durable retry material only for endpoint-bound terminal 204 success
    ok 27 - cleans durable retry material only for endpoint-bound terminal 204 success
      ---
      duration_ms: 31.197479
      type: 'test'
      ...
    # Subtest: cleans durable retry material only for endpoint-bound terminal 404 TOKEN_NOT_FOUND
    ok 28 - cleans durable retry material only for endpoint-bound terminal 404 TOKEN_NOT_FOUND
      ---
      duration_ms: 33.636959
      type: 'test'
      ...
    # Subtest: cleans durable retry material only for endpoint-bound terminal 401 INSTANCE_TOKEN_REVOKED
    ok 29 - cleans durable retry material only for endpoint-bound terminal 401 INSTANCE_TOKEN_REVOKED
      ---
      duration_ms: 66.552026
      type: 'test'
      ...
    # Subtest: cleans durable retry material only for endpoint-bound terminal 401 INSTANCE_TOKEN_EXPIRED
    ok 30 - cleans durable retry material only for endpoint-bound terminal 401 INSTANCE_TOKEN_EXPIRED
      ---
      duration_ms: 78.573454
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for empty 401
    ok 31 - retains encrypted retry material for empty 401
      ---
      duration_ms: 27.143988
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for empty 404
    ok 32 - retains encrypted retry material for empty 404
      ---
      duration_ms: 26.536068
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for HTML route 404
    ok 33 - retains encrypted retry material for HTML route 404
      ---
      duration_ms: 28.046568
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for malformed JSON
    ok 34 - retains encrypted retry material for malformed JSON
      ---
      duration_ms: 36.154647
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for wrong content type
    ok 35 - retains encrypted retry material for wrong content type
      ---
      duration_ms: 26.138598
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for wrong schema version
    ok 36 - retains encrypted retry material for wrong schema version
      ---
      duration_ms: 29.365227
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for wrong credential generation
    ok 37 - retains encrypted retry material for wrong credential generation
      ---
      duration_ms: 29.291085
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for unknown terminal code
    ok 38 - retains encrypted retry material for unknown terminal code
      ---
      duration_ms: 37.221891
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for status/code mismatch
    ok 39 - retains encrypted retry material for status/code mismatch
      ---
      duration_ms: 26.091385
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for redirect
    ok 40 - retains encrypted retry material for redirect
      ---
      duration_ms: 29.331241
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for redirected 204
    ok 41 - retains encrypted retry material for redirected 204
      ---
      duration_ms: 33.556442
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for wrong endpoint 204
    ok 42 - retains encrypted retry material for wrong endpoint 204
      ---
      duration_ms: 35.139892
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for server failure
    ok 43 - retains encrypted retry material for server failure
      ---
      duration_ms: 30.611162
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for oversized JSON
    ok 44 - retains encrypted retry material for oversized JSON
      ---
      duration_ms: 25.972766
      type: 'test'
      ...
    # Subtest: accepts encrypted retry material for chunked 2048-byte terminal JSON
    ok 45 - accepts encrypted retry material for chunked 2048-byte terminal JSON
      ---
      duration_ms: 30.107069
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for chunked 2049-byte terminal JSON
    ok 46 - retains encrypted retry material for chunked 2049-byte terminal JSON
      ---
      duration_ms: 40.538098
      type: 'test'
      ...
    # Subtest: accepts encrypted retry material for terminal JSON without Content-Length
    ok 47 - accepts encrypted retry material for terminal JSON without Content-Length
      ---
      duration_ms: 30.468826
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for deceptive short Content-Length
    ok 48 - retains encrypted retry material for deceptive short Content-Length
      ---
      duration_ms: 24.950049
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for extra chunk after declared Content-Length
    ok 49 - retains encrypted retry material for extra chunk after declared Content-Length
      ---
      duration_ms: 23.922345
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for malformed UTF-8
    ok 50 - retains encrypted retry material for malformed UTF-8
      ---
      duration_ms: 23.595711
      type: 'test'
      ...
    # Subtest: retains encrypted retry material for premature body error
    ok 51 - retains encrypted retry material for premature body error
      ---
      duration_ms: 30.855082
      type: 'test'
      ...
    # Subtest: bounds a one-byte slowloris body and retains its encrypted retry material
    ok 52 - bounds a one-byte slowloris body and retains its encrypted retry material
      ---
      duration_ms: 50.468418
      type: 'test'
      ...
    # Subtest: dispose aborts a stalled header fetch, deduplicates its generation, and leaves no later activity
    ok 53 - dispose aborts a stalled header fetch, deduplicates its generation, and leaves no later activity
      ---
      duration_ms: 45.593925
      type: 'test'
      ...
    # Subtest: dispose cancels a headers-then-stall body and retains exact encrypted material
    ok 54 - dispose cancels a headers-then-stall body and retains exact encrypted material
      ---
      duration_ms: 46.804246
      type: 'test'
      ...
# NATIVE_SCENARIO dispose
    # Subtest: dispose waits for terminal journal cleanup and no file operation runs afterward
    ok 55 - dispose waits for terminal journal cleanup and no file operation runs afterward
      ---
      duration_ms: 56.592292
      type: 'test'
      ...
    # Subtest: bounds aggregate startup across stalled records and recovers all encrypted records later
    ok 56 - bounds aggregate startup across stalled records and recovers all encrypted records later
      ---
      duration_ms: 254.783165
      type: 'test'
      ...
# NATIVE_SCENARIO transient-revocation
# NATIVE_SCENARIO provisional
    # Subtest: retries a crash-left provisional pairing credential on startup
    ok 57 - retries a crash-left provisional pairing credential on startup
      ---
      duration_ms: 29.198035
      type: 'test'
      ...
    # Subtest: ignores delayed A invalidation after B connects and preserves tokens for authorization/transient codes
    ok 58 - ignores delayed A invalidation after B connects and preserves tokens for authorization/transient codes
      ---
      duration_ms: 93.169324
      type: 'test'
      ...
    # Subtest: preserves a replacement written while an old transient token revocation is pending
    ok 59 - preserves a replacement written while an old transient token revocation is pending
      ---
      duration_ms: 52.153327
      type: 'test'
      ...
# NATIVE_SCENARIO transient-revocation
    # Subtest: keeps an exactly persisted cancelled pairing token pending when revocation fails
    ok 60 - keeps an exactly persisted cancelled pairing token pending when revocation fails
      ---
      duration_ms: 31.511675
      type: 'test'
      ...
    # Subtest: detaches a removed profile locally before deferred revoke and preserves a later replacement
    ok 61 - detaches a removed profile locally before deferred revoke and preserves a later replacement
      ---
      duration_ms: 131.170794
      type: 'test'
      ...
    # Subtest: never lets a delayed A-to-B revoke overwrite a later C save, pairing, selection, or credential
    ok 62 - never lets a delayed A-to-B revoke overwrite a later C save, pairing, selection, or credential
      ---
      duration_ms: 74.294248
      type: 'test'
      ...
    # Subtest: returns connection-changed and preserves a re-paired credential for an old ready invalidation
    ok 63 - returns connection-changed and preserves a re-paired credential for an old ready invalidation
      ---
      duration_ms: 62.793041
      type: 'test'
      ...
# NATIVE_SCENARIO transient-revocation
    # Subtest: revokes a transient completion instead of persisting when pairing races with delete
    ok 64 - revokes a transient completion instead of persisting when pairing races with delete
      ---
      duration_ms: 42.784246
      type: 'test'
      ...
# NATIVE_SCENARIO transient-revocation
    # Subtest: revokes a transient completion instead of persisting when pairing races with switch
    ok 65 - revokes a transient completion instead of persisting when pairing races with switch
      ---
      duration_ms: 45.072176
      type: 'test'
      ...
# NATIVE_SCENARIO cancellation-switch
    # Subtest: keeps durable A when cancel linearizes at paired state-written before publish
    ok 66 - keeps durable A when cancel linearizes at paired state-written before publish
      ---
      duration_ms: 59.000624
      type: 'test'
      ...
# NATIVE_SCENARIO cancellation-switch
    # Subtest: keeps durable A when switch linearizes at paired state-written before publish
    ok 67 - keeps durable A when switch linearizes at paired state-written before publish
      ---
      duration_ms: 66.310992
      type: 'test'
      ...
# NATIVE_SCENARIO cancellation-switch
    # Subtest: keeps durable A when cancel linearizes at paired state-fsynced before publish
    ok 68 - keeps durable A when cancel linearizes at paired state-fsynced before publish
      ---
      duration_ms: 60.327612
      type: 'test'
      ...
# NATIVE_SCENARIO cancellation-switch
    # Subtest: keeps durable A when switch linearizes at paired state-fsynced before publish
    ok 69 - keeps durable A when switch linearizes at paired state-fsynced before publish
      ---
      duration_ms: 60.86888
      type: 'test'
      ...
    1..69
ok 1 - main-process desktop credential service
  ---
  duration_ms: 4354.324564
  type: 'suite'
  ...
1..1
# tests 69
# suites 1
# pass 69
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 4833.379489

[10/351] apps/desktop/src/deep-link-delivery.test.ts
TAP version 13
# Subtest: desktop deep-link delivery
    # Subtest: queues links received after did-finish-load until the ready window is registered
    ok 1 - queues links received after did-finish-load until the ready window is registered
      ---
      duration_ms: 1.717698
      type: 'test'
      ...
    # Subtest: delivers a queued initial Connect URL before packaged smoke asserts it and only once
    ok 2 - delivers a queued initial Connect URL before packaged smoke asserts it and only once
      ---
      duration_ms: 0.618596
      type: 'test'
      ...
    1..2
ok 1 - desktop deep-link delivery
  ---
  duration_ms: 3.475817
  type: 'suite'
  ...
1..1
# tests 2
# suites 1
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 246.994534

[11/351] apps/desktop/src/desktop-host.test.ts
TAP version 13
# Subtest: packaged desktop setup resources
    # Subtest: returns canonical regular resources beneath resourcesPath
    ok 1 - returns canonical regular resources beneath resourcesPath
      ---
      duration_ms: 6.694927
      type: 'test'
      ...
    # Subtest: rejects linked resource ancestors and linked files
    ok 2 - rejects linked resource ancestors and linked files
      ---
      duration_ms: 5.56666
      type: 'test'
      ...
    1..2
ok 1 - packaged desktop setup resources
  ---
  duration_ms: 13.238044
  type: 'suite'
  ...
1..1
# tests 2
# suites 1
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 363.300323

[12/351] apps/desktop/src/ipc-lifecycle.test.ts
TAP version 13
# Subtest: desktop IPC shutdown gate
    # Subtest: clears old and new origin storage through the real save IPC before a same-ID URL commit
    ok 1 - clears old and new origin storage through the real save IPC before a same-ID URL commit
      ---
      duration_ms: 2.510958
      type: 'test'
      ...
    # Subtest: clears both origins when activation edits the active profile URL without changing its ID
    ok 2 - clears both origins when activation edits the active profile URL without changing its ID
      ---
      duration_ms: 0.646638
      type: 'test'
      ...
    # Subtest: rejects activation and discards its exact scope when origin storage clearing fails
    ok 3 - rejects activation and discards its exact scope when origin storage clearing fails
      ---
      duration_ms: 0.896747
      type: 'test'
      ...
    # Subtest: discards the exact activation when the post-commit profile read fails
    ok 4 - discards the exact activation when the post-commit profile read fails
      ---
      duration_ms: 0.407767
      type: 'test'
      ...
    # Subtest: clears a profile origin before committing removal and retains it when cleanup fails
    ok 5 - clears a profile origin before committing removal and retains it when cleanup fails
      ---
      duration_ms: 0.498944
      type: 'test'
      ...
    # Subtest: replaces every handler with a fixed closing failure and drains admitted work before disposal
    ok 6 - replaces every handler with a fixed closing failure and drains admitted work before disposal
      ---
      duration_ms: 0.581609
      type: 'test'
      ...
    # Subtest: bounds a stuck drain, prevents quit retries, and tears down each authority once
    ok 7 - bounds a stuck drain, prevents quit retries, and tears down each authority once
      ---
      duration_ms: 8.164299
      type: 'test'
      ...
    # Subtest: runs an admitted profile handler through the production before-quit drain
    ok 8 - runs an admitted profile handler through the production before-quit drain
      ---
      duration_ms: 1.73268
      type: 'test'
      ...
    # Subtest: runs an admitted pairing handler through the production before-quit drain
    ok 9 - runs an admitted pairing handler through the production before-quit drain
      ---
      duration_ms: 0.875154
      type: 'test'
      ...
    # Subtest: runs an admitted session handler through the production before-quit drain
    ok 10 - runs an admitted session handler through the production before-quit drain
      ---
      duration_ms: 22.656831
      type: 'test'
      ...
    # Subtest: runs an admitted setup handler through the production before-quit drain
    ok 11 - runs an admitted setup handler through the production before-quit drain
      ---
      duration_ms: 0.83273
      type: 'test'
      ...
    1..11
ok 1 - desktop IPC shutdown gate
  ---
  duration_ms: 41.264066
  type: 'suite'
  ...
1..1
# tests 11
# suites 1
# pass 11
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 337.726916

[13/351] apps/desktop/src/ipc.test.ts
TAP version 13
# Subtest: desktop session IPC operations
    # Subtest: logs out through the active Electron session with credentials and without following redirects
    ok 1 - logs out through the active Electron session with credentials and without following redirects
      ---
      duration_ms: 23.397431
      type: 'test'
      ...
    # Subtest: rejects untrusted logout endpoints before making a session request
    ok 2 - rejects untrusted logout endpoints before making a session request
      ---
      duration_ms: 0.723164
      type: 'test'
      ...
    1..2
ok 1 - desktop session IPC operations
  ---
  duration_ms: 25.265637
  type: 'suite'
  ...
1..1
# tests 2
# suites 1
# pass 2
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 287.86252

[14/351] apps/desktop/src/lifecycle.test.ts
TAP version 13
# Subtest: desktop local lifecycle presentation boundary
    # Subtest: keeps raw host diagnostics in main and returns only a fixed bounded status
    ok 1 - keeps raw host diagnostics in main and returns only a fixed bounded status
      ---
      duration_ms: 2.175751
      type: 'test'
      ...
    1..1
ok 1 - desktop local lifecycle presentation boundary
  ---
  duration_ms: 3.148152
  type: 'suite'
  ...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 233.926302

[15/351] apps/desktop/src/operation-coordinator.test.ts
TAP version 13
# Subtest: desktop main-process operation coordinator
    # Subtest: rejects setup-vs-lifecycle races before the second host action
    ok 1 - rejects setup-vs-lifecycle races before the second host action
      ---
      duration_ms: 1.448431
      type: 'test'
      ...
    # Subtest: allows cancellation only for setup and awaits its cleanup settlement
    ok 2 - allows cancellation only for setup and awaits its cleanup settlement
      ---
      duration_ms: 0.427156
      type: 'test'
      ...
    # Subtest: coalesces concurrent cancellation requests into one cleanup
    ok 3 - coalesces concurrent cancellation requests into one cleanup
      ---
      duration_ms: 0.518274
      type: 'test'
      ...
    # Subtest: retains exclusive cancellation authority after aborted setup settles until cleanup finishes
    ok 4 - retains exclusive cancellation authority after aborted setup settles until cleanup finishes
      ---
      duration_ms: 0.53547
      type: 'test'
      ...
    # Subtest: makes shutdown idempotent, aborts active work, and rejects late operations
    ok 5 - makes shutdown idempotent, aborts active work, and rejects late operations
      ---
      duration_ms: 0.532696
      type: 'test'
      ...
    # Subtest: runs shutdown cleanup only after the aborted host operation settles
    ok 6 - runs shutdown cleanup only after the aborted host operation settles
      ---
      duration_ms: 0.42338
      type: 'test'
      ...
    # Subtest: awaits in-flight cancellation cleanup before shutdown cleanup
    ok 7 - awaits in-flight cancellation cleanup before shutdown cleanup
      ---
      duration_ms: 0.340405
      type: 'test'
      ...
    # Subtest: settles cancel-vs-shutdown races only after shared setup cleanup
    ok 8 - settles cancel-vs-shutdown races only after shared setup cleanup
      ---
      duration_ms: 0.447868
      type: 'test'
      ...
    1..8
ok 1 - desktop main-process operation coordinator
  ---
  duration_ms: 5.935168
  type: 'suite'
  ...
1..1
# tests 8
# suites 1
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 254.513402

[16/351] apps/desktop/src/pairing-response-lifecycle.test.ts
TAP version 13
# NATIVE_PAIRING_SHUTDOWN start-header
# Subtest: desktop pairing service IPC native shutdown lifecycle
    # Subtest: start-header drains through the real service, IPC gate, and before-quit order
    ok 1 - start-header drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 57.683812
      type: 'test'
      ...
# NATIVE_PAIRING_SHUTDOWN start-body
    # Subtest: start-body drains through the real service, IPC gate, and before-quit order
    ok 2 - start-body drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 48.040496
      type: 'test'
      ...
# NATIVE_PAIRING_SHUTDOWN poll-header
    # Subtest: poll-header drains through the real service, IPC gate, and before-quit order
    ok 3 - poll-header drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 25.762154
      type: 'test'
      ...
# NATIVE_PAIRING_SHUTDOWN poll-body
    # Subtest: poll-body drains through the real service, IPC gate, and before-quit order
    ok 4 - poll-body drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 20.01557
      type: 'test'
      ...
# NATIVE_PAIRING_SHUTDOWN activate-header
    # Subtest: activate-header drains through the real service, IPC gate, and before-quit order
    ok 5 - activate-header drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 39.82572
      type: 'test'
      ...
# NATIVE_PAIRING_SHUTDOWN activate-body
    # Subtest: activate-body drains through the real service, IPC gate, and before-quit order
    ok 6 - activate-body drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 31.761563
      type: 'test'
      ...
# NATIVE_PAIRING_SHUTDOWN cancel-header
    # Subtest: cancel-header drains through the real service, IPC gate, and before-quit order
    ok 7 - cancel-header drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 42.686587
      type: 'test'
      ...
# NATIVE_PAIRING_SHUTDOWN cancel-body
    # Subtest: cancel-body drains through the real service, IPC gate, and before-quit order
    ok 8 - cancel-body drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 40.483551
      type: 'test'
      ...
# NATIVE_PAIRING_SHUTDOWN never-settling-reader-cancel
    # Subtest: never-settling-reader-cancel drains through the real service, IPC gate, and before-quit order
    ok 9 - never-settling-reader-cancel drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 34.541092
      type: 'test'
      ...
# NATIVE_PAIRING_SHUTDOWN never-settling-body-cancel
    # Subtest: never-settling-body-cancel drains through the real service, IPC gate, and before-quit order
    ok 10 - never-settling-body-cancel drains through the real service, IPC gate, and before-quit order
      ---
      duration_ms: 39.830338
      type: 'test'
      ...
    1..10
ok 1 - desktop pairing service IPC native shutdown lifecycle
  ---
  duration_ms: 382.457154
  type: 'suite'
  ...
1..1
# tests 10
# suites 1
# pass 10
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 793.690737

[17/351] apps/desktop/src/preload-bridge.test.ts
TAP version 13
# Subtest: desktop preload bridge
    # Subtest: exposes only the narrow frozen namespaces
    ok 1 - exposes only the narrow frozen namespaces
      ---
      duration_ms: 2.326359
      type: 'test'
      ...
    # Subtest: does not expose legacy local lifecycle authority on darwin
    ok 2 - does not expose legacy local lifecycle authority on darwin
      ---
      duration_ms: 0.240774
      type: 'test'
      ...
    # Subtest: does not expose legacy local lifecycle authority on win32
    ok 3 - does not expose legacy local lifecycle authority on win32
      ---
      duration_ms: 0.136297
      type: 'test'
      ...
    # Subtest: maps profile operations to fixed channels without a credential namespace
    ok 4 - maps profile operations to fixed channels without a credential namespace
      ---
      duration_ms: 1.511517
      type: 'test'
      ...
    # Subtest: exposes setup through fixed invocations and strips Electron events from progress
    ok 5 - exposes setup through fixed invocations and strips Electron events from progress
      ---
      duration_ms: 0.562891
      type: 'test'
      ...
    # Subtest: does not expose Electron event objects to deep-link listeners
    ok 6 - does not expose Electron event objects to deep-link listeners
      ---
      duration_ms: 0.223267
      type: 'test'
      ...
    # Subtest: probes completed local profiles through the injectable connection boundary
    ok 7 - probes completed local profiles through the injectable connection boundary
      ---
      duration_ms: 28.522504
      type: 'test'
      ...
    # Subtest: keeps remote probing out of the local setup lane and bounds local failures
    ok 8 - keeps remote probing out of the local setup lane and bounds local failures
      ---
      duration_ms: 1.09742
      type: 'test'
      ...
    # Subtest: keeps darwin remote-only while supporting production remote activation and browser sign-in
    ok 9 - keeps darwin remote-only while supporting production remote activation and browser sign-in
      ---
      duration_ms: 1.076188
      type: 'test'
      ...
    # Subtest: keeps win32 remote-only while supporting production remote activation and browser sign-in
    ok 10 - keeps win32 remote-only while supporting production remote activation and browser sign-in
      ---
      duration_ms: 1.71875
      type: 'test'
      ...
    # Subtest: buffers startup and second-instance deep links until the renderer subscribes
    ok 11 - buffers startup and second-instance deep links until the renderer subscribes
      ---
      duration_ms: 0.242917
      type: 'test'
      ...
    # Subtest: routes the typed renderer bridge through the ordered host buffer across remounts
    ok 12 - routes the typed renderer bridge through the ordered host buffer across remounts
      ---
      duration_ms: 0.309899
      type: 'test'
      ...
    1..12
ok 1 - desktop preload bridge
  ---
  duration_ms: 39.603264
  type: 'suite'
  ...
1..1
# tests 12
# suites 1
# pass 12
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 337.152157

[18/351] apps/desktop/src/profile-store.test.ts
TAP version 13
# Subtest: desktop profile store
    # Subtest: matches the shared canonical origin parity table at the persistence boundary
    ok 1 - matches the shared canonical origin parity table at the persistence boundary
      ---
      duration_ms: 97.338465
      type: 'test'
      ...
    # Subtest: persists validated profiles and active selection
    ok 2 - persists validated profiles and active selection
      ---
      duration_ms: 22.542769
      type: 'test'
      ...
    # Subtest: encrypts credentials before writing app-owned storage
    ok 3 - encrypts credentials before writing app-owned storage
      ---
      duration_ms: 18.770622
      type: 'test'
      ...
    # Subtest: atomically refuses activation when the credential origin differs from the profile origin
    ok 4 - atomically refuses activation when the credential origin differs from the profile origin
      ---
      duration_ms: 32.418096
      type: 'test'
      ...
    # Subtest: serializes concurrent credential writes with last-write semantics
    ok 5 - serializes concurrent credential writes with last-write semantics
      ---
      duration_ms: 19.945028
      type: 'test'
      ...

...(truncated)

View Workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant