Repository navigation
ci(fork): run CI on GitHub-hosted runners and make it pass - #3
Merged
Merged
Conversation
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>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosNo All 64 scenario measurements
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
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>
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.
Problem
The fork has no Blacksmith runners, but upstream's CI and Mobile Fingerprint Check workflows request them, so every run sat in the queue forever. Once CI ran, it also showed tests the fork had broken without noticing: they still expected upstream's app id, link scheme, release repository and locales.
Change
Runners
ci.ymlandmobile-fingerprint-check.ymlrun on GitHub-hosted runners:ubuntu-24.04, andmacos-26for the native mobile lint. Job timeouts are raised for the smaller 4-vCPU runners (Lint, Build and Typecheck, Test, Test Web 10 → 20 min; Release Smoke 15 → 25; Typecheck step 5 → 10).fork/check.tsfails if a merge brings ablacksmithlabel back into either workflow.Tests updated to the fork's values (each edit tagged
FORK(...)and counted by the guard)getDesktopScheme,resolveLinuxDesktopEntryName).EnvironmentAuthuses thenot3code://apporigin.CliTokenManagerandCloudLink.lifecyclemockpublicConfigback to upstream's Clerk and relay config, asup.connect.test.tsalready does, so they still test that logic. Production keeps Connect off.CLI_RELEASES_PAGE_URLandCLI_RELEASE_REPOSITORY.Fork bugs CI surfaced
bootError.tsimportedcliRelease, which puts effect on the boot path before any chunk loads. It spells the release URL out again, and the guard checks that copy.mcpApps.tswrote the name asT3%20Codein the Poke and Claude handoff links. The rebrand plugin doesn't match that, so builds still sent "T3 Code".Release smoke
infra/task-cache, so the alchemy patch stays in use (pnpm fails on unused patches).Verification
vp run check:changedpasses, includingnode fork/check.ts.node scripts/release-smoke.tspasses.AgentScopeandserviceProtectionneed to loweroom_score_adj, which this container doesn't allow.🤖 Generated with Claude Code