Repository navigation
ci: GitHub release downloads fall back to the API asset route - #534
Merged
Merged
Conversation
Prefetch Electron into its checksum-verified installer cache; keep caller pins for gitleaks, displayplacer, Meslo and packaging. Reuse the real scanner archive across integration runs. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Feed API headers to curl through stdin. Match Electron installer presence checks before prefetching, for both setup and postinstall; cover installed, stale and overridden distributions. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
…e repo's other scripts do Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
SSFSKIM
added a commit
that referenced
this pull request
Nov 8, 2026
…lease-download fallback (#534) Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 8, 2026
…kip-electron-binary Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Nov 8, 2026
Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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.
Since about 08:45Z on 2026-11-08, github.com's
/releases/download/web route has answered 504 for several assets: Electron 44.4.5 on linux-x64 and darwin-arm64, gitleaks 8.30.1, Meslo and displayplacer. Every gate has been red on it. The API's asset route (api.github.com/repos/<o>/<r>/releases/assets/<id>,Accept: application/octet-stream) serves the same bytes: same publisher, same release, and every caller keeps its checksum check, so this is not a mirror. The architect found the route (1321)..github/scripts/release-fetch.sh <owner/repo> <tag> <asset> <dest>: the web route with bounded retries, then the API route. It uses GH_TOKEN, else GITHUB_TOKEN, else anonymous. The token goes to curl on stdin (-H @-), never on argv. The destination is written atomically.maws-app-scan.sh): uses the helper, keepingMAWS_APP_GITLEAKS_URLand the sha256 checks. Its tests share one per-user cache keyed by the pinned sha256, so a warm run touches no network.scripts/electron-prefetch.mjs, from the setup action beforepnpm installand from postinstall): fetches into @electron/get v5's own cache path (its parent-URL SHA-256 key), only on a cache miss and only when Electron isn't already installed. Electron's installer still verifies it againstchecksums.json..github/ci-setup.sh) and packaging's Electron (mawsd-pack.mjs): use the helper with their checks kept. The steps that need it getgithub.token.Review: an independent review (reviewer-medium) found two defects, both fixed with tests that reproduce them (76e872e): the token on curl's argv, and an already-installed Electron failing offline. Then one lint fix (b02d65d).
Gate 42472652812: GREEN, during the outage, covering static (including the gitleaks scan tests), unit 1/4–4/4 and e2e:widgets on a hosted Mac. Focused tests 48/48 locally, plus offline proofs: gitleaks scanned from an API-fetched archive; Electron's real install.js took a cache hit.
Open branches (#527, #530, M4b) need to merge master after this lands.
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)