Repository navigation
fix(updates): discover releases through a static cdn index - #486
Merged
Merged
Conversation
This was referenced Nov 10, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 11, 2026
…485) Adds a Polish design for GitHub account authorization and pull request workflows, linked from the architecture document. Documentation only; the accepted design stays in this draft PR as the bottom of the implementation stack. **Rebase update (2026-11-11):** the complete stack was rebased bottom-up onto `origin/dev` `48cd5e9c3ce07b7a46873ac40d92819ca847f85a`, preserving #522, #526 and #527. This layer's current CI is green; implementation layers passed typecheck, lint and formatting after conflict resolution. The migration maximum at this layer is **0112 (dev; no stack migration yet)**; this supersedes historical numbering below. Proto generation was repeated in each affected layer (worker git-context fields use 227, preserving dev's file API fields). Final cross-stack security, parity, performance and verification evidence is in #534. Earlier results below describe the pre-rebase implementation. All layers remain draft; native device UI remains unverified. The design uses the official Canopy GitHub App with device flow and expiring user tokens held only on the thread's home gateway. It covers account/repository mapping, automatic many-to-many thread links, shared caching and p95 budgets, additive RPCs, Summary/Timeline/Code views and mobile parity. The v1 scope includes full code review and inline ranges, pending reviews, comment editing/deletion, PR creation with an agent-drafted title/body reviewed by the user, lifecycle and merge actions, metadata editing, CI re-run/cancel and bounded in-app logs. Every mutation requires an explicit user action, durable receipts and uncertain-outcome handling; destructive actions require confirmation. Agents and bots cannot invoke the new integration's mutations in v1. Viewed files use GitHub as the source of truth. Authenticated release lookup is recommended on by default as a fallback after the static CDN index merged in #486. The maintainer accepted one stack covering stages 1–9, with first PR value at stage 2. This documentation PR is the bottom of the stack targeting dev; stage 1 is based on docs/github-integration. The document and all implementation stages remain draft and merge together only after the full v1 is verified, per AGENTS.md. The design is accepted as of 2026-11-10; the feature is not implemented yet. Validation: - `bun run format` and `bun run format:check` passed. Markdown is excluded by the formatter; requirement coverage, document consistency, API references and whitespace were reviewed manually. - `git diff --check` passed. This revision changes only `docs/github.md`; the overall PR contains that document and its link in `docs/architecture.md`. - No implementation tests, builds or browser/device runs were performed for this documentation-only change. Oxlint does not lint Markdown. Copy audit (§8): no runtime UI copy changed. Proposed English action labels and recovery states follow the copy guidelines; light/dark, narrow screens, keyboard and native mobile checks are acceptance criteria for implementation.
nixuuu
added a commit
that referenced
this pull request
Nov 11, 2026
## Change **Rebase update (2026-11-11):** the complete stack was rebased bottom-up onto `origin/dev` `48cd5e9c3ce07b7a46873ac40d92819ca847f85a`, preserving #522, #526 and #527. This layer's current CI is green; implementation layers passed typecheck, lint and formatting after conflict resolution. The migration maximum at this layer is **0116**; this supersedes historical numbering below. Proto generation was repeated in each affected layer (worker git-context fields use 227, preserving dev's file API fields). Final cross-stack security, parity, performance and verification evidence is in #534. Earlier results below describe the pre-rebase implementation. All layers remain draft; native device UI remains unverified. Stage 4 enables Summary, Timeline and Code on web/desktop and mobile. PRs now have paginated timeline/review threads and replies, checks/jobs with lazy in-app redacted logs, and a paginated file list with commit filtering and lazy unified/split diffs. Binary, renamed, truncated and stale-SHA files have explicit fallback states. Viewed remains hidden until stage 5; this stage makes no GitHub mutations. Visible PRs share a watch producer and durable fetch leases; hidden clients stop their streams, reconnect gaps invalidate pages, and active background threads fetch bounded header batches. Linked homes retain verified offline snapshots without mirroring logs. Cache retention, owner quotas and fixed-label metrics cover the new resources. Composer actions prepare bounded, quoted, untrusted attachments through the existing attachment/harness path and never send a message automatically. The release catalog stays CDN-first and can use an administrator's own connected GitHub account for its authenticated API fallback. The visible setting defaults on; missing, expired, disconnected or disabled accounts retain the public update path. Credentials stay in the gateway and are stripped from storage/CDN redirects. Individual check/review states use Tabler outline glyphs with tooltips and accessible labels, including mobile accessibility labels. The PR's primary state stays readable as a compact icon-and-text badge. Aggregate check counts remain text. Thread PR links use quiet source captions and panel rows. Summary/Timeline/Code, checks, logs and the file-list scrollport follow #512's `scroll-stable` helper and balanced padding. The design pass gives Code one compact toolbar for commit filtering, file count, layout, wrap, whitespace and tree view. File rows expand their diff directly below a sticky file header; paths truncate in the middle, renames retain both paths, and binary/large patches have inline recovery actions. Timeline uses a compact event menu and sort toggle, an avatar rail, grouped commits with short SHAs, relative timestamps with absolute-time tooltips, markdown cards and inline review threads with indented replies. Checks and review replies use progressive loading. Shared activity/file presentation and focused components keep web/desktop and mobile aligned; existing thread diff controls retain their defaults. ## Stack and migrations Rebased #485 → #487 → #501 → #508 with `gh stack` onto `origin/dev` at `26f61cce`, including #486's static release index and #512's scrollbar helper. Resolved conflicts, regenerated contracts where needed, checked typecheck/lint/format at each layer, and force-pushed the rewritten layers with explicit leases. All PRs remain drafts and their bases still chain. Dev subsequently advanced with #510, #513 and #515; those changes are outside this completed prerequisite rebase. Renumbered the stack migrations above dev's 0112 in layer order: 0113 accounts, 0114 manual links, 0115 detection, then 0116 full read. Updated the expected schema list and migration registration. Frozen `update/v1` is unchanged; generated additive contracts are committed. No material design deviations. ## Verification - Passed `bun install`, `bun run gen:check`, root `bun run typecheck`, `bun run lint`, `bun run format:check`, and the web build, including final typecheck/build after the sticky-padding correction and mobile typecheck/lint/format after the final mobile reset correction. The build reports the existing chunk-size advisory. Final head `429c46af353546c433e87293dd128910e524c04e`: CI is green. All five layers #485/#487/#501/#508/#518 have SUCCESS check rollups, remain draft, and retain the correct chained bases. No GitHub reviews have been submitted for this stage. - Sequential local fixture files passed: full-read pagination (5 tests), security/composer (5), lifecycle/retention (4), release fallback (4), linked-home offline/cache scope (3), and paired mobile transport (1). Coverage includes >100 timeline/check/thread/reply/job items, 304/429/403, GraphQL partial errors, independent-client single-flight, stream gaps/restart, 300 files/SHA races, log SSRF/redaction/download/page limits, concurrent owner log quota, retention, and authenticated/public release paths. Composer attachments reached the scripted worker blob path. No live tests or anonymous production API calls were used. - Fresh-process full `bun run check:tmp` after the design pass: **2242 passed, 165 skipped, 0 failed**, **25397 assertions**, 2407 tests across 413 files, **1120.32 seconds**; exit 0 and **no Canopy temp entries remained**. Harness-owned runtime entries were listed separately by the runner and removed with its private directory. This rerun includes the earlier cache-eviction correction and linked-home regression coverage. The historical run was 2236 passed / 165 skipped / 6 failed; it is superseded by this clean full run, not relabelled as passing. The final two-file mobile state-reset correction additionally passed focused ESLint, mobile typecheck, root lint/format and native JS exports. - Browser fixture QA: light/dark, desktop 1440×1000, narrow 768×1000, phone 390×844, with 18 new screenshots. Verified grouped commits, inline review threads/replies (3→50→100), event filter/sort, relative-time accessible labels containing absolute dates, folder collapse, long paths, binary notices, long inline diffs and global layout/wrap/whitespace controls. Checks progress 5→50→100→137 using one control. Sticky toolbar/file-header bounds remain flush while scrolling; phone panel has no horizontal overflow. Prior stage-4 fixture QA also covered failing-job logs, huge/truncated/renamed patches, commit filtering and all three composer attachments, including preserving an existing draft when adding a second context. - Mobile JS only: `bunx [email protected] fingerprint:generate --platform ios --build-profile production --json --non-interactive` and the Android equivalent passed. Fingerprints unchanged from stage 3: iOS `6ddec9ef559ee0095ac33e94ff9418a942053b17`, Android `5f6eae3ab278f1cd543e9ed763f923a319b65ec9`. Expo Doctor passed 20/20; prebuild passed in a scratch checkout with no package changes; iOS and Android Hermes exports passed, both limited to one bundler worker. Additional mobile ESLint found existing app-wide findings; two findings in the new reset effects were corrected and focused ESLint on those files now passes. Mobile typecheck, canonical repository lint and format checks passed again after that correction. App-wide mobile ESLint still reports 40 errors / 5 warnings in unchanged code and is not claimed green. Native simulator visual QA is unverified: device tools returned “Device list failed: Could not communicate with device support. Try refreshing devices.” Refreshing once produced the same error; no alternate device control was used. Mobile RPC parity is covered over the real pinned, paired and revocable mobile transport. Live GitHub tests remain optional. ### Performance Real gRPC/Postgres fixture benchmark, same scripted GitHub 503 load, stage-3 baseline versus stage 4. 10 warmups and 80 samples per read/ACK operation, 40 dispatch samples. ACK measures committed ACK enqueue, not network round trip. | Existing operation | Baseline p95 ms | Stage 4 p95 ms | | --- | ---: | ---: | | GetOverview | 3.705 | 3.453 | | GetThread | 1.094 | 0.893 | | Send → worker input | 13.466 | 8.095 | | Ingest → ACK enqueue | 2.294 | 2.309 | No material regression observed; ACK's +0.015 ms (+0.6%) is within shared-machine noise. This is a local sample comparison, not a confidence-interval study. Candidate measurements precede the final cache-write byte-accounting and access-error eviction corrections; those change cache misses and GitHub access-error paths, not the measured existing operations or warm-read paths. Warm-read p95: PR 3.091, Timeline 5.392, Checks 4.412, Files 15.145, Diff 14.059, Log 6.460 ms, all below the 50 ms target. Browser/native rendering p95, cold upstream latency and an unavailable-partner performance comparison were not measured; the offline partner behavior has integration coverage. ### Copy audit (§8) Reviewed new/changed labels, settings, errors and empty states against `docs/copy.md`: sentence case, active verbs, glossary, actionable recovery, no decorative prose or duplicate facts. Long check names, branches and paths were inspected at desktop and phone widths. | Before → after | Reason | | --- | --- | | Author login input and separate review section → compact activity menu, inline threads and relative times | Reduce filter weight and preserve chronological context | | Per-file display controls → one shared icon toolbar | Keep file rows focused on paths and changes | | “Show 45 more checks” plus “Next page” → progressive “Show more checks” | One paging pattern transparently loads further pages | | Bare SHA → “on aaaaaaa”; primary state glyph → icon plus “Open”/“Merged”/“Draft”/“Closed” | Clarify the revision and keep the PR's primary fact readable | | Individual “Failed”/“Requested” status text → labelled glyphs and tooltips | More room for names; state remains available to assistive technology | | “Auto”/“Manual” chips → quiet source captions | Reduce visual weight without hiding provenance | | Bordered “Link pull request”/“Show less” → “+ Link pull request” and quiet “Show N more”/“Show less” rows | Match panel row actions | | Generic missing patch → “Binary file”, “File renamed with no text changes”, or explicit size-limit guidance | Explain the actual limitation and recovery | No new glossary term or “soul” sentence. Empty/error text keeps the necessary status words; aggregate counts remain readable text. Icons have distinct shapes and labels rather than relying on colour. ### Screenshot evidence (uncommitted) New design matrix under `/var/tmp/canopy-github-4/`: `{desktop,narrow,phone}-{summary,timeline,code}-{light,dark}.png` (18 files), plus `desktop-code-sticky-dark.png`. Desktop is 1440×1000, narrow 768×1000 and phone 390×844. Phone Code light shows stacked and dark shows split. Existing logs/composer screenshots remain in the same uncommitted directory. Related: #485, #486, #487, #501, #503, #508, #512.
This was referenced Nov 12, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 12, 2026
Publish structured release notes alongside the existing static release index so apps can explain an update without making GitHub API calls. GitHub Releases remain the source of full release notes; no CHANGELOG or update protocol changes. This is the first layer of a two-PR stack. Merge both layers together into dev. ## Changes - The authenticated Pages generation step also writes `releases/notes-v1.json`. Parse Angular Features, Bug Fixes and Performance Improvements into type, scope, capitalized plain summary, PR number and repository PR URL. Strip commit hashes and type prefixes; retain at most 200 versions per channel and mark truncated history. Merge the previously published Pages notes so GitHub's 10-nightly retention does not erase the archive. Live bodies replace edited versions. Only an initial HTTP 404 permits bootstrap; other archive-read failures stop publication. - Add a strict shared decoder and a Pages-only notes reader using the existing 15-minute/ETag cache. Unavailable or invalid notes never fall back to the GitHub API. The complete download index and installer verification remain intact. - Aggregate `(previous, current]` on the running build's channel, group New / Improved / Fixed and deduplicate repeated PRs. Subtract entries already delivered on the previous channel when promotions repeat cumulative release bodies. Expose incomplete history and publication lag. - Reuse the typed client-local preference helper from #583 to persist the last seen version and the actual previous/current pair. First install, unknown history and downgrades establish a baseline without a launch notice. ## Validation - `bun install --frozen-lockfile` passed. - 13 focused data tests passed, 71 assertions: fixture release bodies, complete-release filtering, >200 nightlies, archived/pruned and edited bodies, failed archive reads, range boundaries, deduplication, promotion/channel changes, first install, restart/downgrade history, malformed notes, unsafe URLs and failed CDN reads without API fallback. Across both layers: 15 tests / 77 assertions. - Repository `bun run lint` and `bun run format:check` passed on the complete stack. Pages `actionlint` passed with pinned actionlint 1.7.12 and shellcheck 0.11.0. `git diff --check` passed. - No tags, workflow dispatches or pushes to next/main. No anonymous GitHub API calls or live release reads were used for verification. - The complete stack passed `gen:check`, `typecheck`, `lint`, `format:check` and the production web build in the assigned remote review checkout with `nice -n 10`. The browser review uses fixture notes, not live GitHub data. Full test shards run in CI; no web UI tests were added. - EAS CLI 27.4.1 fingerprints were generated for the actual dev base and feature head, in the same local path with `nice -n 19`: iOS `6ddec9ef559ee0095ac33e94ff9418a942053b17`, Android `5f6eae3ab278f1cd543e9ed763f923a319b65ec9`, unchanged on both platforms. No native build or OTA publication was performed. - Bootstrap limitation: releases deleted before the first notes index cannot be reconstructed from their GitHub bodies. The UI explicitly indicates missing older history. Subsequent Pages deployments preserve the bounded archive. - The assigned remote review environment was cleaned up: browser closed, own web/gateway processes stopped, PostgreSQL container removed, checkout and fixture artifacts removed, all three assigned ports free. Verification artifacts stay outside the repository. ## Copy audit (§8) `feat(updates): show What's new (#593) (<commit hash>)` → `Show What's new`, with `updates` as a small scope tag and the PR as its link. This removes implementation metadata, capitalizes the summary and preserves the change's meaning. Group labels are New, Improved and Fixed. No additional visible controls are introduced in this layer. The UI layer contains the full copy audit and completed light/dark, desktop/phone-width browser review. Related: #486, #583
nixuuu
added a commit
that referenced
this pull request
Nov 12, 2026
After an update, Canopy now offers a dismissible “Updated to …” card that opens What's new for the actual previous/current version range. The dialog never opens automatically. The same grouped notes remain available in Settings → App updates and the Updates popover, with recent releases of the running build's channel. This is the UI layer of the two-PR What's new stack, based on `feat/whats-new`. Merge both layers together into dev. ## Behavior - Desktop tracks its own `app.getVersion()` in its Electron profile using the shared local-preference helper, across local/remote gateway switches. Linked-computer updates do not trigger its notice. Typed, sender-authorized IPC exposes only that history and the fixed, validated Pages notes JSON; renderer CSP stays unchanged. - Web tracks the web build version per gateway in localStorage. Its fixed public BFF notes endpoint fetches only Pages, without gateway credentials or a GitHub API fallback. - Mobile tracks the JS bundle version per install, independently of pairing, covering OTA and store updates. Add App updates to shared Settings navigation. The existing candidate-OTA notes preview also uses structured Pages notes. Changes are JS-only; no native files, modules, dependencies or app/fingerprint configuration changed. - First launch, unknown history and downgrades establish a baseline. Dismissal/relaunch retains the last update range for later visits. New / Improved / Fixed entries are deduplicated, with small scope tags and PR links. Recent releases stop at the running version. Loading, missing/truncated history, errors, retry and full GitHub Releases links are explicit. - Reuse the shared dialog/sheet, disclosure, controls, theme and motion tokens, including reduced motion. The launch notice floats above content without changing layout. The phone closes Updates before presenting What's new. ## Validation - 15 focused unit tests passed, 77 assertions across the stack, including desktop history durability/restarts, invalid local storage, many skipped versions, channel changes, bounded archive retention after GitHub pruning, and archive-read failures. No web UI tests added. - `bun install --frozen-lockfile`, repository `bun run lint`, `bun run format:check`, changed-mobile-file ESLint and `git diff --check` passed. The Pages workflow passes actionlint with actionlint 1.7.12 and shellcheck 0.11.0. - Reviewed the code paths for scope isolation, fixed public fetch destinations, IPC authorization, safe PR links, first install, development builds, downgrade, channel promotion, publication lag, missing history, network/storage failure and retained ranges. - The complete stack passed `gen:check`, `typecheck`, `lint`, `format:check` and the production web build in the assigned remote review checkout, using `nice -n 10`. Full test shards run in CI. - Real Chromium review with fixture notes: `.133 → .146` shows a dismissible card and grouped notes; duplicate PRs and other-channel entries are excluded; first install is silent; dismissal/reload preserves the range without replaying the card; Settings → App updates and the Updates popover open the notes; Recent releases includes current and older versions. Reviewed light/dark, 1440×900 desktop and 390×844 phone widths, long summaries/scopes, wrapping, overlay seams, footer, focus and Escape. Notes requests use the fixture endpoint; the isolated updater source intentionally remains unavailable. No live GitHub API data was used. - EAS CLI 27.4.1 fingerprints were generated at the actual dev base and feature head, in the same local path using `nice -n 19`. iOS stays `6ddec9ef559ee0095ac33e94ff9418a942053b17`; Android stays `5f6eae3ab278f1cd543e9ed763f923a319b65ec9`. No native build or OTA publication was performed. Native mobile rendering and a packaged Electron launch were not exercised. - The assigned remote review environment was cleaned up: browser closed, own web/gateway processes stopped, PostgreSQL container removed, checkout and fixture artifacts removed, all three assigned ports free. Verification artifacts stay outside the repository. ## Copy audit (§8) - No post-update explanation → `Updated to <version>` with `See what's new` and a labelled `Dismiss update notice` control. One clear outcome and one action; no blocking launch dialog. - Developer release headings/commit prefixes → `New`, `Improved`, `Fixed`, capitalized plain summaries, separate scope tags and PR links. Navigation labels use the requested `What's new`; actions use verbs. No new glossary term, jargon, humour or color-only meaning. - Missing/error notes → `Could not load release notes. Retry or view releases on GitHub.` / `Some release notes are not available yet. Retry or view releases on GitHub.` The text states the issue and recovery action. Empty notes say `No changes listed for this version.` Full releases remain reachable. - `From <previous> to <current>` records the actual range; `Recent releases` separates manual browsing. Dates use Intl formatting. No duplicated status or native/OTA implementation details on the surface. - Real browser review covers short/typical/long summaries and scopes, version range labels, shrinkable columns, truncated tags, compact controls, light/dark, desktop/phone widths, focus/Escape and overlay seams. Long summaries wrap; tags truncate with the complete scope retained in the title; actions and the footer stay readable. No humour or meaning conveyed by color alone. Related: #486, #583
This was referenced Nov 13, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 16, 2026
## Change Manual update checks in the sidebar version popover and Settings → App updates could reuse the 15-minute release catalog introduced in #486 and miss a newly published build. They now revalidate discovery metadata over the network immediately, including remote app checks, channel changes and release-found notifications. Forced reads bypass cached results, cached failures and the index failure cooldown, send `Cache-Control: no-cache`, and retain ETag/304 validation. API fallback pages are refreshed too. Automatic checks reuse the refreshed cache; active requests/downloads stay shared and API rate-limit backoff remains enforced. Regression coverage includes a newer release arriving while an installer is already staged. Updated the desktop and updates documentation. Fixes: #486 ## Verification Passed locally: - Targeted `check:tmp` runs for `packages/updater/src/catalog.test.ts`, `apps/desktop/test/update-feed.test.ts`, `apps/desktop/test/update-controller.test.ts`, and `apps/gateway/src/updates/runtime.test.ts` (32 tests total; temporary directories clean). - Desktop package typecheck. - Formatting and lint on edited TypeScript files; `git diff --check`. CI owns repository-wide typecheck, generated-code checks, lint, formatting, test shards and selected builds. Native installer execution was not performed; there are no layout or UI text changes.
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.
Users sharing a public IP can exhaust GitHub's unauthenticated 60-request/hour allowance. Update discovery then reports every computer as failed, even though nothing failed to install. Canopy now reads a static release index first and presents an exhausted REST fallback as Checks paused, with an automatic retry at the reset time.
Changes
https://itsoltech.github.io/canopy/releases/v1.jsonthrough the existing Pages workflow afterpublish-desktophas verified and published the release. Include tags, prerelease flags, publication dates, all asset names/URLs and release notes. Exclude drafts and incomplete uploads; require the release that triggered publication. One serialized Pages deployment replaces the whole site/index. Ordinary site deployments also preserve the index. Pages already uses the workflow source; no settings change is needed.x-ratelimit-resetandRetry-Afterfor 403/429, sharing cooldowns across API repositories within each process. Manual, wake and remote checks cannot bypass the pause. Desktop/gateway automatic checks retry at reset; Never still disables desktop automatic retries. Linked computers carry the same neutral message through existing fields. Genuine installation/signature failures still show Failed, and staged installers remain usable.Discovery choice
Pages provides atomic snapshots, the existing deployment path, complete metadata and release notes. A rolling download asset would need an additional mutable release/tag and replacement protocol. Atom lacks the complete asset inventory and manifest-presence contract. Desktop and its local gateway remain separate readers: CDN discovery removes the quota dependency without adding a privileged gateway proxy.
Calls per hour
One desktop/local gateway, one linked desktop/gateway, and one browser using the local BFF. Five independent processes; one Canopy releases page, unchanged metadata, no process restarts. Scheduled trace: desktop checks hourly, gateways every 15 minutes, one browser notes read. Active trace: each reader is requested once/minute, with concurrent duplicate callers. Pre-change counts follow the original 60-second desktop/BFF cache and uncached gateway paths; post-change counts come from fake-clock/mock-fetch hour-long traces in
packages/updater/src/catalog.test.ts. No live anonymous API traffic was used.Counts include conditional HTTP requests, including 304s; they do not assume anonymous 304s are quota-free. Five processes initially receive bodies; subsequent validations reuse them. Fallback also retries the unavailable index at most once/15 minutes per active process. More API history pages multiply fallback list requests; the CDN index stays one request. Concurrent duplicate callers add no new requests. Artifact downloads and provider notes are separate: Claude/Codex notes remain REST-backed, with the same shared 15-minute/ETag/origin-backoff policy in the BFF. Older installed clients continue using REST. Caches/backoff are process-local and reset on restart.
Copy audit (§8)
Failed · Update failed. Check again to retry./Release server returned HTTP 403→Checks pausedplusGitHub is limiting update checks from this network. Next check at <localized time and zone>.The new text names the confirmed condition and the next automatic action without implying installation failure. Each sentence stays within the copy limits; sentence case, plain words and
Intltime formatting are used. There are no new glossary terms, buttons or confirmations. The neutral message is visible in computer rows, including touch layouts; it is not available only through a tooltip. Real errors retain their existing recovery actions. No humour or jargon was added. Layouts reuse the existing row/action columns and wrapping styles; visual browser/device verification remains unperformed.Validation
bun install;bun run typecheck; targeted gateway typecheck after extracting worker row projection to preserve the 400-line limit.bun run lint;bun run format:check; actionlint on both changed workflows.git diff --check;proto/canopy/update/v1unchanged. No E2E, native installers, builds or workflow runs were executed. CI remains the merge gate; the first normal Release/Pages run validates deployment after merge.Additional mobile Expo lint reports 38 errors and 3 warnings in existing mobile code (for example synchronous effect state updates in
AttachmentViewer.tsxand ref reads inImageCanvas.tsx). A targeted check of the four touched mobile files reports the existingUpdates.UpdateInfoTypenamespace diagnostic on the unchanged version-extraction line inPhoneReleaseNotes.tsx; the other three files pass. This is separate from the passing repository oxlint/typecheck gates; this PR does not expand into unrelated mobile lint fixes.Related: #376, #471