fix: Remove compiler warnings in Application & Web
Merge to Main - Full Pipeline / Stage 1: Fast Gates (push) Failing after 5s
Merge to Main - Full Pipeline / Stage 2: Critical Gates (push) Has been skipped
WBS-9.3 - NULL Policy CI Gate / NULL Policy Validation (push) Failing after 4s
Merge to Main - Full Pipeline / Stage 4: Build and Package (push) Has been skipped
Merge to Main - Full Pipeline / Stage 5: Deploy to Production (push) Has been skipped
Merge to Main - Full Pipeline / Pipeline Summary (push) Successful in 1s
Merge to Main - Full Pipeline / Stage 3: Integration Tests (push) Has been skipped
Merge to Main - Full Pipeline / Stage 1: Fast Gates (push) Failing after 5s
Merge to Main - Full Pipeline / Stage 2: Critical Gates (push) Has been skipped
WBS-9.3 - NULL Policy CI Gate / NULL Policy Validation (push) Failing after 4s
Merge to Main - Full Pipeline / Stage 4: Build and Package (push) Has been skipped
Merge to Main - Full Pipeline / Stage 5: Deploy to Production (push) Has been skipped
Merge to Main - Full Pipeline / Pipeline Summary (push) Successful in 1s
Merge to Main - Full Pipeline / Stage 3: Integration Tests (push) Has been skipped
- KisApiPriceSource.cs: Use discard pattern for unused exception variables - Monitoring/Index.cshtml: Handle nullable TotalErrors with null coalescing Build now passes with 0 code-level warnings (6 remaining NuGet compatibility warnings are harmless). Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -51,7 +51,7 @@ public class KisApiPriceSource : IPriceSource
|
|||||||
result.OrderbookStatus = "OK";
|
result.OrderbookStatus = "OK";
|
||||||
result.OrderbookRaw = output1;
|
result.OrderbookRaw = output1;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
result.OrderbookStatus = "ERROR";
|
result.OrderbookStatus = "ERROR";
|
||||||
}
|
}
|
||||||
@@ -70,7 +70,7 @@ public class KisApiPriceSource : IPriceSource
|
|||||||
result.ShortSaleStatus = "OK";
|
result.ShortSaleStatus = "OK";
|
||||||
result.ShortSaleRaw = (Dictionary<string, object>?)rows.FirstOrDefault() ?? new();
|
result.ShortSaleRaw = (Dictionary<string, object>?)rows.FirstOrDefault() ?? new();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
result.ShortSaleStatus = "ERROR";
|
result.ShortSaleStatus = "ERROR";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
<td>
|
<td>
|
||||||
@if (run.TotalSnapshots > 0)
|
@if (run.TotalSnapshots > 0)
|
||||||
{
|
{
|
||||||
var progressPercent = (int)((run.TotalSnapshots * 100) / (run.TotalSnapshots + run.TotalErrors + 1));
|
var progressPercent = (int)((run.TotalSnapshots * 100) / (run.TotalSnapshots + (run.TotalErrors ?? 0) + 1));
|
||||||
<div class="progress progress-sm">
|
<div class="progress progress-sm">
|
||||||
<div class="progress-bar bg-info" style="width: @progressPercent%"></div>
|
<div class="progress-bar bg-info" style="width: @progressPercent%"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user