Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

scheduled-deployments changedmanaged-agents/scheduled-deployments

Nearest release: v2.1.317, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+5added
Lines−8removed
From line 452 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits24to this page, all time

The whole hunk

from line 452, old and new numbered
/
lines
from line 452
452452 );
453453 await foreach (var run in runs.Paginate())
454454 {
455 // The Error union exposes .Message directly; the discriminator is read
456 // from .Json until a common .Type accessor is added.
457 var outcome = run.SessionID ?? run.Error!.Json.GetProperty("type").GetString();
455 var outcome = run.SessionID ?? run.Error!.Type.Raw();
458456 Console.WriteLine($"{run.CreatedAt} {outcome}");
459457 }
460458 ```
from line 479
481479 DeploymentRunListParams.builder()
482480 .deploymentId(deployment.id())
483481 .build()).autoPager()) {
484 // The Error union does not yet expose common .type()/.message()
485 // accessors; .toString() includes both.
486482 IO.println(run.createdAt() + " "
487 + run.sessionId().orElseGet(() -> run.error().orElseThrow().toString()));
483 + run.sessionId().orElseGet(() -> run.error().orElseThrow().type().asString()));
488484 }
489485 ```
490486 
from line 540
544540 await foreach (var failedRun in failedRuns.Paginate())
545541 {
546542 var error = failedRun.Error!;
547 var errorType = error.Json.GetProperty("type").GetString();
543 var errorType = error.Type.Raw();
548544 Console.WriteLine($"{failedRun.CreatedAt} {errorType} {error.Message}");
549545 }
550546 ```
from line 565
569565 .deploymentId(deployment.id())
570566 .hasError(true)
571567 .build()).autoPager()) {
572 IO.println(run.createdAt() + " " + run.error().orElseThrow());
568 var error = run.error().orElseThrow();
569 IO.println(run.createdAt() + " " + error.type().asString() + " " + error.message());
573570 }
574571 ```
575572 
Feedback