Skip to content

Comments

Add .gitattributes file and remove CRLFs from repository#9172

Open
glen-84 wants to merge 3 commits intomainfrom
gai/git-attributes
Open

Add .gitattributes file and remove CRLFs from repository#9172
glen-84 wants to merge 3 commits intomainfrom
gai/git-attributes

Conversation

@glen-84
Copy link
Collaborator

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

Summary of the changes (Less than 80 chars)

  • Add .gitattributes file.

Copy link
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.

@glen-84 glen-84 changed the title Add .gitattributes file Add .gitattributes file and remove CRLFs from repository Feb 21, 2026
Copy link
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
Contributor

Fusion Gateway Performance Results

Simple Composite Query

Req/s Err%
Constant (50 VUs) 2921.68 0.00%
Ramping (0-500-0 VUs) 3322.31 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.72ms 15.05ms 16.89ms 31.05ms 36.43ms 171.84ms
Ramping 0.89ms 65.83ms 67.05ms 123.99ms 139.33ms 239.89ms
query TestQuery {
  topProducts(first: 5) {
    inStock
    name
    price
    shippingEstimate
    upc
    weight
    reviews {
      id
      body
      author {
        id
        username
        name
      }
    }
  }
}

Deep Recursion Query

Req/s Err%
Constant (50 VUs) 750.10 0.00%
Ramping (0-500-0 VUs) 812.62 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 8.85ms 62.40ms 65.14ms 81.11ms 90.55ms 358.56ms
Ramping 1.84ms 254.21ms 264.66ms 533.59ms 570.50ms 681.10ms
query TestQuery {
  users {
    id
    username
    name
    reviews {
      id
      body
      product {
        inStock
        name
        price
        shippingEstimate
        upc
        weight
        reviews {
          id
          body
          author {
            id
            username
            name
            reviews {
              id
              body
              product {
                inStock
                name
                price
                shippingEstimate
                upc
                weight
              }
            }
          }
        }
      }
    }
  }
  topProducts(first: 5) {
    inStock
    name
    price
    shippingEstimate
    upc
    weight
    reviews {
      id
      body
      author {
        id
        username
        name
        reviews {
          id
          body
          product {
            inStock
            name
            price
            shippingEstimate
            upc
            weight
          }
        }
      }
    }
  }
}

Variable Batching Throughput

Req/s Err%
Constant (50 VUs) 23686.83 0.00%
Ramping (0-500-0 VUs) 18505.35 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.10ms 1.70ms 2.06ms 3.94ms 4.82ms 50.36ms
Ramping 0.10ms 9.49ms 11.45ms 23.34ms 28.20ms 130.12ms
query TestQuery($upc: ID!, $price: Long!, $weight: Long!) {
  productByUpc(upc: $upc) {
    inStock
    shippingEstimate(weight: $weight, price: $price)
  }
}

Variables (5 sets batched per request)

[
  { "upc": "1", "price": 899, "weight": 100 },
  { "upc": "2", "price": 1299, "weight": 1000 },
  { "upc": "3", "price": 15, "weight": 20 },
  { "upc": "4", "price": 499, "weight": 100 },
  { "upc": "5", "price": 1299, "weight": 1000 }
]

Run 22256511142 • Commit 32ccbfa • Sat, 21 Feb 2026 12:24:48 GMT

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

codecov bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (eb20f1a) to head (999d019).

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #9172   +/-   ##
============================
============================

☔ 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.

1 participant