runner
Copilot instructions6.4k starsChanged 13 months agoMITView on GitHub
Whenever possible, changes should be accompanied by non-trivial tests that meaningfully exercise the core functionality of the new code being introduced. All tests are in the Test/ directory at the repo root. Fast unit tests are in the Test/L0 directory and by convention have the suffix L0.cs. For example: unit tests for a hypothetical src/Runner.Worker/Foo.cs would go in src/Test/L0/Worker/FooL0.cs. Run tests using this command: After editing .cs files, always format the code using this command: Wherever possible, all changes should…
We split this copilot-instructions.md into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
All tests are in the Test/ directory at the repo root.
- Distinctive: line 9
Run tests using this command:
- Distinctive: line 17
After editing .cs files, always format the code using this command:
≈ “Common” is an estimate: at least 1 in 5 of the 3,669 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Making changes
Tests
Whenever possible, changes should be accompanied by non-trivial tests that meaningfully exercise the core functionality of the new code being introduced.
All tests are in the Test/ directory at the repo root. Fast unit tests are in the Test/L0 directory and by convention have the suffix L0.cs. For example: unit tests for a hypothetical src/Runner.Worker/Foo.cs would go in src/Test/L0/Worker/FooL0.cs.
Run tests using this command:
cd src && ./dev.sh testFormatting
After editing .cs files, always format the code using this command:
cd src && ./dev.sh formatFeature Flags
Wherever possible, all changes should be safeguarded by a feature flag; Features are declared in Constants.cs.
Trending
Quiet this year.about the whole repository
Who's talking about actions/runner
- actions/toolkit“feat: allow passing custom `ACTIONS_CACHE_URL`”GitHub · Mar 26, 2024 · 47 reactions
- actions/actions-runner-controller“Use self update ready entrypoint”GitHub · Sep 16, 2020 · 15 reactions
- NixOS/nixpkgs“nixos/github-runner: init at v2.277.1”GitHub · Mar 18, 2021 · 14 reactions
- nektos/act“Feature: uses in composite”GitHub · Aug 30, 2021 · 13 reactions
- Stack Overflow“Nested templates (calling a yaml file from another yaml file) in GitHub Actions”Stack Overflow · Sep 26, 2020 · 12 votes
The biggest 5 of 29 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 29
Talked about on Stack Overflow, Hacker News, GitHub and Bluesky (29 times).
On Stack Overflow · 15
- Sep 26, 2020Nested templates (calling a yaml file from another yaml file) in GitHub Actions12 votes
- Jan 9, 2023How to see full logs on GitHub Actions (without restarting or cancelling workflow)?10 votes
- Aug 11, 2023Is there a way to specify a dynamic version for a GitHub Action?9 votes
- May 11, 2023Remove default labels on GitHub self hosted runner9 votes
- Aug 26, 2020Composite Run Steps GitHub Actions error: 'An action could not be found at the URI'9 votes
10 more on Stack Overflow
- Sep 14, 2023Using arm64 on GitHub Actions8 votes
- Aug 29, 2022GitHub Actions: Referencing environment secrets in reusable workflows5 votes
- Jul 19, 2021GitHub Action - Unable to add "if" condition in steps5 votes
- Mar 31, 2023how to have access to the files in the composite github actions directory4 votes
- Aug 5, 2022How to Dynamically assign the runs-on value in the github actions4 votes
- Jul 18, 2022How to use github actions/checkout@v2 inside own docker container4 votes
- Nov 17, 2020Specify runner version within github actions4 votes · 1 answer
- Aug 8, 2024How to remove an environment variable on GitHub actions?3 votes
- Mar 4, 2024How do I set an enviroment variable in GitHub action on a Windows Server?3 votes
- Sep 7, 2022How to write conditional expressions in GitHub Actions3 votes
On Hacker News · 9
- Aug 16, 2025Actions/runner: safe_sleep.sh rarely hangs indefinitely5 points
- Aug 15, 2025GitHub Actions Safe_sleep.sh3 points
- Nov 29, 2025Safe_sleep.sh Rarely Hangs Indefinitely2 points
- Apr 28, 202420-line PR to add key Docker feature to GitHub Actions, please bump it2 points · 1 comment
- Jan 12, 2022GitHub actions bug: 'some' of your jobs will run, but build successful2 points
4 more on Hacker News
- Aug 25, 2025Microsoft "safe_sleep.sh" unsafe and takes up 100% of CPUsays it tested it1 point
- Aug 4, 2025GitHub Actions now supports YAML anchors1 point · 2 comments
- Sep 4, 2023GitHub Actions Frequently Failing1 point
- Sep 4, 2023Runners fail to set up job with tar -xzf error1 point
On GitHub · 4
- Mar 26, 2024feat: allow passing custom `ACTIONS_CACHE_URL` — actions/toolkit47 reactions · 13 comments
- Sep 16, 2020Use self update ready entrypoint — actions/actions-runner-controller15 reactions · 14 comments
- Mar 18, 2021nixos/github-runner: init at v2.277.1 — NixOS/nixpkgs14 reactions · 9 comments
- Aug 30, 2021Feature: uses in composite — nektos/act13 reactions · 58 comments
On Bluesky · 1
- Nov 29, 2025Reading about the safe_sleep.sh bug on GHA and went to look at the runner code and basically it's in a code freeze. I guess a some point… — @pixeltrix.bsky.social1 likes and repost · 2 replies
Where files are headingNew Copilot instructions files have more rules about branches and pull requests, and fewer about code style.
Of the Copilot instructions files we read, the 2,297 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

