Skip to content

Skip the curb check in the release publish and align lint on curb 0.15.1 - #4924

Closed
Mpdreamz wants to merge 1 commit into
mainfrom
feature/release-keeps-failing-windows
Closed

Mpdreamz wants to merge 1 commit into
mainfrom
feature/release-keeps-failing-windows

Conversation

@Mpdreamz

Copy link
Copy Markdown
Member

The Windows release job no longer runs the per-project curb check during publish-zip, and the lint job runs the same curb version as dotnet-tools.json.

Affects: Automation

Prompt summary: The release run keeps failing on the Windows zip with no obvious cause. Fix it, and make CI use the curb version pinned in dotnet-tools.json.

Why

The release (windows-latest) job of run 44133713545 failed in dotnet publish with CURB0001: This file is not formatted for ApiPageContext.cs, S3EtagCalculator.cs and EuiSvgIcons.cs. curb check . with 0.15.1 reports no changes for those files on macOS, and the previous Windows release passed with the same version, so the check is not reliable on the runner. The lint job already checks every PR, but it runs 0.9.0 while the MSBuild package and dotnet-tools.json use 0.15.1.

What

Release publish

The Publish Binaries step in release.yml sets Curb_Bypass: true, as the compile step in ci.yml does. A release no longer fails on formatting that a PR check has already approved.

Lint image

The lint job in ci.yml uses the ghcr.io/nullean/curb 0.15.1 image, pinned by digest, in place of 0.9.0. A PR is now checked by the version that formats the code locally and in the build.

Out of scope: The cause of the Windows CURB0001 report is not found. PR checks do not run curb on Windows, because the Compile step of the build job also sets Curb_Bypass.

Verify

dotnet curb --version   # 0.15.1
dotnet curb check .     # 0 would change

The Windows release job failed with `CURB0001` on three files that `curb check .` reports as formatted. The `lint` job already checks every PR, so the `publish-zip` step sets `Curb_Bypass`, as the `ci.yml` compile step does. The `lint` job now runs the curb 0.15.1 image, the version pinned in `dotnet-tools.json`, instead of 0.9.0.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@Mpdreamz
Mpdreamz requested a review from a team as a code owner November 18, 2026 08:24
@Mpdreamz Mpdreamz added the automation packaging, ci/cd. label Nov 18, 2026
@Mpdreamz
Mpdreamz requested a review from reakaleek November 18, 2026 08:24
@Mpdreamz

Copy link
Copy Markdown
Member Author

Folded into #4925.

@Mpdreamz Mpdreamz closed this Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation packaging, ci/cd.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants