Skip to content

fix(ci): make the first ARC voice+inbox run reach its checks - #61

Merged
nullStack65 merged 2 commits into
feat/assemblyai-currentfrom
fix/ci-vendored-gitlinks-20261117
Nov 17, 2026
Merged

nullStack65 merged 2 commits into
feat/assemblyai-currentfrom
fix/ci-vendored-gitlinks-20261117

Conversation

@nullStack65

@nullStack65 nullStack65 commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Why

The first real ARC run of T3 fork ARC CI (run 44168925335, job 134342439700 on t3code-ci-arc-w7cd8-runner-ckf4w) checked out 623dea7 (8,044 files), then failed in actions/checkout's credential removal:

git submodule foreach --recursive sh -c "git config --local ... core.sshCommand ..."
fatal: No url found for submodule path '.repos/alchemy-effect/submodules/distilled' in .gitmodules

With persist-credentials: false, checkout runs that cleanup inside the main step, and git exits 128 on the two vendored gitlinks under .repos/alchemy-effect/submodules/ (distilled, floci), which have no .gitmodules entry. Upstream has the same gitlinks but keeps the default persisted credentials, so its cleanup only runs in the non-fatal post step. actions/checkout v6.1.0 runs the same submoduleForeach, so upgrading it would not help.

Change

  • Add a root .gitmodules naming the two gitlinks' real upstream sources (taken from alchemy-effect's own .gitmodules), with update = none and ignore = all.
  • Nothing is fetched or initialized, .repos/ (vendored, read-only per AGENTS.md) is untouched, and persist-credentials: false stays, so no job token is exposed to dependency install scripts on the ARC network.
  • No source, voice, inbox, workflow or dependency changes.

Verification

  • Reproduced the CI failure locally on the same tree: git submodule foreach --recursive true → rc 128.
  • On this commit, ran the exact cleanup command from the CI log in a CI-equivalent sparse worktree → rc 0. git submodule status shows both uninitialized, and the worktree is clean.
  • This PR's own ARC run is the real check. I won't call it green until the job has finished on an ARC runner.

Second fix: provide libatomic for Node on the stock runner image (commit d6e5e601)

Once checkout passed, the PR's ARC run (44171253656, job 134350632468 on t3code-ci-arc-w7cd8-runner-z27ph) failed in Set up pinned Node, pnpm and Vite+. Vite+ 1.4.0 prepared Node 26.12.1, then hit Failed to install production dependencies (exit code: 127) on all four attempts.

  • Official Node 26 linux-x64 binaries link libatomic.so.1 (checked with readelf/ldd). The pinned actions-runner 2.338.2 image is dotnet/runtime-deps:8.0-noble plus sudo lsb-release gpg-agent software-properties-common curl jq unzip git, and none of those provides libatomic1, so the dynamic loader exits 127.
  • The ARC pod blocks privilege escalation, so sudo apt isn't available, and that safeguard stays.
  • The new step runs before setup-vp:
    1. Download Ubuntu noble's release-pocket libatomic1 14-20240412-0ubuntu1 (an immutable pool path).
    2. Check it against a SHA-256 pinned in the workflow, f496d806….
    3. Extract only the library into RUNNER_TEMP and add it to LD_LIBRARY_PATH.
  • The step does nothing if the image already has the library. T3's own release archives bundle libatomic for the same reason.
  • Checked locally: Ubuntu Release signature good (archive key 2018) → Packages.gz hash listed in it → .deb SHA-256 matches. Running the step's own script with RUNNER_TEMP/GITHUB_ENV set, Node 26.12.1 resolves libatomic.so.1 from the extracted directory and runs.

Not addressed here: checkout took about 9.5 minutes because sparse checkout with filter=blob:none fetches each file's contents lazily. That's slow but not failing; the job timeout is 90 minutes.

Task: CLO-866

🤖 Generated with Claude Code

nullStack65 and others added 2 commits November 17, 2026 20:36
The first real ARC run of the voice + founder inbox workflow (fork run
44168925335, job 134342439700) checked out 623dea7 successfully, then
failed in actions/checkout's credential removal: with persist-credentials
false it runs `git submodule foreach --recursive`, which exits 128 on the
two vendored gitlinks under .repos/alchemy-effect/submodules that have no
.gitmodules entry ("No url found for submodule path ... distilled").

Add a root .gitmodules naming their real upstream sources with update=none
and ignore=all. Nothing is fetched or initialized, .repos/ stays untouched
(it is a vendored read-only reference), and persist-credentials stays false
so no job token is left for dependency install scripts on the ARC LAN.
Upstream CI avoids the failure only because it keeps the default persisted
credentials. Source, voice and inbox code are unchanged.

Task: CLO-866
Model: claude-opus-5-5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With checkout fixed, PR61's ARC run 44171253656 (job 134350632468, runner
t3code-ci-arc-w7cd8-runner-z27ph) failed in setup-vp: Vite+ 1.4.0
self-setup prepared Node 26.12.1, then "Failed to install production
dependencies (exit code: 127)" on all four attempts. Official Node 26
linux-x64 binaries link libatomic.so.1 (verified with readelf/ldd), and
the pinned actions-runner 2.338.2 image (dotnet runtime-deps:8.0-noble
plus sudo, lsb-release, gpg-agent, software-properties-common, curl, jq,
unzip, git) does not ship it, so the loader exits 127. The ARC pod blocks
privilege escalation, so sudo/apt is not available and must not be.

Before setup-vp, fetch Ubuntu noble's release-pocket libatomic1
14-20240412-0ubuntu1 (immutable pool path; Release signature, Packages.gz
hash and this SHA-256 verified on 2026-11-17), check the pinned SHA-256,
extract only the shared library into RUNNER_TEMP and add it to
LD_LIBRARY_PATH. The step is a no-op when the image already provides it,
so it stays correct if the runner image later adds libatomic1. T3's own
release archives bundle libatomic for the same reason.

Task: CLO-866
Model: claude-opus-5-5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nullStack65 nullStack65 changed the title fix(ci): map vendored gitlinks so credential-free checkout succeeds fix(ci): make the first ARC voice+inbox run reach its checks Nov 17, 2026
@nullStack65
nullStack65 merged commit f6ec645 into feat/assemblyai-current Nov 17, 2026
3 of 5 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