Repository navigation
Replace Squadron with CookieCrumble Testcontainers resources #10338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
6cffce1
Add CookieCrumble.Resources core project
glen-84 169c3d3
Add Redis resource and migrate Redis test projects
glen-84 2c61341
Add PostgreSql resource and migrate first Postgres test projects
glen-84 0094e9d
Migrate EF-based Postgres test projects off Squadron
glen-84 640a76b
Migrate Marten test projects off Squadron
glen-84 3b6016f
Migrate Spatial PostGIS test projects off Squadron
glen-84 78cf0e6
Migrate Mocha Postgres test projects off Squadron
glen-84 eedf45c
Add Mongo resource and migrate MongoDb test projects off Squadron
glen-84 2cff9f1
Add NATS resource and consolidate NATS test containers
glen-84 b16af1a
Add RabbitMQ resource and migrate RabbitMQ test projects off Squadron
glen-84 b77a085
Add Azure Storage resource and migrate blob-storage tests off Squadron
glen-84 db232f8
Add Kafka resource and rework KafkaFixture onto it
glen-84 9156905
Add SqlServer resource and migrate GreenDonut EF tests off Squadron
glen-84 50f9dde
Add RavenDB resource and migrate Raven test projects off Squadron
glen-84 a1f978d
Remove Squadron packages
glen-84 6b323a5
Merge branch 'main' into gai/cookiecrumble-resources
glen-84 3642467
Fail fast on RabbitMQ exec errors in tests
glen-84 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
16 changes: 16 additions & 0 deletions
16
src/CookieCrumble/src/CookieCrumble.Resources.AzureStorage/AzureStorageBlobResource.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| using Azure.Storage.Blobs; | ||
| using Testcontainers.Azurite; | ||
|
|
||
| namespace CookieCrumble.Resources; | ||
|
|
||
| public class AzureStorageBlobResource : ContainerResource<AzuriteContainer> | ||
| { | ||
| public string ConnectionString => Container.GetConnectionString(); | ||
|
|
||
| public BlobServiceClient CreateBlobServiceClient() => new(ConnectionString); | ||
|
|
||
| protected override AzuriteContainer Build() | ||
| => Configure(new AzuriteBuilder("mcr.microsoft.com/azure-storage/azurite:3.33.0")).Build(); | ||
|
|
||
| protected virtual AzuriteBuilder Configure(AzuriteBuilder builder) => builder; | ||
| } |
18 changes: 18 additions & 0 deletions
18
...mble/src/CookieCrumble.Resources.AzureStorage/CookieCrumble.Resources.AzureStorage.csproj
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <AssemblyName>CookieCrumble.Resources.AzureStorage</AssemblyName> | ||
| <RootNamespace>CookieCrumble.Resources</RootNamespace> | ||
| <IsPackable>false</IsPackable> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Azure.Storage.Blobs" /> | ||
| <PackageReference Include="Testcontainers.Azurite" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="../CookieCrumble.Resources/CookieCrumble.Resources.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
17 changes: 17 additions & 0 deletions
17
src/CookieCrumble/src/CookieCrumble.Resources.Kafka/CookieCrumble.Resources.Kafka.csproj
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <AssemblyName>CookieCrumble.Resources.Kafka</AssemblyName> | ||
| <RootNamespace>CookieCrumble.Resources</RootNamespace> | ||
| <IsPackable>false</IsPackable> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Testcontainers.Kafka" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="../CookieCrumble.Resources/CookieCrumble.Resources.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
13 changes: 13 additions & 0 deletions
13
src/CookieCrumble/src/CookieCrumble.Resources.Kafka/KafkaResource.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| using Testcontainers.Kafka; | ||
|
|
||
| namespace CookieCrumble.Resources; | ||
|
|
||
| public class KafkaResource : ContainerResource<KafkaContainer> | ||
| { | ||
| public string BootstrapServers => Container.GetBootstrapAddress(); | ||
|
|
||
| protected override KafkaContainer Build() | ||
| => Configure(new KafkaBuilder("confluentinc/cp-kafka:7.7.0")).Build(); | ||
|
|
||
| protected virtual KafkaBuilder Configure(KafkaBuilder builder) => builder; | ||
| } |
18 changes: 18 additions & 0 deletions
18
src/CookieCrumble/src/CookieCrumble.Resources.Mongo/CookieCrumble.Resources.Mongo.csproj
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <AssemblyName>CookieCrumble.Resources.Mongo</AssemblyName> | ||
| <RootNamespace>CookieCrumble.Resources</RootNamespace> | ||
| <IsPackable>false</IsPackable> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="MongoDB.Driver" /> | ||
| <PackageReference Include="Testcontainers.MongoDb" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="../CookieCrumble.Resources/CookieCrumble.Resources.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
32 changes: 32 additions & 0 deletions
32
src/CookieCrumble/src/CookieCrumble.Resources.Mongo/MongoResource.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| using MongoDB.Driver; | ||
| using Testcontainers.MongoDb; | ||
|
|
||
| namespace CookieCrumble.Resources; | ||
|
|
||
| public class MongoResource : ContainerResource<MongoDbContainer> | ||
| { | ||
| private MongoClient? _client; | ||
|
|
||
| public IMongoClient Client => _client ??= new MongoClient(ConnectionString); | ||
|
|
||
| public string ConnectionString => Container.GetConnectionString(); | ||
|
|
||
| // Every call without an explicit database creates a new, uniquely named | ||
| // database, so callers sharing one container stay isolated. | ||
| public IMongoDatabase CreateDatabase(string? name = null) | ||
| => Client.GetDatabase(name ?? $"db_{Guid.NewGuid():N}"); | ||
|
|
||
| public IMongoCollection<T> CreateCollection<T>(string? name = null) | ||
| { | ||
| var database = CreateDatabase(); | ||
| name ??= $"col_{Guid.NewGuid():N}"; | ||
| database.CreateCollection(name); | ||
|
|
||
| return database.GetCollection<T>(name); | ||
| } | ||
|
|
||
| protected override MongoDbContainer Build() | ||
| => Configure(new MongoDbBuilder("mongo:6.0")).Build(); | ||
|
|
||
| protected virtual MongoDbBuilder Configure(MongoDbBuilder builder) => builder; | ||
| } |
17 changes: 17 additions & 0 deletions
17
src/CookieCrumble/src/CookieCrumble.Resources.Nats/CookieCrumble.Resources.Nats.csproj
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <AssemblyName>CookieCrumble.Resources.Nats</AssemblyName> | ||
| <RootNamespace>CookieCrumble.Resources</RootNamespace> | ||
| <IsPackable>false</IsPackable> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Testcontainers.Nats" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="../CookieCrumble.Resources/CookieCrumble.Resources.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
13 changes: 13 additions & 0 deletions
13
src/CookieCrumble/src/CookieCrumble.Resources.Nats/NatsResource.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| using Testcontainers.Nats; | ||
|
|
||
| namespace CookieCrumble.Resources; | ||
|
|
||
| public class NatsResource : ContainerResource<NatsContainer> | ||
| { | ||
| public string NatsConnectionString => Container.GetConnectionString(); | ||
|
|
||
| protected override NatsContainer Build() | ||
| => Configure(new NatsBuilder("nats:2.10-alpine")).Build(); | ||
|
|
||
| protected virtual NatsBuilder Configure(NatsBuilder builder) => builder; | ||
| } | ||
18 changes: 18 additions & 0 deletions
18
...eCrumble/src/CookieCrumble.Resources.PostgreSql/CookieCrumble.Resources.PostgreSql.csproj
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <AssemblyName>CookieCrumble.Resources.PostgreSql</AssemblyName> | ||
| <RootNamespace>CookieCrumble.Resources</RootNamespace> | ||
| <IsPackable>false</IsPackable> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Npgsql" /> | ||
| <PackageReference Include="Testcontainers.PostgreSql" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="../CookieCrumble.Resources/CookieCrumble.Resources.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
40 changes: 40 additions & 0 deletions
40
src/CookieCrumble/src/CookieCrumble.Resources.PostgreSql/PostgreSqlResource.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| using Npgsql; | ||
| using Testcontainers.PostgreSql; | ||
|
|
||
| namespace CookieCrumble.Resources; | ||
|
|
||
| public class PostgreSqlResource : ContainerResource<PostgreSqlContainer> | ||
| { | ||
| public string ConnectionString => Container.GetConnectionString(); | ||
|
|
||
| public async Task CreateDatabaseAsync(string name) | ||
| { | ||
| await using var connection = GetConnection(); | ||
| await connection.OpenAsync(); | ||
| await using var command = connection.CreateCommand(); | ||
| var quotedName = new NpgsqlCommandBuilder().QuoteIdentifier(name); | ||
| command.CommandText = $"CREATE DATABASE {quotedName};"; | ||
| await command.ExecuteNonQueryAsync(); | ||
| } | ||
|
|
||
| public NpgsqlConnection GetConnection(string? database = null) | ||
| => new(database is null ? ConnectionString : GetConnectionString(database)); | ||
|
|
||
| public string GetConnectionString(string database) | ||
| => new NpgsqlConnectionStringBuilder(ConnectionString) { Database = database } | ||
| .ConnectionString; | ||
|
|
||
| public async Task RunSqlScriptAsync(string sql, string database) | ||
| { | ||
| await using var connection = GetConnection(database); | ||
| await connection.OpenAsync(); | ||
| await using var command = connection.CreateCommand(); | ||
| command.CommandText = sql; | ||
| await command.ExecuteNonQueryAsync(); | ||
| } | ||
|
|
||
| protected override PostgreSqlContainer Build() | ||
| => Configure(new PostgreSqlBuilder("postgres:15.1")).Build(); | ||
|
|
||
| protected virtual PostgreSqlBuilder Configure(PostgreSqlBuilder builder) => builder; | ||
| } |
17 changes: 17 additions & 0 deletions
17
...ookieCrumble/src/CookieCrumble.Resources.RabbitMQ/CookieCrumble.Resources.RabbitMQ.csproj
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <AssemblyName>CookieCrumble.Resources.RabbitMQ</AssemblyName> | ||
| <RootNamespace>CookieCrumble.Resources</RootNamespace> | ||
| <IsPackable>false</IsPackable> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Testcontainers.RabbitMq" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="../CookieCrumble.Resources/CookieCrumble.Resources.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
36 changes: 36 additions & 0 deletions
36
src/CookieCrumble/src/CookieCrumble.Resources.RabbitMQ/RabbitMQResource.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| using Testcontainers.RabbitMq; | ||
|
|
||
| namespace CookieCrumble.Resources; | ||
|
|
||
| public class RabbitMQResource : ContainerResource<RabbitMqContainer> | ||
| { | ||
| public string ConnectionString => Container.GetConnectionString(); | ||
|
|
||
| public string Hostname => Container.Hostname; | ||
|
|
||
| public ushort Port => Container.GetMappedPublicPort(RabbitMqBuilder.RabbitMqPort); | ||
|
glen-84 marked this conversation as resolved.
|
||
|
|
||
| public async Task<string> InvokeCommandAsync(IEnumerable<string> command) | ||
| { | ||
| var arguments = command.ToArray(); | ||
| var result = await Container.ExecAsync(arguments); | ||
|
|
||
| if (result.ExitCode != 0) | ||
| { | ||
| throw new InvalidOperationException( | ||
| $"'{string.Join(' ', arguments)}' failed with exit code {result.ExitCode}: " | ||
| + result.Stderr); | ||
| } | ||
|
|
||
| return result.Stdout; | ||
| } | ||
|
glen-84 marked this conversation as resolved.
|
||
|
|
||
| protected override RabbitMqContainer Build() | ||
| => Configure( | ||
| new RabbitMqBuilder("rabbitmq:3.11") | ||
| .WithUsername("guest") | ||
| .WithPassword("guest")) | ||
| .Build(); | ||
|
|
||
| protected virtual RabbitMqBuilder Configure(RabbitMqBuilder builder) => builder; | ||
| } | ||
18 changes: 18 additions & 0 deletions
18
src/CookieCrumble/src/CookieCrumble.Resources.RavenDB/CookieCrumble.Resources.RavenDB.csproj
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <AssemblyName>CookieCrumble.Resources.RavenDB</AssemblyName> | ||
| <RootNamespace>CookieCrumble.Resources</RootNamespace> | ||
| <IsPackable>false</IsPackable> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="RavenDB.Client" /> | ||
| <PackageReference Include="Testcontainers.RavenDb" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="../CookieCrumble.Resources/CookieCrumble.Resources.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
40 changes: 40 additions & 0 deletions
40
src/CookieCrumble/src/CookieCrumble.Resources.RavenDB/RavenDBResource.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| using System.Runtime.InteropServices; | ||
| using Raven.Client.Documents; | ||
| using Raven.Client.ServerWide; | ||
| using Raven.Client.ServerWide.Operations; | ||
| using Testcontainers.RavenDb; | ||
|
|
||
| namespace CookieCrumble.Resources; | ||
|
|
||
| public class RavenDBResource : ContainerResource<RavenDbContainer> | ||
| { | ||
| public string ConnectionString => Container.GetConnectionString(); | ||
|
|
||
| public IDocumentStore CreateDatabase(string name) | ||
| { | ||
| using (var store = GetDocumentStore()) | ||
| { | ||
| store.Maintenance.Server.Send(new CreateDatabaseOperation(new DatabaseRecord(name))); | ||
| } | ||
|
|
||
| return GetDocumentStore(name); | ||
| } | ||
|
|
||
| public IDocumentStore GetDocumentStore(string? databaseName = null) | ||
| { | ||
| var store = new DocumentStore { Urls = [ConnectionString], Database = databaseName }; | ||
| store.Initialize(); | ||
|
|
||
| return store; | ||
| } | ||
|
|
||
| protected override RavenDbContainer Build() | ||
| => Configure( | ||
| new RavenDbBuilder( | ||
| RuntimeInformation.ProcessArchitecture is Architecture.Arm64 | ||
| ? "ravendb/ravendb:6.2-ubuntu-arm64v8-latest" | ||
| : "ravendb/ravendb:6.2-ubuntu-latest")) | ||
| .Build(); | ||
|
|
||
| protected virtual RavenDbBuilder Configure(RavenDbBuilder builder) => builder; | ||
| } |
18 changes: 18 additions & 0 deletions
18
src/CookieCrumble/src/CookieCrumble.Resources.Redis/CookieCrumble.Resources.Redis.csproj
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <AssemblyName>CookieCrumble.Resources.Redis</AssemblyName> | ||
| <RootNamespace>CookieCrumble.Resources</RootNamespace> | ||
| <IsPackable>false</IsPackable> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="StackExchange.Redis" /> | ||
| <PackageReference Include="Testcontainers.Redis" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <ProjectReference Include="../CookieCrumble.Resources/CookieCrumble.Resources.csproj" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> |
15 changes: 15 additions & 0 deletions
15
src/CookieCrumble/src/CookieCrumble.Resources.Redis/RedisResource.cs
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| using StackExchange.Redis; | ||
| using Testcontainers.Redis; | ||
|
|
||
| namespace CookieCrumble.Resources; | ||
|
|
||
| public class RedisResource : ContainerResource<RedisContainer> | ||
| { | ||
| public string ConnectionString => Container.GetConnectionString(); | ||
|
|
||
| public ConnectionMultiplexer GetConnection() => ConnectionMultiplexer.Connect(ConnectionString); | ||
|
|
||
| protected override RedisContainer Build() => Configure(new RedisBuilder("redis:7.0")).Build(); | ||
|
|
||
| protected virtual RedisBuilder Configure(RedisBuilder builder) => builder; | ||
| } | ||
|
glen-84 marked this conversation as resolved.
|
||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.