Skip to content

CI: run the Linux checks in repo-hygiene, rename the Lab job - #1821

Merged
r3dbars merged 1 commit into
mainfrom
claude/project-thread-3evj51
Sep 28, 2026
Merged

r3dbars merged 1 commit into
mainfrom
claude/project-thread-3evj51

Conversation

@r3dbars

@r3dbars r3dbars commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Requested by Justin · project thread

Needs a human to merge. The Claude GitHub app can't merge changes to .github/workflows/. That's why these two edits were split out of #1805, which is already merged.

Why

Before, there were two problems:

After this PR:

  • repo-hygiene runs linux-checks.sh --strict-tools first, so broken pins and dropped telemetry keys fail in seconds.
  • The Lab job is lab-build-and-test, so only Swift CI can satisfy the required check.

Product Impact

  • Affects: CI only (no app code)
  • Lane: agent workflow

What changed

  • .github/workflows/repo-hygiene.yml: one new step after Checkout. The existing inline steps are unchanged, so the open PRs that add hygiene steps still merge cleanly.
  • .github/workflows/transcripted-lab.yml: the job id is renamed, with a comment explaining why.
  • CLAUDE.md, docs/test-automation-strategy.md, and the linux-checks.sh comments now say repo-hygiene runs the script.

How I checked it

Checks I could not run: none needed on the Mac; no Swift changed.

Risk Review

  • If the new step misfires, revert that one step.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GhNAWeNXuLGdq4ioddevdp


Generated by Claude Code

…-test

repo-hygiene now runs scripts/dev/linux-checks.sh --strict-tools as its
first step (text-pin mirror, telemetry-key check, script self-tests), so a
broken pin shows up in seconds instead of after the macOS run.

The Lab workflow's job was named build-and-test, the same name as Swift
CI's required umbrella check, so a Lab-only green could satisfy the
required check. Renamed to lab-build-and-test.

Split out of #1805 because the Claude GitHub app cannot merge
workflow-file changes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GhNAWeNXuLGdq4ioddevdp
@r3dbars
r3dbars marked this pull request as ready for review September 24, 2026 06:58
@r3dbars
r3dbars merged commit a52086b into main Sep 28, 2026
9 checks passed
@r3dbars
r3dbars deleted the claude/project-thread-3evj51 branch September 28, 2026 01:53
r3dbars added a commit that referenced this pull request Sep 28, 2026
linux-checks.sh (now run in repo-hygiene, #1821) sets TMPDIR to
build/linux-checks/tmp inside the checkout. On CI that puts the test's
$ROOT/home/.transcripted-vm/run/upvm.vncsock past Linux's 108-byte
socket path limit, so the six approve-download cases fail on every PR.
When the temp root is too deep, use a short /tmp/tvm.XXXXXX root instead;
the EXIT trap still removes it.

Checked: 63/63 with TMPDIR at a CI-length path (was 52/63).

Co-authored-by: r3dbars <r3dbars@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

2 participants