Skip to content

Run CI on Graphide runners - #1

Merged
graphide-review[bot] merged 1 commit into
mainfrom
graphide/switch-runners
Nov 10, 2026
Merged

graphide-review[bot] merged 1 commit into
mainfrom
graphide/switch-runners

Conversation

@graphide-review

Copy link
Copy Markdown

Graphide opened this pull request because someone in your organization asked to switch this repository to Graphide CI, on the Graphide dashboard. Merging it is the switch. Graphide opens and merges it in one step; if your branch rules need checks or a review first, it waits for them, and then you merge it here or with the Merge PR button on your Graphide dashboard.

What Graphide CI is: it runs your GitHub Actions jobs on Graphide's machines instead of GitHub's: a clean machine for each job, thrown away after it. Your workflows, commands and tests stay as they are, and GitHub still decides pass or fail.

What changes

Only runs-on: lines, one per job below, and a short comment at the top of each workflow it changes that says what the two labels mean. Each job goes to one of two lanes:

  • graphide, the CI lane: jobs that build and check the code (tests, builds, lint, type checks, docs builds). Graphide may speed these up (warm machines, caches, its proven changes); GitHub still decides pass or fail.
  • graphide-plain, the plain lane: deploys, releases, publishing, cloud logins, jobs with environment:, scheduled bots and issue or pull request automation. A clean machine that runs the job's steps exactly as written, with nothing of Graphide's added.

Neither label names a size: Graphide runs a job on 8 vCPUs and 16 GiB of memory unless its old label asked for more. Each line below says which lane the job got and why; to move a job to the other lane, change its label.

  • .github/workflows/test.yaml, job grammar: runs-on: ubuntu-latest becomes runs-on: graphide. CI lane: it builds or checks the code: nothing in it deploys, publishes, logs in to a cloud or writes outside its run
  • .github/workflows/test.yaml, job go: runs-on: ubuntu-latest becomes runs-on: graphide. CI lane: it builds or checks the code: nothing in it deploys, publishes, logs in to a cloud or writes outside its run

Jobs that are not listed stay on their current runner.

These jobs have not run on Graphide's runners before: their first runs here are this pull request's own checks, if your branch rules wait for them, or else the next pushes after it merges.

Files this adds: agent signals

This also adds Graphide's agent hook files, because agent signals are on for your organization (they are on unless someone turns them off). They let your coding agents (Claude Code, Codex and Cursor) tell Graphide CI when they start work, change dependencies, or are about to push or merge, so machines are ready when the push lands. They never change whether a job passes, and your CI runs the same without them.

  • .graphide/agent-signal: the small script the hook files below run (with sh). It sends Graphide event names (an agent started, changed dependency files, is about to push or merge, stopped) with the repository, branch and commit, and the names of the dependency files that changed. It never sends your code, your prompts or your agent's conversation, except that a commit your agent asks Graphide to test is pushed, for that test, to a hidden ref of this repository (refs/graphide/run/..., outside your branches and tags). Once a session it also pushes an empty commit to refs/graphide/session/... to show the agent can push here. Graphide deletes these refs.
  • .claude/settings.json: Claude Code's hooks, which run the script.
  • .codex/hooks.json: Codex's hooks, which run the script. Codex asks once to approve a repository's hooks (/hooks); until someone does, Codex sends nothing.
  • .cursor/hooks.json: Cursor's hooks, which run the script.

To turn agent signals off: switch Agent signals off on your Graphide dashboard (https://graphide.com/dashboard/#agent-signals). Graphide then takes no signals from your organization's repositories. Switched off before a repository is switched, it also leaves these files out of the pull request. This pull request is merged in one step, so to remove the files afterwards, delete them in a pull request of your own; they can also just stay. For this repository alone, add an empty .graphide/signals-off file; for one machine, set GRAPHIDE_SIGNALS=off.

To undo it

Revert this pull request: every runs-on:, every comment and every hook file goes back to how it was. Or change one job's runs-on: back to its old label above. Nothing else is involved: no setting or variable, just the lines and files in this pull request.

Change runs-on to a Graphide label: graphide for jobs that build and test the code, graphide-plain
for deploys, releases and bots, with a comment at the top of each changed workflow saying which is which;
and add Graphide's agent hook files. Nothing else in the workflows changes.
@graphide-review
graphide-review Bot merged commit f7471a5 into main Nov 10, 2026
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.

0 participants