Skip to content

CI: deflake Check Code Style by moving it to Depot - #167

Open
rjhuijsman wants to merge 1 commit into
mainfrom
rjh.style-check-on-depot
Open

CI: deflake Check Code Style by moving it to Depot#167
rjhuijsman wants to merge 1 commit into
mainfrom
rjh.style-check-on-depot

Conversation

@rjhuijsman

@rjhuijsman rjhuijsman commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

The Check Code Style job was super flaky, due to an incompatibility between GitHub Actions runners and apt.llvm.org: the DNS server for apt.llvm.org will frequently insist on answering with an IPv6 address (and refuse if you ask it for only IPv4), and GitHub doesn't have IPv6 routes for its runners.

This PR moves the Check Code Style job over to the Depot runner (the last of our jobs to do so, everything is on Depot now). Depot has no issue talking IPv6 when needed.

@aviator-app

aviator-app Bot commented Sep 11, 2026

Copy link
Copy Markdown

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR is queued for merge (review queue position).

It will be merged when it reaches the top of the queue and all required status checks are passing.

Pending Status Checks

  • Build and Test Development Containers / Container - Build, Test, and (maybe) Push (missing)
  • Build public repo for Linux arm64 / GitHub-hosted Runner (missing)
  • Build public repo for Linux x86_64 / GitHub-hosted Runner (missing)
  • Build public repo for MacOS arm64 / Build Reboot for MacOS (missing)
  • Check Code Style / GitHub-hosted Runner (missing)
  • ⏳ 3 other pending tests

See the real-time status of this PR on the Aviator webapp.
Use the Aviator Chrome Extension to see the status of your PR within GitHub.

@rjhuijsman rjhuijsman changed the title CI: run Check Code Style on a Depot runner CI: deflake Check Code Style Sep 11, 2026
@rjhuijsman rjhuijsman changed the title CI: deflake Check Code Style CI: deflake Check Code Style by moving it to Depot Sep 11, 2026
@rjhuijsman
rjhuijsman marked this pull request as ready for review September 11, 2026 20:57
@rjhuijsman
rjhuijsman requested a review from onelxj September 11, 2026 20:57
@rjhuijsman rjhuijsman self-assigned this Sep 11, 2026
@rjhuijsman
rjhuijsman force-pushed the rjh.style-check-on-depot branch from ad470ab to 2b1fdac Compare September 11, 2026 20:59
@github-actions

Copy link
Copy Markdown
Contributor

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@aviator-app

aviator-app Bot commented Sep 12, 2026

Copy link
Copy Markdown

This pull request failed to merge: some required checks failed. After you have resolved the problem, you should remove the blocked pull request label from this PR and then try to re-queue the PR.

Failed checks: Test React Native mobile app (Maestro) / GitHub-hosted Runner

The style checker builds the dev container before it can lint
anything, so it pays the full container build cost. Before this change
the job ran on a GitHub-hosted 4-core runner, the only job in the
workflow still doing so - the 2025-05-22 change that onboarded our
Depot runners moved the others over and left this one behind. Nothing
documents a reason to keep it there: unlike the Maestro job, which
needs `/dev/kvm` that Depot does not expose, the style checker has no
GitHub-hosted-only requirement.

That mattered because whenever a pull request changes a `Dockerfile`
`ARG` above the first `FROM`, the build starts from scratch and
re-downloads a few hundred packages. On the 4-core GitHub-hosted
runners the `clang-20` layer's fetches from `apt.llvm.org` failed
often - DNS returning an IPv6-only answer on a runner with no IPv6
route, or plain "Could not resolve 'apt.llvm.org'" partway through the
downloads - and the style checker never ran at all. The job died that
way on four consecutive runs on 2026-09-10 and 2026-09-11, for example
run 34584281746.

The same layer built cleanly every time on the Depot runners the
sibling jobs already use, and in `copilot-setup-steps`.

The job now runs on the same `depot-ubuntu-24.04-32` runner as the
Linux x86_64 build, which also makes the container build itself
several times faster.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0143bFU89gPnVXRJ1BQFgX1A
@aviator-app
aviator-app Bot force-pushed the rjh.style-check-on-depot branch from 25874bb to 75d1b5a Compare September 14, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants