Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/Cluckwork.Api/packages.lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="10.*" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.*" />
<PackageReference Include="Serilog.Extensions.Logging" Version="10.*" />
<PackageReference Include="StackExchange.Redis" Version="2.*" />
<PackageReference Include="StackExchange.Redis" Version="3.*" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Regenerate the downstream NuGet lock files

The API and integration-test lock files still describe Cluckwork.Infrastructure as requiring StackExchange.Redis [2.*, ) and resolve 2.13.17 (src/Cluckwork.Api/packages.lock.json:402-405,489-500 and tests/Cluckwork.Api.IntegrationTests/packages.lock.json:446-449,550-561). Because ci.yml restores the entire solution with --locked-mode, this project-reference dependency change causes NU1004 before the build; regenerate and commit every affected downstream lock file with the bump.

AGENTS.md reference: AGENTS.md:L150-L150

Useful? React with 👍 / 👎.

</ItemGroup>

<ItemGroup>
Expand Down
20 changes: 10 additions & 10 deletions src/Cluckwork.Infrastructure/packages.lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ private HttpClient ProxiedClient(string clientIp)
}

private static Task<HttpResponseMessage> PostLoginAsync(HttpClient client, string email = "nobody@example.com") =>
client.PostAsJsonAsync("/api/v1/auth/login", new { farmCode = TestHarness.DefaultFarmCode, email, password = "WrongPassw0rd!" });
client.PostAsJsonAsync("/api/v1/auth/login", new { farmCode = Infrastructure.TestHarness.DefaultFarmCode, email, password = "WrongPassw0rd!" });

// (b) primary down → the WIRED limiter still serves (fallback), still
// enforces a budget, and the alarm fires.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ public ValueTask<FixedWindowResult> IncrementAsync(
private sealed class TimingOutClaimOnceStore : IClaimOnceStore
{
public bool TryClaim(string key, TimeSpan ttl) =>
throw new RedisTimeoutException("timeout", CommandStatus.Unknown);
throw new RedisTimeoutException(CommandFlags.None, "timeout", CommandStatus.Unknown);
}

private sealed class TimingOutFixedWindowCounter : IFixedWindowCounter
{
public long Increment(string key, TimeSpan window) =>
throw new RedisTimeoutException("timeout", CommandStatus.Unknown);
throw new RedisTimeoutException(CommandFlags.None, "timeout", CommandStatus.Unknown);

public ValueTask<FixedWindowResult> IncrementAsync(
string key, TimeSpan window, System.Threading.CancellationToken cancellationToken = default) =>
throw new RedisTimeoutException("timeout", CommandStatus.Unknown);
throw new RedisTimeoutException(CommandFlags.None, "timeout", CommandStatus.Unknown);
}

// ── Working stubs (Redis up) ──────────────────────────────────────────
Expand Down
24 changes: 12 additions & 12 deletions tests/Cluckwork.Api.IntegrationTests/packages.lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading