mirror of
https://github.com/azaion/satellite-provider.git
synced 2026-06-22 00:51:14 +00:00
[AZ-372] Apply dotnet format whitespace cleanup; archive batch 22
Pure whitespace-only cleanup uncovered by the new format gate from the previous commit. Verified via `git diff -w --stat`: only 4 files differ when whitespace is ignored, and those differ only by the BOM byte. Cleanup kinds applied across 22 source files: - BOM removal (MapConfig.cs, SatTile.cs, GeoUtils.cs, IntegrationTests/Program.cs) - CRLF -> LF (IntegrationTests/Program.cs) - Trailing whitespace on blank lines (Common, Api, DataAccess, IntegrationTests, Services.RegionProcessing, Services.TileDownloader) - Final newline added (RoutePoint.cs, GeoPoint.cs, others) After this commit `dotnet format whitespace SatelliteProvider.sln --verify-no-changes` exits 0; AC-1 is enforceable from `scripts/ run-tests.sh` going forward. Also lands the batch 22 report, code-review report (PASS_WITH_WARNINGS, 2 Low findings — both deferred per spec), dependency-table status update (AZ-372 -> Done (In Testing)), task archive (todo/ -> done/), and autodev state update. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -92,7 +92,7 @@ public static class RegionTests
|
||||
};
|
||||
|
||||
var requestResponse = await httpClient.PostAsJsonAsync("/api/satellite/request", requestRegion);
|
||||
|
||||
|
||||
if (!requestResponse.IsSuccessStatusCode)
|
||||
{
|
||||
var errorContent = await requestResponse.Content.ReadAsStringAsync();
|
||||
@@ -100,7 +100,7 @@ public static class RegionTests
|
||||
}
|
||||
|
||||
var initialStatus = await requestResponse.Content.ReadFromJsonAsync<RegionStatusResponse>(JsonOptions);
|
||||
|
||||
|
||||
if (initialStatus == null)
|
||||
{
|
||||
throw new Exception("No status returned from region request");
|
||||
@@ -113,13 +113,13 @@ public static class RegionTests
|
||||
Console.WriteLine("Polling for region status updates...");
|
||||
RegionStatusResponse? finalStatus = null;
|
||||
int maxAttempts = TestRunMode.RegionPollAttempts;
|
||||
|
||||
|
||||
for (int i = 0; i < maxAttempts; i++)
|
||||
{
|
||||
await Task.Delay(2000);
|
||||
|
||||
|
||||
var statusResponse = await httpClient.GetAsync($"/api/satellite/region/{regionId}");
|
||||
|
||||
|
||||
if (!statusResponse.IsSuccessStatusCode)
|
||||
{
|
||||
var errorContent = await statusResponse.Content.ReadAsStringAsync();
|
||||
@@ -127,7 +127,7 @@ public static class RegionTests
|
||||
}
|
||||
|
||||
var status = await statusResponse.Content.ReadFromJsonAsync<RegionStatusResponse>(JsonOptions);
|
||||
|
||||
|
||||
if (status == null)
|
||||
{
|
||||
throw new Exception("No status returned");
|
||||
|
||||
Reference in New Issue
Block a user