Repository navigation
🏥 CI Failure Investigation - Run #17346237870: Code Formatting Check Failed #1544
Description
Activity
github-actions commented
on Aug 30, 2025 on Aug 30, 2025 – with GitHub ActionsContributorAuthorMore actions🔄 Duplicate Failure - Run #17346262619
Another instance of the same code formatting failure occurred in the Daily Test Coverage Improver workflow:
- Run: 17346262619
- Workflow: Daily Test Coverage Improver (vs Daily Perf Improver in original)
- Commit: Same commit
eaa9c4ae6d75fa757604dc99ef19d0443c29620f - Error: Identical -
build/build.fs needs formatting
Key Observations
Pattern Confirmation: This failure is now affecting multiple workflows on the same commit, confirming this is a systemic formatting issue in the build script, not specific to individual workflows.
Affected Workflows:
- Daily Perf Improver (Original issue) - Run #17346237870
- Daily Test Coverage Improver (This instance) - Run #17346262619
Same Root Cause
The issue remains in
build/build.fs:line 233where the formatting check fails during theCheckFormattarget.Error Pattern:
Target 'CheckFormat' failed. /home/runner/work/FSharp.Data/FSharp.Data/build/build.fs needs formatting Some files need formatting, run `dotnet run --project build/build.fsproj -- -t Format` to format themImpact
This formatting issue is now blocking multiple automated workflows that depend on successful builds, suggesting this should be prioritized for resolution.
The fix remains the same: run
dotnet run --project build/build.fsproj -- -t Formatto address the formatting violations.
AI-generated content by CI Failure Doctor may contain mistakes.
github-actions commented
on Aug 30, 2025 on Aug 30, 2025 – with GitHub ActionsContributorAuthorMore actions🔄 Duplicate Workflow Failure Detected
Investigation Update for Run #17346288009
I've analyzed workflow run #17346288009 and confirmed this is a duplicate of the same underlying issue reported in this issue.
Key Details
- New Run ID: 17346288009
- Previous Run ID: 17346237870 (original failure)
- Same Commit:
eaa9c4ae6d75fa757604dc99ef19d0443c29620f - Same Error:
build/build.fs needs formatting - Same Job: daily-perf-improver (ID: 49246706667 vs 49246600572)
Identical Failure Pattern
Both workflow runs show the exact same issue:
CheckFormat target failed /home/runner/work/FSharp.Data/FSharp.Data/build/build.fs needs formatting Exit code: 134 (SIGABRT) Error: Some files need formatting, run 'dotnet run --project build/build.fsproj -- -t Format' to format themAnalysis Confirmation
This confirms the root cause analysis in this issue is accurate and the recommended fix remains the same:
- Immediate Fix:
dotnet run --project build/build.fsproj -- -t Format - Verification:
dotnet run --project build/build.fsproj -- -t CheckFormat - Commit formatted changes
Status
Since this is a duplicate of an already tracked issue, no separate issue is needed for run #17346288009. The fix for this issue will resolve both workflow failures.
AI-generated content by CI Failure Doctor may contain mistakes.
github-actions commented
on Aug 30, 2025 on Aug 30, 2025 – with GitHub ActionsContributorAuthorMore actions🔄 Duplicate Failure Detected - Run #17346306359
Same formatting issue occurred again in workflow run #17346306359 on PR #1543:
- Branch:
perf/json-parsing-optimization - Commit:
f0d4a488fbe3487285edc3927b4a178e0b8b20bd - Failed Jobs: Both
build-windowsandbuild-ubuntu - Error: Identical formatting failure in
build/build.fs
Key Pattern Recognition
This is the second occurrence of the exact same formatting issue within hours, confirming this is a systemic problem where:
- Build script modifications are not being properly formatted before commits
- The formatting check is correctly catching these issues in CI
- Multiple branches are affected by the same root cause
Immediate Impact
- PR Daily Perf Improver: Optimize isNumChar function in JSON parser #1543 "Daily Perf Improver: Optimize isNumChar function in JSON parser" is blocked
- Same formatting command needed:
dotnet run --project build/build.fsproj -- -t Format
Investigation Status
✅ DUPLICATE CONFIRMED - No new issue creation needed. Root cause and solution already documented in this issue.
AI-generated content by CI Failure Doctor may contain mistakes.
- Branch:
github-actions commented
on Aug 30, 2025 on Aug 30, 2025 – with GitHub ActionsContributorAuthorMore actions🔄 Duplicate Occurrence - Run #17346331925
This is a recurring issue - the same formatting problem occurred again in workflow run #17346331925.
Key Details for New Failure:
- Run: #28
- Workflow: Daily Perf Improver (vs previous Daily Test Coverage Improver)
- Same Root Cause:
build/build.fs needs formatting - Same Error:
CheckFormattarget failed - Same Fix Needed: Run formatting command
Pattern Analysis:
This confirms that
build/build.fsformatting issues are recurring and suggests:- The original formatting fix may not have been applied
- New commits are still introducing formatting violations
- Pre-commit formatting checks are not preventing this issue
Recommended Action:
Since this is the same issue recurring, the immediate fix remains:
dotnet run --project build/build.fsproj -- -t Format
Prevention Note:
The recurrence suggests we need stronger prevention measures beyond just fixing the formatting - perhaps:
- Mandatory pre-commit formatting hooks
- Required formatting status checks on all PRs
- Auto-formatting in CI with commit-back capability
AI-generated content by CI Failure Doctor may contain mistakes.
🏥 CI Failure Investigation - Run #17346237870
Summary
Daily Perf Improver workflow failed due to code formatting check failure in the build script.
Failure Details
Root Cause Analysis
Primary Issue: Code formatting check failed during the build process.
Specific Error:
Build Process Context:
CheckFormattarget beforeBuildtargetCheckFormattarget uses Fantomas to verify code formattingbuild/build.fswas not properly formatted according to project standardsFailed Jobs and Errors
Job: daily-perf-improver (49246600572)
Some files need formatting, run 'dotnet run --project build/build.fsproj -- -t Format' to format themKey Error Details:
Investigation Findings
File Location
The problematic file is located at:
build/build.fs:line 233Build Process Flow
Context from Commit
The failure occurred on commit
eaa9c4awhich was a merge commit:This suggests that recent changes to the build script may have introduced formatting issues.
Recommended Actions
Immediate Fix ✅ High Priority
dotnet run --project build/build.fsproj -- -t Formatdotnet run --project build/build.fsproj -- -t CheckFormatRoot Cause Resolution
build/build.fsfrom PR Daily Test Coverage Improver: Massive improvement to WorldBank Core coverage (36.7% → 83.1%) #1539.editorconfigor Fantomas settingsVerification Steps
Prevention Strategies
Short-term
Long-term
.editorconfigupdates)AI Team Self-Improvement
Additional prompting instructions for AI coding agents:
Historical Context
Pattern Recognition: This is a Code Quality/Formatting Issue - a common CI failure pattern where:
Similar Issues: Based on repository analysis, this project has strict formatting requirements using Fantomas, and formatting checks are integrated into the build process as a quality gate.
Prevention Track Record: The project already has good formatting infrastructure in place, but this failure suggests either:
Impact Assessment