Repository navigation
ci(desktop): build the windows package only in releases - #399
Merged
Merged
Conversation
Pull requests no longer build, sign and install the Windows desktop package. Releases already build, sign and verify Windows; the workflow stays available on demand.
nixuuu
added a commit
that referenced
this pull request
Nov 9, 2026
Hovering or focusing an attachment now shows a compact preview; clicking opens an image or text viewer. This covers inline sent-message chips, composer drafts, queued messages and the queue editor. Markdown uses the existing timeline renderer, with a device-persisted Rendered/Source choice. Mobile sent messages and uploaded drafts reuse the native text/Markdown viewer. Text reads are lazy, session-cached and limited to 128 KiB / 2,000 lines. The additive owner-scoped GetAttachment preview flag bounds the SQL read and follows qualified attachment IDs to their home computer. Downloads retain the complete file. UTF-8 replacement decoding rejects binary content; HTML stays text and web SVG stays in an img. ### Validation - bun install; bun run gen:check; bun run typecheck; bun run lint; bun run format:check; web build. - Focused attachment/queue checks after rebasing: 56 pass / 0 fail across 8 files, including composer/queue steer delivery with files, ownership, restart recovery, bounded reads/full downloads, linked-home routing and binary/UTF-8/content limits. No test temp files left. - Full bun run check:tmp after rebasing: 1,886 pass / 161 skip / 0 fail across 334 files (945.25 seconds), using a private disk-backed TMPDIR under /var/tmp; no test temp files left. - Real-browser checks in light/dark at desktop, narrow and phone widths: short/long names, small/large/tall/wide images and SVG; text, JSON, a large log, Markdown headings/code/tables/links, binary renamed .txt; composer, queue and queue editor. Checked hover intent, pointer transfer, keyboard focus/Escape/modal focus return, wrapping, copy action, unchanged chip geometry and no horizontal overflow. Full log download was 370,000 bytes; the preview was bounded. Script content stayed inert. - No UI test suites or screenshots added. Touch input, native-device interaction and OS save/share sheets were not exercised; mobile typecheck and the JS-only fingerprint checks passed. Existing mobile SVG export behavior remains. ### Native fingerprints Ran in apps/mobile for each platform: `bunx [email protected] fingerprint:generate --platform <ios|android> --build-profile production --json --non-interactive` Before = after: - iOS: `2a0ef03a2a0fda8e7fad2e3df8609803d2edbda3` - Android: `c5c880ae8d0f5d7bc867fcbaf8f756b2ca56a07d` Both commands were rerun after rebasing; both hashes remain unchanged. ### Rebase verification Rebased onto dev through #393 and #399. Regenerated the combined protobuf descriptor to resolve the only conflict. Reviewed composer, queue Steer now, steered timeline attachments and mobile delivery: steering with files and previews are both retained. Updated the attachment documentation to describe text previews alongside steering. All static checks, focused tests, full tests and the web build passed after integrating #393. The final rebase added only #399's Windows workflow/documentation changes; application and test code are identical to the checked tree. #394–#396 were still open at the final pre-push check. ### Copy audit — docs/copy.md §8 - Name/size tooltip or immediate download → content preview with Open / Download actions: labels describe the attachment action. - No Markdown mode → Rendered / Source: short mode labels, remembered on this device. - Unbounded file display → “Showing up to 128 KB and 2,000 lines. Download for the full file.”: states the limit and next action. - No binary/error preview state → “No text preview. Download the file to open it.” and “Could not load the preview. Check the connection, then retry.”: explain the outcome and recovery; Retry, Wrap lines, Copy text, Zoom in/out and platform Save/Share use action labels. - Audited all new/changed strings for sentence case, active voice, glossary consistency, length, duplicate facts, loading/error guidance and accessible labels/state. No new glossary term or decorative sentence. Short/long names were checked at desktop and phone widths; information does not rely on color or position.
This was referenced Nov 9, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 9, 2026
Mobile now answers thread secret requests and revokes saved grants. The write-only sheet masks input, disables autofill and suggestions, clears its native field and JS reference on send/close/background, and displays only grant metadata and expiry. Linked threads route the existing answer/revoke RPCs directly to their home. Secret values stay excluded from relays and mirrors. No new RPC, proto, native module, dependency or configuration change. Validation: - Paired-device secret integration: 2 passing tests, including owner isolation, revoked devices, expiry metadata, decline, revoke, and absence of values in responses/streams/tool results. - Linked-thread integration passes, including routing qualified request IDs home without putting values in mirrors. - Full gate passes on the rebased top branch: install, gen:check, typecheck, lint, format:check, check:tmp and web build. The full run finished with 1,890 pass, 161 skip, zero failures and clean temp cleanup. No UI tests or native builds. - Production fingerprints before/after, EAS CLI 27.4.1: iOS `2a0ef03a2a0fda8e7fad2e3df8609803d2edbda3`; Android `c5c880ae8d0f5d7bc867fcbaf8f756b2ca56a07d`. Both unchanged. Copy audit — docs/copy.md §8: - Before: secret requests had no mobile action. After: “Provide secret”, “Save securely”, “Decline”, “Revoke”, and an explicit 24-hour explanation. Each action names its result; saved values have no display control. - Errors say what failed and how to retry, without transport details or secret content. Existing glossary and sentence case retained; no decorative copy or colour-only state. - Static review covered short/typical/long labels and wrapping. The device matrix below remains manual; native visuals were not verified in this checkout. Manual checks after a compatible OTA is available: 1. At 360/390 dp phone and 600/768 dp Fold widths, light/dark and reduced motion, use 1/30/160-character labels. Check wrapping, compact sheet scrolling, keyboard avoidance and fixed button alignment. 2. In a test gateway, save a non-sensitive test value, decline another request, and revoke a saved grant. Confirm the field remains masked, clears after sending, and saved values never appear; grant expiry is readable. 3. Close/reopen the sheet, background the phone, and disconnect the thread's home while typing. Confirm the field is cleared and unavailable actions are disabled. 4. Repeat against a linked computer and a revoked paired device; the automated owner-scoping tests cover rejection independently. This is layer 1 of the independent normal-thread parity stack. The latest rebase targets dev at `8fb894e4`, including #388–#390, #393, #398 and #399. Existing bases and ready-for-review states are preserved.
nixuuu
added a commit
that referenced
this pull request
Nov 9, 2026
The phone update row now checks, downloads and explicitly applies compatible OTA updates through the installed expo-updates APIs. Settings and the update center share state, progress, errors and next-launch deferral; the sidebar update indicator includes this phone. Apply checks every mounted composer synchronously, including composers under Settings, uploads, quote-only drafts, queued-message edits and secret entry. Unsent work defers the update and explains how to proceed. No automatic reload is introduced. “Apply next launch” keeps the current session running. Release notes use the same public GitHub release bodies as the desktop changelog. The selected OTA manifest supplies the exact JS version; missing metadata or rollback never substitutes a newer channel release. Notes include retry and a GitHub link. No dependencies, native modules or configuration changes. Validation: - Full gate passes on the rebased top branch: install, gen:check, typecheck, lint, format:check, check:tmp and web build. The full run finished with 1,890 pass, 161 skip, zero failures and clean temp cleanup. No UI tests, native builds, EAS builds or APKs. - Production fingerprints before/after, EAS CLI 27.4.1: iOS `2a0ef03a2a0fda8e7fad2e3df8609803d2edbda3`; Android `c5c880ae8d0f5d7bc867fcbaf8f756b2ca56a07d`. Both unchanged. - Final stack fetched/rebased onto origin/dev at `8fb894e4`, including #388–#390, #393, #398 and #399, before the full gate. Runtime behavior and visuals require the manual checks below because installed simulator clients cannot run this checkout. Copy audit — docs/copy.md §8: - Before: “Updates apply after you close and reopen Canopy.” After: distinct “Check this phone for updates”, “Download update”, “Apply update” and “Apply next launch” actions; the row distinguishes Not checked / Available / Downloading / Ready / Next launch. - Deferral explains the unsent draft/files and the next action. Errors explain failure and retry; release notes identify the actual target and handle unavailable notes explicitly. No new glossary term, decorative copy or colour-only state. - Static review covered short/long channel and version strings and multiline messages. Native short/typical/long text and theme/width checks remain manual. Manual checks on a compatible production-runtime test client: 1. At 360/390 dp phone and 600/768 dp Fold widths, light/dark and reduced motion, open both About and Updates. Check wrapping with long versions, progress, fixed action columns and compact overlay scrolling. 2. Check with no update, offline, and with a compatible update. Download, inspect the exact version's GitHub notes, defer, and confirm the current session keeps running. Retry notes while offline and after reconnecting. 3. With unsent text, a quote-only draft, a picked/uploading file, and a draft in a composer underneath Settings, press Apply. It must defer without reloading or losing work. Include a bot composer and a queued-message edit where reachable. 4. Send or discard the unsent work, then Apply. Confirm one restart and the expected JS version. Repeat by choosing next launch and fully closing/reopening the app. 5. Check development builds show no OTA action; for rollback/missing version metadata, confirm notes say unavailable and offer GitHub rather than presenting an unrelated release. Layer 3 of 3. Rebased onto dev at `8fb894e4`, including #388–#390, #393, #398 and #399. Quote editing guards and quote-only OTA blockers coexist. Existing bases and ready-for-review states are preserved; no OTA was published manually.
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull requests no longer run
desktop-windows.yml. It built, Azure-signed and installed the Windows desktop package on almost every PR (any change under apps/ or packages/), which added a long Windows job and a signing call to each PR.Releases already build, sign and verify Windows x64 (
release.yml:package:windows, signature gate, smoke), so that coverage stays. The workflow remains available on demand (workflow_dispatch) for checking packaging changes before a release; on dispatch it always requires the signing secrets, so the fork-only unsigned branch is gone.docs/desktop.mdanddocs/release.mddescribe the change.