Skip to content

[2286 by GPT-6 Astra] fix(auth): preserve desktop pairing return through GitHub OAuth session regeneration - #2287

Merged
integry merged 4 commits into
1950-epic-cross-platform-dskfrom
2286/gpt-6-astra-fix-auth-preserve-desktop-20260910-2159-pah
Sep 10, 2026
Merged

integry merged 4 commits into
1950-epic-cross-platform-dskfrom
2286/gpt-6-astra-fix-auth-preserve-desktop-20260910-2159-pah

Conversation

@propr-dev

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

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #2286

Branch: 2286/gpt-6-astra-fix-auth-preserve-desktop-20260910-2159-pah
Commits: ✅ Changes committed (c57c2b1)


AI Processing Completed

Execution Details:

Summary:
Implemented the auth fix in auth.ts: validated return URLs survive Passport session regeneration, stale redirects are cleared, and existing security checks remain intact.

Added nine integration tests using real Passport regeneration, including authenticated /api/auth/user requests. The regression fails with the original callback and passes with the fix.

Validation passed: 30 server tests, 76 UI tests, API typecheck, and focused lint.

Full desktop acceptance remains unverified: this checkout lacks pairing routes/UI. Deployed session checks returned HTTP 403, so missing browser user context remains unresolved. The epic checkout still needs real-user OAuth, explicit approval, and desktop identity confirmation. No deployment or worker changes were made.

Detailed Logs:

  • Conversation: 53 messages
  • Session: 01a08d56-ac2f-7bf1-83d5-ee50a1ce3a8e

Log files stored at:

  • conversation: /tmp/claude-logs/issue-2286-2026-09-10T22-07-09-141Z-conversation.json
  • output: /tmp/claude-logs/issue-2286-2026-09-10T22-07-09-141Z-output.txt
Latest Conversation Messages

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


💡 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!


Visual preview

Suggested agent tools

  • Playwright Chromium: Capture the post-OAuth desktop approval page using the desktop epic checkout. This checkout has no /desktop/pairing UI or pairing API, so the changed landing state cannot be rendered faithfully here.

propr-dev[bot] and others added 3 commits September 10, 2026 14:51
Implemented by ProPR AI using gpt-6-astra model.

Implementation completed successfully.
…uite-failed-20260910-1448-zav

[2259 by GPT-6 Astra] Nightly Test Suite Failed - 2026-09-10
…turn through

Implemented by ProPR AI using gpt-6-astra model.

Implementation completed successfully.
@integry
integry changed the base branch from main to 1950-epic-cross-platform-dsk September 10, 2026 22:08
@integry

integry commented Sep 10, 2026

Copy link
Copy Markdown
Owner

Root review: integrated desktop epic into this branch without bringing unrelated main agent-test changes; PR now targets 1950-epic-cross-platform-dsk. Delta is exactly auth.ts and nine-test regression file. Verified 31/31 focused auth tests on integrated head 2b67328, then built core declarations and API typecheck passed. Narrow validated-return transfer preserves normal Passport state/session rotation. Real OAuth/desktop approval acceptance remains under #2269; merging code does not claim deployment or two-real-user completion.

@integry
integry merged commit da737ee into 1950-epic-cross-platform-dsk Sep 10, 2026
8 of 10 checks passed
@propr-dev

propr-dev Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @integry

Analysis Summary

No follow-up edits were needed; 2b67328d already matches the review note.

Verified 35/35 selected auth tests, core declaration build, and API typecheck. Working tree remains clean; no commits or previews created.

Real OAuth, desktop approval, and two-user acceptance remain under #2269. This validation does not establish deployment completion.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: GPT-6 Astra (high)
  • Time: 4m 53s
  • Tokens: 417,808 (415,876 in / 1,932 out)
  • Cost: $0.84
  • Subscription usage: Weekly +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5626111898✓

@github-actions

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/451] apps/desktop/scripts/acceptance-artifacts.test.mjs
TAP version 13
# Subtest: packaged acceptance artifact contract
    # Subtest: has exactly 60 deterministic unique names and physical dimensions
    ok 1 - has exactly 60 deterministic unique names and physical dimensions
      ---
      duration_ms: 2.732769
      type: 'test'
      ...
    # Subtest: writes and verifies the complete strict 60-entry manifest and supporting set
    ok 2 - writes and verifies the complete strict 60-entry manifest and supporting set
      ---
      duration_ms: 117.362464
      type: 'test'
      ...
    # Subtest: scans full persisted surfaces and OCR-recognized rendered pixels
    ok 3 - scans full persisted surfaces and OCR-recognized rendered pixels
      ---
      duration_ms: 4.301538
      type: 'test'
      ...
    # Subtest: keeps generic matching within printable binary runs and exact sentinel scanning raw
    ok 4 - keeps generic matching within printable binary runs and exact sentinel scanning raw
      ---
      duration_ms: 6.332505
      type: 'test'
      ...
    # Subtest: fails closed on missing, mutated, and unexpected artifact data
    ok 5 - fails closed on missing, mutated, and unexpected artifact data
      ---
      duration_ms: 112.39095
      type: 'test'
      ...
    # Subtest: only recursively removes a dedicated non-link allowlisted leaf
    ok 6 - only recursively removes a dedicated non-link allowlisted leaf
      ---
      duration_ms: 5.926547
      type: 'test'
      ...
    # Subtest: authorizes the standard macOS temporary-directory alias by canonical parent identity
    ok 7 - authorizes the standard macOS temporary-directory alias by canonical parent identity # SKIP macOS-only /var alias regression
      ---
      duration_ms: 0.113477
      type: 'test'
      ...
    1..7
ok 1 - packaged acceptance artifact contract
  ---
  duration_ms: 250.407406
  type: 'suite'
  ...
1..1
# tests 7
# suites 1
# pass 6
# fail 0
# cancelled 0
# skipped 1
# todo 0
# duration_ms 470.604425

[2/451] 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: 26.801764
      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.213725
      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.696755
      type: 'test'
      ...
    1..3
ok 1 - Windows MVP ASAR main entry
  ---
  duration_ms: 28.653448
  type: 'suite'
  ...
1..1
# tests 3
# suites 1
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 269.059733

[3/451] 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.532494
  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.431444
  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.571091
  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.389934
  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: 0.813928
  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.610308
  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.254684
  type: 'test'
  ...
# Subtest: keeps WiX processes and their emitted diagnostics bounded
ok 8 - keeps WiX processes and their emitted diagnostics bounded
  ---
  duration_ms: 0.14245
  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: 0.454028
  type: 'test'
  ...
1..9
# tests 9
# suites 0
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 238.66217

[4/451] apps/desktop/scripts/desktop-icon-assets.test.mjs
TAP version 13
# Subtest: desktop native icon assets
    # Subtest: wires transparent native and tray assets into Forge, runtime creation, and package checks
    ok 1 - wires transparent native and tray assets into Forge, runtime creation, and package checks
      ---
      duration_ms: 5.933718
      type: 'test'
      ...
    # Subtest: reproducibly derives transparent assets from the pinned canonical logo-only artwork
    ok 2 - reproducibly derives transparent assets from the pinned canonical logo-only artwork
      ---
      duration_ms: 907.716845
      type: 'test'
      ...
    # Subtest: generates identical bytes regardless of the caller SIMD setting
    ok 3 - generates identical bytes regardless of the caller SIMD setting
      ---
      duration_ms: 1646.160717
      type: 'test'
      ...
    # Subtest: preserves canonical straight-alpha edge color on light and dark previews
    ok 4 - preserves canonical straight-alpha edge color on light and dark previews
      ---
      duration_ms: 15.603972
      type: 'test'
      ...
    # Subtest: verifies packaged Linux window, launcher, and tray icon surfaces
    ok 5 - verifies packaged Linux window, launcher, and tray icon surfaces
      ---
      duration_ms: 14.062756
      type: 'test'
      ...
    # Subtest: follows Electron Packager macOS metadata and requires transparent canonical ICNS bytes
    ok 6 - follows Electron Packager macOS metadata and requires transparent canonical ICNS bytes
      ---
      duration_ms: 45.223075
      type: 'test'
      ...
    1..6
ok 1 - desktop native icon assets
  ---
  duration_ms: 2636.092449
  type: 'suite'
  ...
1..1
# tests 6
# suites 1
# pass 6
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 3004.517745

[5/451] apps/desktop/scripts/desktop-runtime-manifest.test.mjs
TAP version 13
# Subtest: desktop runtime manifest alignment
    # Subtest: normalizes generated and packaged manifests for ordinary-user reads
    ok 1 - normalizes generated and packaged manifests for ordinary-user reads
      ---
      duration_ms: 2.339792
      type: 'test'
      ...
    # Subtest: creates a source-local manifest without claiming unpublished images
    ok 2 - creates a source-local manifest without claiming unpublished images
      ---
      duration_ms: 0.492224
      type: 'test'
      ...
    # Subtest: requires published release images to bind the exact commit tag and digest
    ok 3 - requires published release images to bind the exact commit tag and digest
      ---
      duration_ms: 0.639951
      type: 'test'
      ...
    # Subtest: rejects a manifest from another source or compatibility contract
    ok 4 - rejects a manifest from another source or compatibility contract
      ---
      duration_ms: 0.296647
      type: 'test'
      ...
    # Subtest: requires the separately resolved release tag to match its configured digest
    ok 5 - requires the separately resolved release tag to match its configured digest
      ---
      duration_ms: 0.431154
      type: 'test'
      ...
    # Subtest: requires both supported Linux architectures in every published runtime image
    ok 6 - requires both supported Linux architectures in every published runtime image
      ---
      duration_ms: 0.207345
      type: 'test'
      ...
    1..6
ok 1 - desktop runtime manifest alignment
  ---
  duration_ms: 5.668448
  type: 'suite'
  ...
# Subtest: desktop source runtime build inputs
    # Subtest: copies the client workspace manifest and source into the UI image build
    ok 1 - copies the client workspace manifest and source into the UI image build
      ---
      duration_ms: 0.382853
      type: 'test'
      ...
    # Subtest: makes the isolated smoke data root private independently of caller umask
    ok 2 - makes the isolated smoke data root private independently of caller umask
      ---
      duration_ms: 0.38741
      type: 'test'
      ...
    1..2
ok 2 - desktop source runtime build inputs
  ---
  duration_ms: 1.051917
  type: 'suite'
  ...
1..2
# tests 8
# suites 2
# pass 8
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 239.116918

[6/451] apps/desktop/scripts/electron-frame-semantics.test.mjs
TAP version 13
# Downloading Electron binary...
# Subtest: Electron BrowserWindow lifecycle semantics
    # Subtest: keeps initial frame identity stable and invalidates the window getter after destruction
    ok 1 - keeps initial frame identity stable and invalidates the window getter after destruction
      ---
      duration_ms: 3013.321346
      type: 'test'
      ...
    1..1
ok 1 - Electron BrowserWindow lifecycle semantics
  ---
  duration_ms: 3014.245475
  type: 'suite'
  ...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 3230.841466

[7/451] apps/desktop/scripts/electron-native-test-setup.test.mjs
TAP version 13
# Subtest: native Electron test setup
    # Subtest: keeps native probe modules free of eager Electron resolution
    ok 1 - keeps native probe modules free of eager Electron resolution
      ---
      duration_ms: 5.059451
      type: 'test'
      ...
    # Subtest: does not resolve Electron for an unsupported platform
    ok 2 - does not resolve Electron for an unsupported platform
      ---
      duration_ms: 0.755922
      type: 'test'
      ...
    # Subtest: does not resolve Electron for a headless Linux worker
    ok 3 - does not resolve Electron for a headless Linux worker
      ---
      duration_ms: 0.186144
      type: 'test'
      ...
    # Subtest: uses Chromium headless mode only when a session-only probe opts in
    ok 4 - uses Chromium headless mode only when a session-only probe opts in
      ---
      duration_ms: 0.167096
      type: 'test'
      ...
    # Subtest: resolves Electron once for a supported native worker
    ok 5 - resolves Electron once for a supported native worker
      ---
      duration_ms: 0.143491
      type: 'test'
      ...
    # Subtest: preserves xvfb-run for a supported headless Linux worker
    ok 6 - preserves xvfb-run for a supported headless Linux worker
      ---
      duration_ms: 0.194266
      type: 'test'
      ...
    # Subtest: runs one Electron preflight before starting parallel test workers
    ok 7 - runs one Electron preflight before starting parallel test workers
      ---
      duration_ms: 6.351282
      type: 'test'
      ...
    1..7
ok 1 - native Electron test setup
  ---
  duration_ms: 14.010618
  type: 'suite'
  ...
1..1
# tests 7
# suites 1
# pass 7
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 235.305119

[8/451] apps/desktop/scripts/electron-pairing-zstd.test.mjs
TAP version 13
# Subtest: Electron pairing response compression
    # Subtest: negotiates and transparently decodes zstd through defaultSession.fetch
    ok 1 - negotiates and transparently decodes zstd through defaultSession.fetch
      ---
      duration_ms: 308.514112
      type: 'test'
      ...
    1..1
ok 1 - Electron pairing response compression
  ---
  duration_ms: 309.658185
  type: 'suite'
  ...
1..1
# tests 1
# suites 1
# pass 1
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 553.717522

[9/451] apps/desktop/scripts/linux-window-frame.test.mjs
TAP version 13
# Subtest: Linux frame supports native pointer controls on Dashboard
ok 1 - Linux frame supports native pointer controls on Dashboard # SKIP Set PROPR_DESKTOP_FRAME_TEST=1 on an isolated Linux DISPLAY with a window manager and xdotool
  ---
  duration_ms: 1.450834
  type: 'test'
  ...
# Subtest: Linux frame supports native pointer controls on Dashboard with a modal
ok 2 - Linux frame supports native pointer controls on Dashboard with a modal # SKIP Set PROPR_DESKTOP_FRAME_TEST=1 on an isolated Linux DISPLAY with a window manager and xdotool
  ---
  duration_ms: 0.124704
  type: 'test'
  ...
1..2
# tests 2
# suites 0
# pass 0
# fail 0
# cancelled 0
# skipped 2
# todo 0
# duration_ms 1108.559557

[10/451] apps/desktop/scripts/packaged-acceptance-current-user.test.mjs
TAP version 13
# Subtest: packaged scoped current-user request URL
    # Subtest: accepts one canonical bounded desktop generation parameter
    ok 1 - accepts one canonical bounded desktop generation parameter
      ---
      duration_ms: 0.973172
      type: 'test'
      ...
    # Subtest: rejects hosted, non-GET, duplicate, unrelated, and unbounded query forms
    ok 2 - rejects hosted, non-GET, duplicate, unrelated, and unbounded query forms
      ---
      duration_ms: 0.349154
      type: 'test'
      ...
    # Subtest: matches only the canonical bounded generation expected by an ordinary packaged launch
    ok 3 - matches only the canonical bounded generation expected by an ordinary packaged launch
      ---
      duration_ms: 0.31912
      type: 'test'
      ...
    1..3
ok 1 - packaged scoped current-user request URL
  ---
  duration_ms: 2.457034
  type: 'suite'
  ...
# Subtest: packaged current-user fixture request shapes
    # Subtest: distinguishes the exact main probe from renderer-scoped validation
    ok 1 - distinguishes the exact main probe from renderer-scoped validation
      ---
      duration_ms: 0.831573
      type: 'test'
      ...
    # Subtest: rejects cross-assigned, duplicate, extra, and noncanonical encoded forms
    ok 2 - rejects cross-assigned, duplicate, extra, and noncanonical encoded forms
      ---
      duration_ms: 0.280082
      type: 'test'
      ...
    1..2
ok 2 - packaged current-user fixture request shapes
  ---
  duration_ms: 1.25064
  type: 'suite'
  ...
# Subtest: packaged revoked authorization console correlation
    # Subtest: correlates exactly one console error to the deliberate scoped request
    ok 1 - correlates exactly one console error to the deliberate scoped request
      ---
      duration_ms: 0.457073
      type: 'test'
      ...
    # Subtest: rejects a stale console scope generation
    ok 2 - rejects a stale console scope generation
      ---
      duration_ms: 0.321183
      type: 'test'
      ...
    # Subtest: rejects duplicate console errors and duplicate revoked requests
    ok 3 - rejects duplicate console errors and duplicate revoked requests
      ---
      duration_ms: 0.196198
      type: 'test'
      ...
    # Subtest: rejects unmatched request generations and occurrences
    ok 4 - rejects unmatched request generations and occurrences
      ---
      duration_ms: 0.198613
      type: 'test'
      ...
    1..4
ok 3 - packaged revoked authorization console correlation
  ---
  duration_ms: 1.581417
  type: 'suite'
  ...
# Subtest: packaged current-user acceptance correlation
    # Subtest: diagnoses a correlated zero-scope record
    ok 1 - diagnoses a correlated zero-scope record
      ---
      duration_ms: 0.389803
      type: 'test'
      ...
    # Subtest: diagnoses a correlated duplicate-scope record
    ok 2 - diagnoses a correlated duplicate-scope record
      ---
      duration_ms: 0.1021
      type: 'test'
      ...
    # Subtest: diagnoses a correlated no-binding record
    ok 3 - diagnoses a correlated no-binding record
      ---
      duration_ms: 0.106407
      type: 'test'
      ...
    # Subtest: diagnoses a correlated stale-scope record
    ok 4 - diagnoses a correlated stale-scope record
      ---
      duration_ms: 0.107688
      type: 'test'
      ...
    # Subtest: accepts the current scope with main-only bearer custody
    ok 5 - accepts the current scope with main-only bearer custody
      ---
      duration_ms: 0.111494
      type: 'test'
      ...
    # Subtest: rejects a main or upstream record from another renderer generation
    ok 6 - rejects a main or upstream record from another renderer generation
      ---
      duration_ms: 0.092075
      type: 'test'
      ...
    # Subtest: correlates main evidence by journey and upstream evidence by renderer request origin
    ok 7 - correlates main evidence by journey and upstream evidence by renderer request origin
      ---
      duration_ms: 0.100578
      type: 'test'
      ...
    # Subtest: diagnoses upstream bearer custody after correlating the fixture record
    ok 8 - diagnoses upstream bearer custody after correlating the fixture record
      ---
      duration_ms: 0.078826
      type: 'test'
      ...
    1..8
ok 4 - packaged current-user acceptance correlation
  ---
  duration_ms: 1.280073
  type: 'suite'
  ...
# Subtest: packaged current-user strict failure diagnostics
    # Subtest: reports fixed bounded Local Network Access decision counts
    ok 1 - reports fixed bounded Local Network Access decision counts
      ---
      duration_ms: 0.625149
      type: 'test'
      ...
    # Subtest: reports fixed bounded phase counts without retaining request secrets
    ok 2 - reports fixed bounded phase counts without retaining request secrets
      ---
      duration_ms: 0.425125
      type: 'test'
      ...
    1..2
ok 5 - packaged current-user strict failure diagnostics
  ---
  duration_ms: 1.203971
  type: 'suite'
  ...
1..5
# tests 19
# suites 5
# pass 19
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 479.976236

[11/451] apps/desktop/scripts/packaged-acceptance-renderer.test.mjs
TAP version 13
# Subtest: packaged acceptance renderer discovery
    # Subtest: waits deterministically when CDP precedes the first Electron renderer page
    ok 1 - waits deterministically when CDP precedes the first Electron renderer page
      ---
      duration_ms: 1.688263
      type: 'test'
      ...
    # Subtest: rejects process exit while waiting and removes its listeners
    ok 2 - rejects process exit while waiting and removes its listeners
      ---
      duration_ms: 0.65964
      type: 'test'
      ...
    # Subtest: rejects a strictly bounded timeout when no renderer target appears
    ok 3 - rejects a strictly bounded timeout when no renderer target appears
      ---
      duration_ms: 4.957131
      type: 'test'
      ...
    1..3
ok 1 - packaged acceptance renderer discovery
  ---
  duration_ms: 8.388969
  type: 'suite'
  ...
# Subtest: packaged acceptance renderer variants
    # Subtest: fails closed unless the real Chromium boundary has its exact explicit opt-in
    ok 1 - fails closed unless the real Chromium boundary has its exact explicit opt-in
      ---
      duration_ms: 0.58438
      type: 'test'
      ...
    # Subtest: configures and captures all five variants when Browser.getWindowForTarget is unavailable
    ok 2 - configures and captures all five variants when Browser.getWindowForTarget is unavailable
      ---
      duration_ms: 3.243531
      type: 'test'
      ...
    # Subtest: proves packaged Electron zoom-200 from webFrame acknowledgement and independent renderer geometry
    ok 3 - proves packaged Electron zoom-200 from webFrame acknowledgement and independent renderer geometry
      ---
      duration_ms: 0.392117
      type: 'test'
      ...
    # Subtest: fails closed on a wrong or malformed Electron zoom acknowledgement
    ok 4 - fails closed on a wrong or malformed Electron zoom acknowledgement
      ---
      duration_ms: 0.527036
      type: 'test'
      ...
    # Subtest: fails closed on renderer geometry mismatch and an unstable measurement timeout
    ok 5 - fails closed on renderer geometry mismatch and an unstable measurement timeout
      ---
      duration_ms: 2.552664
      type: 'test'
      ...
    # Subtest: fails closed on arbitrary layout spans, invalid insets, and exact renderer/CDP visual mismatches
    ok 6 - fails closed on arbitrary layout spans, invalid insets, and exact renderer/CDP visual mismatches
      ---
      duration_ms: 1.854688
      type: 'test'
      ...
    # Subtest: real Chromium existing-target axe boundary
    ok 7 - real Chromium existing-target axe boundary # SKIP Real Chromium is owned by the required predecessor (PROPR_DESKTOP_REAL_CHROMIUM_BOUNDARY=1)
      ---
      duration_ms: 0.08207
      type: 'suite'
      ...
    1..7
ok 2 - packaged acceptance renderer variants
  ---
  duration_ms: 9.949475
  type: 'suite'
  ...
1..2
# tests 9
# suites 3
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 848.970263

[12/451] apps/desktop/scripts/packaged-acceptance-socket.test.mjs
TAP version 13
# Subtest: packaged acceptance Socket.IO application synchronization
    # Subtest: uses the exact production subscription event and emits only from its one-shot handler
    ok 1 - uses the exact production subscription event and emits only from its one-shot handler
      ---
      duration_ms: 1.192765
      type: 'test'
      ...
    # Subtest: records a bounded duplicate subscription without producing another fixture event
    ok 2 - records a bounded duplicate subscription without producing another fixture event
      ---
      duration_ms: 0.282516
      type: 'test'
      ...
    # Subtest: requires exact connection, subscription, emit, and renderer-observation counts
    ok 3 - requires exact connection, subscription, emit, and renderer-observation counts
      ---
      duration_ms: 0.422842
      type: 'test'
      ...
    1..3
ok 1 - packaged acceptance Socket.IO application synchronization
  ---
  duration_ms: 3.104757
  type: 'suite'
  ...
1..1
# tests 3
# suites 1
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 229.948721

[13/451] apps/desktop/scripts/packaged-acceptance-stats.test.mjs
TAP version 13
# Subtest: packaged acceptance stats fixtures
    # Subtest: returns the paginated draft shape consumed by the dashboard header
    ok 1 - returns the paginated draft shape consumed by the dashboard header
      ---
      duration_ms: 2.483613
      type: 'test'
      ...
    # Subtest: dispatches exact stats pathnames before the unchanged generic fallback
    ok 2 - dispatches exact stats pathnames before the unchanged generic fallback
      ---
      duration_ms: 0.703665
      type: 'test'
      ...
    # Subtest: matches TaskStatsResponse and the fields synchronously mapped by Dashboard and TaskStatsChart
    ok 3 - matches TaskStatsResponse and the fields synchronously mapped by Dashboard and TaskStatsChart
      ---
      duration_ms: 1.124184
      type: 'test'
      ...
    # Subtest: matches StatsOverviewResponse and RepositoryStatsResponse consumer contracts
    ok 4 - matches StatsOverviewResponse and RepositoryStatsResponse consumer contracts
      ---
      duration_ms: 1.598662
      type: 'test'
      ...
    1..4
ok 1 - packaged acceptance stats fixtures
  ---
  duration_ms: 6.933128
  type: 'suite'
  ...
1..1
# tests 4
# suites 1
# pass 4
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 230.377702

[14/451] apps/desktop/scripts/packaged-connect-evidence.test.mjs
TAP version 13
# Subtest: packaged Connect aggregate evidence
    # Subtest: accepts the complete fixed protocol evidence
    ok 1 - accepts the complete fixed protocol evidence
      ---
      duration_ms: 1.241305
      type: 'test'
      ...
    # Subtest: accepts valid rotated Socket.IO bindings alongside the expected stale-auth rejection
    ok 2 - accepts valid rotated Socket.IO bindings alongside the expected stale-auth rejection
      ---
      duration_ms: 0.746448
      type: 'test'
      ...
    # Subtest: requires exactly eight pair discoveries and two fresh-process reprobe discoveries
    ok 3 - requires exactly eight pair discoveries and two fresh-process reprobe discoveries
      ---
      duration_ms: 0.185443
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for DISCOVERY_COUNT_MISMATCH
    ok 4 - reports only fixed evidence for DISCOVERY_COUNT_MISMATCH
      ---
      duration_ms: 0.404084
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for DISCOVERY_AUTHORIZATION_PRESENT
    ok 5 - reports only fixed evidence for DISCOVERY_AUTHORIZATION_PRESENT
      ---
      duration_ms: 0.163761
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_START_MISSING
    ok 6 - reports only fixed evidence for PAIRING_START_MISSING
      ---
      duration_ms: 0.189328
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_START_DUPLICATE
    ok 7 - reports only fixed evidence for PAIRING_START_DUPLICATE
      ---
      duration_ms: 0.164622
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_BROWSER_COUNT_MISMATCH
    ok 8 - reports only fixed evidence for PAIRING_BROWSER_COUNT_MISMATCH
      ---
      duration_ms: 0.15662
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_EXPIRY_POLL_PRESENT
    ok 9 - reports only fixed evidence for PAIRING_EXPIRY_POLL_PRESENT
      ---
      duration_ms: 0.248656
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_CANCEL_POLL_PRESENT
    ok 10 - reports only fixed evidence for PAIRING_CANCEL_POLL_PRESENT
      ---
      duration_ms: 0.368873
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_SUCCESS_POLL_COUNT_MISMATCH
    ok 11 - reports only fixed evidence for PAIRING_SUCCESS_POLL_COUNT_MISMATCH
      ---
      duration_ms: 0.112836
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_POLL_COUNT_MISMATCH
    ok 12 - reports only fixed evidence for PAIRING_POLL_COUNT_MISMATCH
      ---
      duration_ms: 0.142179
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_ACTIVATION_COUNT_MISMATCH
    ok 13 - reports only fixed evidence for PAIRING_ACTIVATION_COUNT_MISMATCH
      ---
      duration_ms: 0.121999
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_METHOD_MISMATCH
    ok 14 - reports only fixed evidence for PAIRING_METHOD_MISMATCH
      ---
      duration_ms: 0.08143
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_BROWSER_CREDENTIAL_PRESENT
    ok 15 - reports only fixed evidence for PAIRING_BROWSER_CREDENTIAL_PRESENT
      ---
      duration_ms: 0.068861
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_INTENT_SEQUENCE_MISMATCH
    ok 16 - reports only fixed evidence for PAIRING_INTENT_SEQUENCE_MISMATCH
      ---
      duration_ms: 0.113176
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_LIFECYCLE_ISOLATION_FAILED
    ok 17 - reports only fixed evidence for PAIRING_LIFECYCLE_ISOLATION_FAILED
      ---
      duration_ms: 0.066108
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PAIRING_REQUEST_AFTER_TERMINAL
    ok 18 - reports only fixed evidence for PAIRING_REQUEST_AFTER_TERMINAL
      ---
      duration_ms: 0.055091
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for DELAYED_APPROVAL_READINESS_MISSING
    ok 19 - reports only fixed evidence for DELAYED_APPROVAL_READINESS_MISSING
      ---
      duration_ms: 0.051666
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for BOOTSTRAP_AUTHORIZATION_PRESENT
    ok 20 - reports only fixed evidence for BOOTSTRAP_AUTHORIZATION_PRESENT
      ---
      duration_ms: 0.049884
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for AUTHENTICATED_REST_COUNT_MISMATCH
    ok 21 - reports only fixed evidence for AUTHENTICATED_REST_COUNT_MISMATCH
      ---
      duration_ms: 0.178943
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for AUTHENTICATED_SOCKET_COUNT_MISMATCH
    ok 22 - reports only fixed evidence for AUTHENTICATED_SOCKET_COUNT_MISMATCH
      ---
      duration_ms: 0.065766
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for REST_SCOPE_MISMATCH
    ok 23 - reports only fixed evidence for REST_SCOPE_MISMATCH
      ---
      duration_ms: 0.051646
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for SOCKET_SCOPE_MISSING
    ok 24 - reports only fixed evidence for SOCKET_SCOPE_MISSING
      ---
      duration_ms: 0.047249
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for SOCKET_SCOPE_BINDING_MISMATCH
    ok 25 - reports only fixed evidence for SOCKET_SCOPE_BINDING_MISMATCH
      ---
      duration_ms: 0.047911
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for SOCKET_SCOPE_ROTATION_MISMATCH
    ok 26 - reports only fixed evidence for SOCKET_SCOPE_ROTATION_MISMATCH
      ---
      duration_ms: 0.046368
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PLAINTEXT_CREDENTIAL_PERSISTED
    ok 27 - reports only fixed evidence for PLAINTEXT_CREDENTIAL_PERSISTED
      ---
      duration_ms: 0.062312
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PUBLIC_IDENTITY_MISSING
    ok 28 - reports only fixed evidence for PUBLIC_IDENTITY_MISSING
      ---
      duration_ms: 0.049052
      type: 'test'
      ...
    # Subtest: reports only fixed evidence for PUBLIC_IDENTITY_ORDER_MISMATCH
    ok 29 - reports only fixed evidence for PUBLIC_IDENTITY_ORDER_MISMATCH
      ---
      duration_ms: 0.048472
      type: 'test'
      ...
    1..29
ok 1 - packaged Connect aggregate evidence
  ---
  duration_ms: 7.650393
  type: 'suite'
  ...
1..1
# tests 29
# suites 1
# pass 29
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 262.004186

[15/451] apps/desktop/scripts/packaged-connect-launch.test.mjs
TAP version 13
# Subtest: packaged Connect launch boundary
    # Subtest: passes the one effective Linux argv through the actual binary spawn
    ok 1 - passes the one effective Linux argv through the actual binary spawn
      ---
      duration_ms: 1.261615
      type: 'test'
      ...
    # Subtest: does not add the Linux password-store selection on Darwin
    ok 2 - does not add the Linux password-store selection on Darwin
      ---
      duration_ms: 0.138093
      type: 'test'
      ...
    # Subtest: the lifecycle and real binary spawn share the derived argv source
    ok 3 - the lifecycle and real binary spawn share the derived argv source
      ---
      duration_ms: 7.010872
      type: 'test'
      ...
    1..3
ok 1 - packaged Connect launch boundary
  ---
  duration_ms: 9.407877
  type: 'suite'
  ...
1..1
# tests 3
# suites 1
# pass 3
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 223.88082

[16/451] apps/desktop/scripts/packaged-connect-lifecycle.test.mjs
TAP version 13
# Subtest: packaged Connect bounded child lifecycle
    # Subtest: requires exact starts and approvals, no negative poll, one success poll, and one activation
    ok 1 - requires exact starts and approvals, no negative poll, one success poll, and one activation
      ---
      duration_ms: 9.933746
      type: 'test'
      ...
    # Subtest: accepts an exact ready proof followed by a clean exit
    ok 2 - accepts an exact ready proof followed by a clean exit
      ---
      duration_ms: 3.90906
      type: 'test'
      ...
    # Subtest: requires and preserves the expected fixed storage-backend report before readiness
    ok 3 - requires and preserves the expected fixed storage-backend report before readiness
      ---
      duration_ms: 13.490383
      type: 'test'
      ...
    # Subtest: does not accept an intermediate discovery milestone as terminal readiness
    ok 4 - does not accept an intermediate discovery milestone as terminal readiness
      ---
      duration_ms: 1.032438
      type: 'test'
      ...
    # Subtest: returns only exact allowlisted journey stages
    ok 5 - returns only exact allowlisted journey stages
      ---
      duration_ms: 1.542559
      type: 'test'
      ...
    # Subtest: retains the latest bounded journey stage when earlier diagnostics fill the cap
    ok 6 - retains the latest bounded journey stage when earlier diagnostics fill the cap
      ---
      duration_ms: 1.741672
      type: 'test'
      ...
    # Subtest: retains only fixed terminal journey failure evidence when diagnostics fill the cap
    ok 7 - retains only fixed terminal journey failure evidence when diagnostics fill the cap
      ---
      duration_ms: 3.247517
      type: 'test'
      ...
    # Subtest: drops non-allowlisted terminal journey failure fields
    ok 8 - drops non-allowlisted terminal journey failure fields
      ---
      duration_ms: 1.100098
      type: 'test'
      ...
    # Subtest: returns only fixed secret-free Local Network Access decision evidence
    ok 9 - returns only fixed secret-free Local Network Access decision evidence
      ---
      duration_ms: 1.531923
      type: 'test'
      ...
    # Subtest: fails closed when an otherwise allowlisted journey stage contains a secret
    ok 10 - fails closed when an otherwise allowlisted journey stage contains a secret
      ---
      duration_ms: 1.102041
      type: 'test'
      ...
    # Subtest: publishes the sole terminal READY only after each real journey phase
    ok 11 - publishes the sole terminal READY only after each real journey phase
      ---
      duration_ms: 5.504137
      type: 'test'
      ...
    # Subtest: forces a ready app with a hung descendant through an exact bounded taskkill invocation
    ok 12 - forces a ready app with a hung descendant through an exact bounded taskkill invocation
      ---
      duration_ms: 6.370991
      type: 'test'
      ...
    # Subtest: keeps timeout-before-ready primary while terminating and draining the tree
    ok 13 - keeps timeout-before-ready primary while terminating and draining the tree
      ---
      duration_ms: 15.282279
      type: 'test'
      ...
    # Subtest: classifies asynchronous spawn errors without exposing their message
    ok 14 - classifies asynchronous spawn errors without exposing their message
      ---
      duration_ms: 6.61467
      type: 'test'
      ...
    # Subtest: settles close/timeout races once and never upgrades an early exit to success
    ok 15 - settles close/timeout races once and never upgrades an early exit to success
      ---
      duration_ms: 0.610028
      type: 'test'
      ...
    # Subtest: accepts a clean post-proof close racing a taskkill no-process result
    ok 16 - accepts a clean post-proof close racing a taskkill no-process result
      ---
      duration_ms: 6.042759
      type: 'test'
      ...
    # Subtest: rejects malformed, partial, truncated, and extra-field ready records
    ok 17 - rejects malformed, partial, truncated, and extra-field ready records
      ---
      duration_ms: 6.412733
      type: 'test'
      ...
    # Subtest: terminates an exact-event record whose platform proof is invalid
    ok 18 - terminates an exact-event record whose platform proof is invalid
      ---
      duration_ms: 1.527968
      type: 'test'
      ...
    # Subtest: fails after proof when Windows tree termination cannot be proven
    ok 19 - fails after proof when Windows tree termination cannot be proven
      ---
      duration_ms: 5.558146
      type: 'test'
      ...
    # Subtest: never returns secret-bearing raw output or non-allowlisted record fields
    ok 20 - never returns secret-bearing raw output or non-allowlisted record fields
      ---
      duration_ms: 1.343977
      type: 'test'
      ...
    # Subtest: revokes success when sensitive output arrives after the exact ready proof
    ok 21 - revokes success when sensitive output arrives after the exact ready proof
      ---
      duration_ms: 2.156062
      type: 'test'
      ...
    # Subtest: rejects a JSON-escaped Windows path in a non-allowlisted record before readiness
    ok 22 - rejects a JSON-escaped Windows path in a non-allowlisted record before readiness
      ---
      duration_ms: 1.313603
      type: 'test'
      ...
    # Subtest: revokes success for a JSON-escaped Windows path after the exact ready proof
    ok 23 - revokes success for a JSON-escaped Windows path after the exact ready proof
      ---
      duration_ms: 1.153086
      type: 'test'
      ...
    # Subtest: revokes success when a JSON-escaped Windows path follows the record-count cap
    ok 24 - revokes success when a JSON-escaped Windows path follows the record-count cap
      ---
      duration_ms: 3.396816
      type: 'test'
      ...
    # Subtest: revokes success when a JSON-escaped Windows path follows the byte cap
    ok 25 - revokes success when a JSON-escaped Windows path follows the byte cap
      ---
      duration_ms: 6.546819
      type: 'test'
      ...
    1..25
ok 1 - packaged Connect bounded child lifecycle
  ---
  duration_ms: 110.844936
  type: 'suite'
  ...
# Subtest: packaged Connect fixture cleanup
    # Subtest: closes the journey fixture once and tolerates only the already-stopped server condition
    ok 1 - closes the journey fixture once and tolerates only the already-stopped server condition
      ---
      duration_ms: 1.209149
      type: 'test'
      ...
    # Subtest: retries a transient Windows EBUSY only inside the authorized fixture
    ok 2 - retries a transient Windows EBUSY only inside the authorized fixture
      ---
      duration_ms: 3.564393
      type: 'test'
      ...
    # Subtest: redacts cleanup failure and preserves the primary lifecycle outcome
    ok 3 - redacts cleanup failure and preserves the primary lifecycle outcome
      ---
      duration_ms: 1.042694
      type: 'test'
      ...
    # Subtest: bounds a never-settling removal and preserves the primary result
    ok 4 - bounds a never-settling removal and preserves the primary result
      ---
      duration_ms: 10.04887
      type: 'test'
      ...
    # Subtest: bounds a never-settling authorization call as a fixed cleanup failure
    ok 5 - bounds a never-settling authorization call as a fixed cleanup failure
      ---
      duration_ms: 10.635915
      type: 'test'
      ...
    # Subtest: isolates default Windows filesystem cleanup from the harness process
    ok 6 - isolates default Windows filesystem cleanup from the harness process
      ---
      duration_ms: 44.052516
      type: 'test'
      ...
    # Subtest: refuses a link, renamed leaf, or fixture outside the canonical temporary parent
    ok 7 - refuses a link, renamed leaf, or fixture outside the canonical temporary parent
      ---
      duration_ms: 0.518303
      type: 'test'
      ...
    1..7
ok 2 - packaged Connect fixture cleanup
  ---
  duration_ms: 71.461112
  type: 'suite'
  ...
1..2
# tests 32
# suites 2
# pass 32
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 421.512026

[17/451] apps/desktop/scripts/packaged-connect-platform.test.mjs
TAP version 13
# Subtest: packaged Connect target-native credential setup
    # Subtest: Linux retains one isolated unlocked libsecret session and rejects plaintext fallback
    ok 1 - Linux retains one isolated unlocked libsecret session and rejects plaintext fallback
      ---
      duration_ms: 5.030569
      type: 'test'
      ...
    # Subtest: inspects the ordinary unsigned package before adding the Darwin-only acceptance identity
    ok 2 - inspects the ordinary unsigned package before adding the Darwin-only acceptance identity
      ---
      duration_ms: 0.753939
      type: 'test'
      ...
    # Subtest: Darwin creates one ephemeral certificate-backed identity and proves it across both launches
    ok 3 - Darwin creates one ephemeral certificate-backed identity and proves it across both launches
      ---
      duration_ms: 0.927013
      type: 'test'
      ...
    # Subtest: Darwin root signing sets, but never preserves, the required identifier
    ok 4 - Darwin root signing sets, but never preserves, the required identifier
      ---
      duration_ms: 0.220895
      type: 'test'
      ...
    # Subtest: Darwin emits only allowlisted fixed stage markers around every blocking phase
    ok 5 - Darwin emits only allowlisted fixed stage markers around every blocking phase
      ---
      duration_ms: 14.636223
      type: 'test'
      ...
    # Subtest: Darwin bounds setup, nested signing, verification, journey, cleanup, and the wrapper
    ok 6 - Darwin bounds setup, nested signing, verification, journey, cleanup, and the wrapper
      ---
      duration_ms: 0.396604
      type: 'test'
      ...
    # Subtest: Darwin failure diagnostics are fixed, classified, and secret-safe
    ok 7 - Darwin failure diagnostics are fixed, classified, and secret-safe
      ---
      duration_ms: 0.519394
      type: 'test'
      ...
    # Subtest: Darwin restores keychain state and deletes identity, credentials, and files on every exit
    ok 8 - Darwin restores keychain state and deletes identity, credentials, and files on every exit
      ---
      duration_ms: 0.366739
      type: 'test'
      ...
    # Subtest: Darwin smoke has no static or production identity and does not widen or pre-seed Safe Storage
    ok 9 - Darwin smoke has no static or production identity and does not widen or pre-seed Safe Storage
      ---
      duration_ms: 5.053193
      type: 'test'
      ...
    1..9
ok 1 - packaged Connect target-native credential setup
  ---
  duration_ms: 29.608616
  type: 'suite'
  ...
1..1
# tests 9
# suites 1
# pass 9
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 261.023494

[18/451] apps/desktop/scripts/packaged-layout.test.mjs
TAP version 13
# Subtest: packaged desktop event parsing
    # Subtest: returns the first full record for the exact matching event
    ok 1 - returns the first full record for the exact matching event
      ---
      duration_ms: 1.559734
      type: 'test'
      ...
    # Subtest: returns undefined when the event is absent
    ok 2 - returns undefined when the event is absent
      ---
      duration_ms: 0.198952
      type: 'test'
      ...
    1..2
ok 1 - packaged desktop event parsing
  ---
  duration_ms: 2.90274
  type: 'suite'
  ...
# Subtest: packaged desktop layout assertions
    # Subtest: retains the exact 1280x820 Linux Xvfb proof
    ok 1 - retains the exact 1280x820 Linux Xvfb proof
      ---
      duration_ms: 1.621435
      type: 'test'
      ...
    # Subtest: accepts a contained Linux expanded edge-flush frame
    ok 2 - accepts a contained Linux expanded edge-flush frame
      ---
      duration_ms: 0.248886
      type: 'test'
      ...
    # Subtest: accepts a contained Linux symmetrically inset frame
    ok 3 - accepts a contained Linux symmetrically inset frame
      ---
      duration_ms: 0.110693
      type: 'test'
      ...
    # Subtest: accepts a contained Linux asymmetrically inset frame
    ok 4 - accepts a contained Linux asymmetrically inset frame
      ---
      duration_ms: 0.116691
      type: 'test'
      ...
    # Subtest: rejects Linux client decoration and reduced native capabilities
    ok 5 - rejects Linux client decoration and reduced native capabilities
      ---
      duration_ms: 0.329305
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with legacy title row
    ok 6 - rejects Linux chrome with legacy title row
      ---
      duration_ms: 0.335193
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with native overlay alongside custom controls
    ok 7 - rejects Linux chrome with native overlay alongside custom controls
      ---
      duration_ms: 0.281604
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with duplicate controls
    ok 8 - rejects Linux chrome with duplicate controls
      ---
      duration_ms: 0.292851
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with missing control
    ok 9 - rejects Linux chrome with missing control
      ---
      duration_ms: 0.152885
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with incorrect control label
    ok 10 - rejects Linux chrome with incorrect control label
      ---
      duration_ms: 0.830291
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with non-draggable title band
    ok 11 - rejects Linux chrome with non-draggable title band
      ---
      duration_ms: 0.212522
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with draggable controls
    ok 12 - rejects Linux chrome with draggable controls
      ---
      duration_ms: 1.772337
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with overlapping drag and controls
    ok 13 - rejects Linux chrome with overlapping drag and controls
      ---
      duration_ms: 0.193054
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with gap between drag and controls
    ok 14 - rejects Linux chrome with gap between drag and controls
      ---
      duration_ms: 0.178763
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with drag clipped by viewport
    ok 15 - rejects Linux chrome with drag clipped by viewport
      ---
      duration_ms: 0.157932
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with drag outside inset entry
    ok 16 - rejects Linux chrome with drag outside inset entry
      ---
      duration_ms: 0.119326
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with gap at entry left edge
    ok 17 - rejects Linux chrome with gap at entry left edge
      ---
      duration_ms: 0.099876
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with controls clipped by viewport
    ok 18 - rejects Linux chrome with controls clipped by viewport
      ---
      duration_ms: 0.100688
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with gap at entry right edge
    ok 19 - rejects Linux chrome with gap at entry right edge
      ---
      duration_ms: 0.099096
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with controls above viewport
    ok 20 - rejects Linux chrome with controls above viewport
      ---
      duration_ms: 0.11559
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with vertically misaligned controls
    ok 21 - rejects Linux chrome with vertically misaligned controls
      ---
      duration_ms: 0.10187
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with title band below entry top
    ok 22 - rejects Linux chrome with title band below entry top
      ---
      duration_ms: 0.094539
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with old 56px title band
    ok 23 - rejects Linux chrome with old 56px title band
      ---
      duration_ms: 0.093277
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with undersized drag band
    ok 24 - rejects Linux chrome with undersized drag band
      ---
      duration_ms: 0.088841
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with oversized controls
    ok 25 - rejects Linux chrome with oversized controls
      ---
      duration_ms: 0.089151
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with undersized controls
    ok 26 - rejects Linux chrome with undersized controls
      ---
      duration_ms: 0.086958
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with narrow controls
    ok 27 - rejects Linux chrome with narrow controls
      ---
      duration_ms: 0.104324
      type: 'test'
      ...
    # Subtest: rejects Linux chrome with wide controls
    ok 28 - rejects Linux chrome with wide controls
      ---
      duration_ms: 0.110573
      type: 'test'
      ...
    # Subtest: rejects controls inside the viewport but clipped by an inset entry
    ok 29 - rejects controls inside the viewport but clipped by an inset entry
      ---
      duration_ms: 0.184391
      type: 'test'
      ...
    # Subtest: rejects malformed chrome rectangles
    ok 30 - rejects malformed chrome rectangles
      ---
      duration_ms: 0.427819
      type: 'test'
      ...
    # Subtest: retains welcome-content clipping, overlap, and sizing checks with the inset frame
    ok 31 - retains welcome-content clipping, overlap, and sizing checks with the inset frame
      ---
      duration_ms: 0.29195
      type: 'test'
      ...
    # Subtest: accepts a safe 1024x720 Windows display clamp with intact contained content
    ok 32 - accepts a safe 1024x720 Windows display clamp with intact contained content
      ---
      duration_ms: 0.185583
      type: 'test'
      ...
    # Subtest: rejects unsafe Windows clamps and content outside the visible work area
    ok 33 - rejects unsafe Windows clamps and content outside the visible work area
      ---
      duration_ms: 0.191732
      type: 'test'
      ...
    1..33
ok 2 - packaged desktop layout assertions
  ---
  duration_ms: 10.516309
  type: 'suite'
  ...
1..2
# tests 35
# suites 2
# pass 35
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 260.659193

[19/451] apps/desktop/scripts/packaged-linux-setup-lifecycle.test.mjs
TAP version 13
# Subtest: real packaged Linux setup lifecycle harness
    # Subtest: creates only unique non-default stack, network, and ownership names
    ok 1 - creates only unique non-default stack, network, and ownership names
      ---
      duration_ms: 1.791305
      type: 'test'
      ...
    # Subtest: requires an exact source SHA and allocates distinct loopback ports
    ok 2 - requires an exact source SHA and allocates distinct loopback ports
      ---
      duration_ms: 9.012867
      type: 'test'
      ...
    # Subtest: passes only allowlisted host context into the private runtime
    ok 3 - passes only allowlisted host context into the private runtime
      ---
      duration_ms: 0.477923
      type: 'test'
      ...
    # Subtest: delegates read-only Docker inspection, holds pull, and rejects mutations
    ok 4 - delegates read-only Docker inspection, holds pull, and rejects mutations
      ---
      duration_ms: 241.91607
      type: 'test'
      ...
    # Subtest: reports the exact phase when Docker execution is unavailable
    ok 5 - reports the exact phase when Docker execution is unavailable
      ---
      duration_ms: 0.419928
      type: 'test'
      ...
    # Subtest: rejects malformed or expanded Docker evidence records
    ok 6 - rejects malformed or expanded Docker evidence records
      ---
      duration_ms: 0.27165
      type: 'test'
      ...
    # Subtest: bounds interrupted-relaunch diagnostics to final conditions and operation metadata
    ok 7 - bounds interrupted-relaunch diagnostics to final conditions and operation metadata
      ---
      duration_ms: 1.165955
      type: 'test'
      ...
    1..7
ok 1 - real packaged Linux setup lifecycle harness
  ---
  duration_ms: 256.262462
  type: 'suite'
  ...
1..1
# tests 7
# suites 1
# pass 7
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 1093.050432

[20/451] 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.233023
      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.167736
      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.111394
      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.108279
      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.502228
      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.277098
      type: 'test'
      ...
    1..6
ok 1 - packaged smoke native window layout
  ---
  duration_ms: 3.477075
  type: 'suite'
  ...
# Subtest: packaged smoke child environment
    # Subtest: preserves a validated runner HOME only for an explicit native macOS Keychain context
    ok 1 - preserves a validated runner HOME only for an explicit native macOS Keychain context
      ---
      duration_ms: 18.067846
      type: 'test'
      ...
    # Subtest: defines four isolated launches with exact per-mode environment, argv, and marker contracts
    ok 2 - defines four isolated launches with exact per-mode environment, argv, and marker contracts
      ---
      duration_ms: 1.33919
      type: 'test'
      ...
    # Subtest: passes only platform launch inputs and private profile paths from a hostile parent
    ok 3 - passes only platform launch inputs and private profile paths from a hostile parent
      ---
      duration_ms: 8.501821
      type: 'test'
      ...
    # Subtest: keeps cleanup bounded to the generated profile root
    ok 4 - keeps cleanup bounded to the generated profile root
      ---
      duration_ms: 13.165495
      type: 'test'
      ...
    # Subtest: accepts only a normalized absolute Windows SystemRoot directory
    ok 5 - accepts only a normalized absolute Windows SystemRoot directory
      ---
      duration_ms: 1.322736
      type: 'test'
      ...
    # Subtest: contains no parent environment spread, enumeration, denylist, PATH, or shell launch
    ok 6 - contains no parent environment spread, enumeration, denylist, PATH, or shell launch
      ---
      duration_ms: 3.279083
      type: 'test'
      ...
    # Subtest: serves each named fixture identity paired with its persisted credential
    ok 7 - serves each named fixture identity paired with its persisted credential
      ---
      duration_ms: 1.251912
      type: 'test'
      ...
    # Subtest: requires the adjacent packaged spawn options with LF or CRLF source
    ok 8 - requires the adjacent packaged spawn options with LF or CRLF source
      ---
      duration_ms: 2.105326
      type: 'test'
      ...
    1..8
ok 2 - packaged smoke child environment
  ---
  duration_ms: 49.649516
  type: 'suite'
  ...
1..2
# tests 14
# suites 2
# pass 14
# fail 0
# cancelled 0
# skipped 0
# todo 0
# duration_ms 285.341824

[21/451] 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.828006
  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.054862
      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: 9.21824
      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.766928
      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: 7.317689
      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: 10.312654
      type: 'test'
      ...
    # Subtest: maps extractor failures to one redacted tool code
    ok 6 - maps extractor failures to one redacted tool code
      ---
      duration_ms: 2.367783
      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: 4.137831
      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: 140.096352
      type: 'test'
      ...
    1..8
ok 2 - administrative MSI payload inspection
  ---
  duration_ms: 176.257878
  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: 17.687738
      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: 13.859146
      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: 16.496891
      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.425962
      type: 'test'
      ...
    # Subtest: reject special files with the executable name
    ok 5 - reject special files with the executable name
      ---
      duration_ms: 10.07498
      type: 'test'
      ...
    1..5
ok 3 - DEB and RPM executable layouts
  ---
  duration_ms: 69.936653
  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.245755
      type: 'test'
      ...
    # Subtest: rejects a symbolic-link canonical helper bundle
    ok 2 - rejects a symbolic-link canonical helper bundle
      ---
      duration_ms: 7.158881
      type: 'test'
      ...
    # Subtest: rejects a symbolic-link canonical helper executable ancestor
    ok 3 - rejects a symbolic-link canonical helper execut

...(truncated)

View Workflow

@propr-dev

propr-dev Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit f085671

Summary of Changes

Fixed the sole reported failure in apps/desktop/src/logger.test.ts: updated the fixture’s Linux title-band height from 56px to the current 44px.

Validation: all 56 tests across logger, packaged layout, and smoke support passed; git diff --check passed. Full suite was not rerun.

Test-only change; no visual preview needed. Changes remain uncommitted.


🤖 Implementation Details

  • Model: GPT-6 Astra (high)
  • Requested By: @github-actions[bot]
  • Time: 2m 6s
  • Tokens: 413,333 (411,963 in / 1,370 out)
  • Cost: $0.97

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Implement fixes for issues found by /review /fix or /fix address the null check issue
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 5626241542✓

propr-dev Bot pushed a commit that referenced this pull request Sep 10, 2026
….test.ts`: updated the fixture’s Linux title-band height from 56px to the current 44px.

Fixed the sole reported failure in `apps/desktop/src/logger.test.ts`: updated the fixture’s Linux title-band height from 56px to the current 44px.

Validation: all 56 tests across logger, packaged layout, and smoke support passed; `git diff --check` passed. Full suite was not rerun.

Test-only change; no visual preview needed. Changes remain uncommitted.

PR: #2287
Comment by: @github-actions[bot] (ID: 5626241542)
Model: gpt-6-astra
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.

fix(auth): preserve desktop pairing return through GitHub OAuth session regeneration

1 participant