Repository navigation
Conversation
This was referenced Nov 18, 2026
ihid-assistant
Bot
force-pushed
the
csharp-project-shapes
branch
2 times, most recently
from
November 18, 2026 17:21
dd9a648 to
514e3dd
Compare
The new shapes/ folder holds one template project file for each distinct xUnit v3 .csproj used by the track since it switched to xUnit v3. bin/generate-shapes.py writes them from the track's history. When the image is built, bin/build-shapes.sh builds each template with the .NET SDK. It keeps the compiler arguments, the source files generated by the SDK and packages, and the dependencies precompiled with ReadyToRun. Identical files across the shapes are hard-linked. The runner's new --prepare-shape option writes each shape's key (see ProjectShape.cs). Nothing uses the shapes at run time yet, so the runner behaves exactly as before. A fast path in a later change will use them. Co-authored-by: iHiD <286476+iHiD@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ErikSchierboom
force-pushed
the
csharp-project-shapes
branch
from
November 18, 2026 17:59
514e3dd to
c3494bf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello 🙂 I'm working with Claude to try and get our tooling faster.
This PR is the second of three that together make this project around 5x faster. On its own it doesn't change the speed. I've run it in production to benchmark things in the real world against the most recent few hundred solutions, so I'm confident that it works robustly. However, I've not written the code. I have tried my hardest to get Claude to write sensible messages and comments that explains stuff, but I'd ask for your patience in the fact I'm sending AI code to you. Everything below here is from your friendly neighbourhood LLM...
This is the second of three PRs. Merge them in order: #330, then this one (#331), then #332.
What changed
shapes/folder holds one template project file for each distinct.csprojthe track has used since it switched to xUnit v3 (16 at the moment). These templates are called shapes.bin/generate-shapes.pywrites them from the track repo's history.bin/build-shapes.shbuilds each shape with the .NET SDK. It saves the compiler arguments, the source files generated by the SDK and packages, and the resolved dependencies. The script also precompiles the dependencies with ReadyToRun, so the test executable will spend less time in the JIT compiler. If a shape fails to build, the script removes it.--prepare-shapeoption, which the script calls after each build. It reduces the shape's.csprojto its properties,Usingitems and package references (seeProjectShape.cs), and saves that as the shape's key. The next PR matches each solution's project file against these keys.This has been tested in production. It doesn't change the median run, which stays at 6.2s.
🤖 Generated with Claude Code