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

- 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:
2026-07-11 20:49:43 +09:00
parent 14c9e3b5a5
commit 668f109b01
2 changed files with 3 additions and 3 deletions
@@ -45,7 +45,7 @@
<td>
@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-bar bg-info" style="width: @progressPercent%"></div>
</div>