Skip to content

ci(fork): bring PR #3 and PR #7 onto main - #8

Merged
HernandoR merged 9 commits into
mainfrom
merge/fork-cli-command-not3-into-main
Dec 3, 2026
Merged

HernandoR merged 9 commits into
mainfrom
merge/fork-cli-command-not3-into-main

Conversation

@HernandoR

Copy link
Copy Markdown
Owner

PR #7 (release approval gate, macOS release auto-retry) and PR #3 (fork test fixes, release smoke, CI timeouts) were merged into feature/fork-cli-command-not3 instead of main, so main, and the v0.1.0 tag on it, have neither.

This merges that branch into main. Conflicts:

  • fork/check.ts: kept both sides' hook counts and assertions.
  • fork/README.md: kept main's layout table and "CI runners" section (fork/runners.ts), adding the retry workflow row and the release gate paragraph.

ci.yml and mobile-fingerprint-check.yml merged cleanly: main's runner labels with the feature branch's raised timeouts. node fork/check.ts passes.

After this lands, v0.1.0 will be deleted and re-tagged on the new main.

🤖 Generated with Claude Code

Claude Opus 5.5 via Claude Code (Not3 Code)

HernandoR and others added 9 commits December 2, 2026 03:18
The fork has no Blacksmith runners, so every CI and mobile fingerprint run
sat in the queue forever. Both workflows now use ubuntu-24.04 (and macos-26
for the native mobile lint), with job timeouts raised for the 4-vCPU
runners. The fork guard fails if an upstream merge brings a Blacksmith
label back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CI never ran on the fork before, so tests still expected upstream's app id,
link scheme, profile folder, release repository and locales. They now read
the fork's values (from the runtime constants where one exists), and tests
for dropped locales use Simplified Chinese. The relay and Clerk tests mock
publicConfig back to upstream's config, as up.connect.test.ts already does,
so they still cover that logic while the app keeps Connect off.

Two real fork bugs surfaced:
- The boot error page imported cliRelease, which pulls effect onto the boot
  path before any chunk loads. It spells the release URL out again; the
  guard checks the copy.
- The Poke and Claude MCP handoff links wrote the name as `T3%20Code`, which
  the rebrand plugin does not match, so builds still sent "T3 Code".

Release smoke no longer runs the deleted relay test, and its workspace
fixture includes infra/task-cache so the alchemy patch stays in use.
fork/check.ts counts every new hook.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci(fork): run CI on GitHub-hosted runners and make it pass
- Move the native mobile lint and the macOS arm64 desktop build from GitHub-hosted macOS runners to the owner's self-hosted Mac.
- Gate runs the owner did not start (actor or triggering actor differs from the repo owner) behind the `macos-self-hosted` environment, so they wait for the owner's approval. The repo is public, so this keeps outside pull requests off the Mac.
- Add check.ts assertions for the environment gate in ci.yml and fork-release.yml.
- Update fork/README.md to describe the self-hosted macOS jobs and the required reviewer rule.
…unner's PATH

The gate was written as `owner && '' || 'macos-self-hosted'`. '' is falsy in
GitHub expressions, so every run, the owner's included, waited for approval.
The condition is now inverted, and the owner's own pull requests from this
repository skip approval too.

The self-hosted runner's service PATH has no Homebrew, so `brew bundle` failed
with exit 127. A step now adds /opt/homebrew/bin (or /usr/local/bin) to PATH.

Both macOS jobs target [self-hosted, macOS, ARM64, tart]; release-desktop.yml
parses a JSON label list passed as its runner input.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The self-hosted Tart VM has only the Command Line Tools, and Homebrew
builds swiftlint from source there, which needs a full Xcode. CI's macOS
job returns to macos-26, where it passed. The approval gate and the
Homebrew PATH step only served the self-hosted runner, so they go too.
The macOS release build stays on the self-hosted Mac behind the gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…o runner

The v0.1.0 release's macOS build was cancelled after GitHub could not get a
macos-26 runner ("not acquired by Runner of type hosted"), not because the
build failed; earlier builds passed there. The release goes back to
macos-26, and release-desktop.yml loses its JSON runner hook.

GitHub has no setting for how long a job waits for a hosted runner, so
fork-release-retry.yml re-runs a Fork release's failed jobs, up to three
times, while a macOS job ended with that cancellation. Build failures and
manual cancels are left alone. The owner approval gate stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci(fork): run macOS jobs on the owner's self-hosted Mac behind an approval gate
Brings PR #3 (fork test fixes, release smoke, CI timeouts) and PR #7
(release approval gate, macOS release retry) onto main. PR #7 had been
merged into the feature branch instead of main.

Conflicts: fork/check.ts keeps both sides' hooks and assertions;
fork/README.md keeps main's layout table and CI runners section, adding
the retry workflow and the release gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@HernandoR
HernandoR merged commit ef38ce9 into main Dec 3, 2026
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant