Skip to content

Add .gitattributes file and remove CRLFs from repository#9172

Merged
glen-84 merged 4 commits intomainfrom
gai/git-attributes
Feb 27, 2026
Merged

Add .gitattributes file and remove CRLFs from repository#9172
glen-84 merged 4 commits intomainfrom
gai/git-attributes

Conversation

@glen-84
Copy link
Copy Markdown
Member

@glen-84 glen-84 commented Feb 21, 2026

Summary of the changes (Less than 80 chars)

  • Add .gitattributes file.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a root-level .gitattributes to control EOL normalization and (as a consequence) renormalizes a broad set of repository files to consistent line endings, updating various snapshots/assets/configs accordingly.

Changes:

  • Add .gitattributes with EOL normalization rules (text=auto, LF for Unix shells, CRLF for Windows scripts).
  • Renormalize line endings across templates, benchmarks, website assets, and many test snapshot files.
  • Update serialized/snapshot artifacts to reflect the normalized text representation.

Reviewed changes

Copilot reviewed 1 out of 62 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
website/src/images/companies/spectrum-medical.svg Line ending normalization for SVG asset.
website/public/images/companies/spectrum-medical.svg Line ending normalization for published SVG asset.
templates/server/appsettings.json Line ending normalization for template config.
templates/server/appsettings.Development.json Line ending normalization for template config.
templates/gateway/appsettings.json Line ending normalization for template config.
templates/gateway/appsettings.Development.json Line ending normalization for template config.
templates/azure-function/host.json Line ending normalization for function host config.
src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbFindFluentTests.FindFluent_Serializer.snap Snapshot text renormalization.
src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbFindFluentTests.FindFluent_CombineQuery.snap Snapshot text renormalization.
src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbFilterVisitorComparableTests.Create_ShortEqual_Expression_DateTime_Nullable.snap Snapshot text renormalization.
src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbCollectionTests.Collection_Serializer.snap Snapshot text renormalization.
src/HotChocolate/MongoDb/test/Data.MongoDb.Filters.Tests/snapshots/MongoDbAggregateFluentTests.AggregateFluent_Serializer.snap Snapshot text renormalization.
src/HotChocolate/Fusion-vnext/benchmarks/k6/eShop.Gateway/appsettings.json Line ending normalization for benchmark config.
src/HotChocolate/Fusion-vnext/benchmarks/k6/eShop.Gateway/appsettings.Development.json Line ending normalization for benchmark config.
src/HotChocolate/Fusion-vnext/benchmarks/k6/eShop.Accounts/appsettings.json Line ending normalization for benchmark config.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Product_NET9_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Product_NET8_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Brand_NET9_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Brand_NET8_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Query_Node_Brand_NET10_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Fallback_To_Runtime_Properties_When_No_Field_Is_Bindable_NET9_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Fallback_To_Runtime_Properties_When_No_Field_Is_Bindable_NET8_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Fallback_To_Runtime_Properties_When_No_Field_Is_Bindable_NET10_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Ensure_That_Self_Requirement_Is_Honored_NET9_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Ensure_That_Self_Requirement_Is_Honored_NET8_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/IntegrationTests.Ensure_That_Self_Requirement_Is_Honored_NET10_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_List_Results_NET9_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_List_Results_NET8_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_List_Results_NET10_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_Array_Results_NET9_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_Array_Results_NET8_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.PostgreSQL.Tests/snapshots/DataLoaderTests.Include_On_Array_Results_NET10_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/snapshots/DataLoaderTests.Filter_With_Multi_Expression_NET10_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/snapshots/DataLoaderTests.Filter_With_Filtering_NET10_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/snapshots/DataLoaderTests.Filter_With_Expression_Null_NET10_0.md Snapshot markdown renormalization.
src/HotChocolate/Data/test/Data.Filters.SqlServer.Tests/snapshots/DataLoaderTests.Filter_With_Expression_NET10_0.md Snapshot markdown renormalization.
src/HotChocolate/CostAnalysis/test/CostAnalysis.Tests/snapshots/PagingTests.Require_Paging_Boundaries_Two_Boundaries_With_Variable.md Snapshot markdown renormalization.
src/HotChocolate/CostAnalysis/test/CostAnalysis.Tests/snapshots/PagingTests.Require_Paging_Boundaries_Two_Boundaries_Mixed.md Snapshot markdown renormalization.
src/HotChocolate/CostAnalysis/test/CostAnalysis.Tests/snapshots/PagingTests.Require_Paging_Boundaries_Single_Boundary_With_Variable.md Snapshot markdown renormalization.
src/HotChocolate/CostAnalysis/test/CostAnalysis.Tests/snapshots/PagingTests.Filtering_Variable.md Snapshot markdown renormalization.
src/HotChocolate/Core/test/Execution.Tests/Serialization/snapshots/MultiPartResponseStreamSerializerTests.Serialize_Response_Stream.snap Multipart snapshot renormalization.
src/HotChocolate/AspNetCore/test/AspNetCore.Tests/snapshots/HttpPostMiddlewareTests.BatchRequest_GetHero_And_GetHuman_MultiPart.snap Multipart snapshot renormalization.
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.ServiceDefaults/eShop.Catalog.ServiceDefaults.csproj Line ending normalization for csproj.
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.ServiceDefaults/Extensions.cs Line ending normalization for C# source.
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/eShop.Catalog.AppHost.csproj Line ending normalization for csproj.
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/appsettings.json Line ending normalization for benchmark config.
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/appsettings.Development.json Line ending normalization for benchmark config.
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/Properties/launchSettings.json Line ending normalization for launch settings.
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.AppHost/AppHost.cs Line ending normalization for C# source.
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.API/appsettings.json Line ending normalization for benchmark API config.
src/HotChocolate/AspNetCore/benchmarks/k6/Catalog.API/appsettings.Development.json Line ending normalization for benchmark API config.
src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/snapshots/IntegrationTestBase.CallTool_GetWithAuthSuccess_ReturnsExpectedResult.md Snapshot markdown renormalization.
src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_NET9_0.md Snapshot markdown renormalization.
src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Product_List_NET9_0.md Snapshot markdown renormalization.
src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Product_List_NET10_0.md Snapshot markdown renormalization.
src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Brand_Name_NET9_0.md Snapshot markdown renormalization.
src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Brand_Name_NET10_0.md Snapshot markdown renormalization.
src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Brand_NET9_0.md Snapshot markdown renormalization.
src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.QueryContext_Simple_Selector_Include_Brand_NET10_0.md Snapshot markdown renormalization.
src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.Fetch_Last_2_Items_Between.md Snapshot markdown renormalization.
src/GreenDonut/test/GreenDonut.Data.EntityFramework.Tests/snapshots/PagingHelperTests.Fetch_First_2_Items_Between.md Snapshot markdown renormalization.
.gitattributes Introduces repo-wide EOL normalization rules.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .gitattributes
Comment thread .gitattributes
@glen-84 glen-84 changed the title Add .gitattributes file Add .gitattributes file and remove CRLFs from repository Feb 21, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 63 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 21, 2026

Fusion Gateway Performance Results

Simple Composite Query

Req/s Err%
Constant 2 (50 VUs) 3314.99 0.00%
Ramping 2 (0-500-0 VUs) 3847.33 0.00%
Response Times
Min Med Avg P90 P95 Max
Constant 2 1.19ms 12.02ms 14.82ms 23.82ms 32.62ms 249.85ms
Ramping 2 1.23ms 51.40ms 57.08ms 100.52ms 141.90ms 292.19ms

Deep Recursion Query

Req/s Err%
Constant 2 (50 VUs) 766.00 0.00%
Ramping 2 (0-500-0 VUs) 903.04 0.00%
Response Times
Min Med Avg P90 P95 Max
Constant 2 10.78ms 56.43ms 62.93ms 81.94ms 100.91ms 695.40ms
Ramping 2 3.11ms 212.06ms 227.62ms 461.18ms 512.68ms 842.14ms

Variable Batching Throughput

Req/s Err%
Constant 2 (50 VUs) 5741.52 0.00%
Ramping 2 (0-500-0 VUs) 5262.10 0.00%
Response Times
Min Med Avg P90 P95 Max
Constant 2 0.15ms 8.12ms 8.61ms 14.34ms 17.50ms 54.54ms
Ramping 2 0.19ms 39.46ms 43.67ms 81.46ms 105.04ms 219.06ms

Runner 2 = benchmarking-2

Run 22493756016 • Commit 4dbaf91 • Fri, 27 Feb 2026 16:15:17 GMT

@glen-84 glen-84 requested a review from michaelstaib February 21, 2026 12:30
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (6a3b7a3) to head (b2007fa).
⚠️ Report is 837 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #9172       +/-   ##
==========================================
- Coverage   74.16%       0   -74.17%     
==========================================
  Files        2677       0     -2677     
  Lines      140790       0   -140790     
  Branches    16371       0    -16371     
==========================================
- Hits       104421       0   -104421     
+ Misses      30774       0    -30774     
+ Partials     5595       0     -5595     
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants