Skip to content

discover-live can't pass on the Macs' network: storage.googleapis.com is redirected, so install counts are unavailable #859

Done

Description

@SSFSKIM

What happens

On the network the Macs use, storage.googleapis.com resolves to a redirect host, and its certificate names a different domain. The fetch fails TLS, so Discover's install-counts source (plugin-details, src/main/catalog/fetch.ts) is unavailable there.

e2e:discover-live fails at its step "the app walks the same sources": the assertion every source walked gets plugin-details: unavailable. The spec's dev summary (scripts/catalog-summary.mjs) finds the same, so the failure isn't the app's. The steps after it, a directory plugin's install and uninstall through Discover and Linear's add and remove, are never reached. Seen 2026-11-23 23:56Z at word cut M4's head; every other source was fresh.

The app meets the same gap: install counts are missing from Discover on that network.

What would clear it

One of these:

  • a resolver for the live lane that returns Google's address for storage.googleapis.com;
  • running discover-live from a network that doesn't redirect it;
  • the owner's call that discover-live may pass with plugin-details unavailable, changing the spec's assertion to name it.

Activity

  1. added
    status:needs-human
    on Nov 23, 2026
  2. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] needs-human: Which route: a different resolver for the live lane, another network for discover-live, or accept plugin-details unavailable in the spec? Recommended: a resolver for the mini's live lane.

  3. added
    priority:P2
    env-issue
    on Nov 23, 2026
  4. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    A second host is affected the same way, first seen 2026-11-24 00:11Z (it still resolved correctly at about 22:45Z): release-assets.githubusercontent.com, where GitHub serves release downloads.

    Effect: .github/ci-setup.sh's download of the pinned Meslo release (scripts/release-fetch.sh ryanoasis/nerd-fonts v3.5.1 Meslo.tar.xz) fails with curl 60 on both of its routes (the web URL and the API asset download redirect to that host), so setup exits 1 in every fresh Mac guest before any test. The Mac host is unaffected: its font is already installed and the download is skipped. Evidence: e2e:tools in the guest at 5fb05cf, run 5fb05cf502ad-20261124T000830Z, table line "setup: SSFSKIM/ci-kit/setup@v1 (exit 1)".

    The local resolver's answer for that name is not GitHub's; a public resolver returns GitHub's addresses (185.199.108-111.133).

    Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

  5. added a commit that references this issue on Nov 24, 2026
  6. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [answers] 2026-11-24: the owner allowed the change on the mini's side, a public resolver for its lane. CI-opt applies it.

  7. added
    status:ready-for-implementer
    and removed
    status:needs-human
    on Nov 24, 2026
  8. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [board] ready-for-implementer: owner allowed a public resolver on the mini; CI-opt applies it

  9. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [progress] 2026-11-24 02:10Z, CI-opt (the owner chose it: split DNS in the tailnet, applied by me)

    Applied

    • Tailnet DNS, two split routes: release-assets.githubusercontent.com and storage.googleapis.com go to 1.1.1.1 (and Cloudflare's three other addresses). Every other name resolves as before. Both Macs already send all lookups to the tailnet resolver, so no machine setting changed.
    • The gate tool's guests set 1.1.1.1 and 8.8.8.8 for themselves at start (and go back to the network's resolvers if those give no answer). The font seed is out of the tool.
    • The gate tool's packaged job, on the host only while GitHub's release host fails TLS there: build:app's own three commands with electron-builder reading the cached Electron zip (-c.electronDist), since electron-builder fetches SHASUMS256.txt from that host at every packaging. swap-packaged at f2b32d6 built this way.

    Verified

    • The tailnet resolver answers both names with their real addresses on the MacBook and on the mini (dig @100.100.100.100).
    • A never-cached name under storage.googleapis.com resolves to Google's addresses through the system resolver on the MacBook.
    • On the mini, storage.googleapis.com resolves and answers TLS through the system resolver.

    Not yet

    • release-assets.githubusercontent.com on the mini, and both names on the MacBook, still come from the system's lookup cache: the redirect is a CNAME with a TTL of 8 hours. It expires by itself by about 10:10Z; sudo killall -HUP mDNSResponder on a machine clears it at once (needs the owner's password on the mini).
    • No guest has run with the new resolver yet.

    Closing: after one discover-live green at 372ceea and one fresh guest that downloads the font itself.

  10. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [progress] 2026-11-24 02:58Z, CI-opt

    • discover-live at 372ceea on the mini's host: GREEN, 1 passed (45.2 s), hand run 372ceeac7310-20261124T025558Z. Every source walked.
    • The mini's host reaches both hosts over TLS through the system resolver since about 02:55Z (the stale cache entry there is gone), so the packaged job's electronDist path no longer triggers.
    • On the MacBook storage.googleapis.com answers; release-assets.githubusercontent.com is still the cached redirect and ages out by about 10:10Z.

    Left before closing: one fresh guest that downloads the font itself (the next guest job).

  11. SSFSKIM commented on Nov 24, 2026

    @SSFSKIM
    OwnerAuthor

    [done] 2026-11-24 03:04Z, CI-opt. Both closing conditions are met.

    • discover-live at 372ceea on the mini's host: GREEN (hand run 372ceeac7310-20261124T025558Z).
    • A fresh guest set the public resolvers at start (guest dns: 1.1.1.1 8.8.8.8 (release-assets.githubusercontent.com is 185.199.110.133)), its setup downloaded MesloLGM Nerd Font Mono 3.5.1 by itself (setup exit 0), and its job passed (hand run f2b32d6c95e2-20261124T025859Z, e2e:available 3 passed). No seed was involved: the seed block is out of the gate tool and its archive is moved away on the mini.

    What stays in place: the tailnet's two split DNS routes (the fix for both Macs' hosts), and the guests' own public resolvers (which cover any further name the network redirects). The packaged job's electronDist path stays in the tool, inert while the release host answers TLS. If the network redirects another host, the host lane needs one more split route; a guest needs nothing.

    On the MacBook release-assets.githubusercontent.com is still the cached redirect until about 10:10Z (sudo killall -HUP mDNSResponder clears it at once).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    env-issuepriority:P2status:ready-for-implementer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions