Repository navigation
feat: sync .NET client with Apify OpenAPI spec v2-2026-10-08T073338Z - #16
Merged
Merged
Conversation
Bumps the spec version and adds the apify-client-js v3 behavior fixes merged since the last sync: - Add `WaitForResources` to `ActorStartOptions`/`TaskStartOptions`: retry a run start rejected for lack of memory or a concurrent-run slot instead of throwing immediately (apify-client-js#1091). - Fix the auto-paging collection iterators to stop only once a page returns no items, not once `offset` reaches an earlier page's stale `total` (apify-client-js#1125). - Fix `WaitForFinishAsync` to throw `NotFoundException` after 3s of continuous 404s instead of polling for the whole wait budget (apify-client-js#1124). - Fix `StreamedLog` to reopen the log stream when it ends empty before the run has logged anything, with a one-shot fallback on stop (apify-client-js#1105).
- Reset notFoundError alongside notFoundSinceMillis on a successful WaitForFinishAsync fetch, for robustness. - Add a regression test for the case where waitSecs elapses before the not-found grace window (WaitForFinishAsync must still throw NotFoundException, not a generic error). - Reject NaN/infinite budgets in WaitForResources.For, so double.PositiveInfinity cannot silently stand in for UntilAvailable.
The <param> doc for maxWaitSecs still said "must not be negative" after the validation was broadened to also reject NaN/infinite values.
Pijukatel
force-pushed
the
claude/compassionate-babbage-gg8tp4
branch
from
October 12, 2026 09:55
cc87e09 to
a9023e1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the .NET client (previously at OpenAPI spec
v2-2026-10-01T153946Z, client0.4.0) to the latestspec (
v2-2026-10-08T073338Z, client0.5.0) and to the apify-client-js behavior fixes merged since thelast sync (apify-client-js#1091, #1125, #1122, #1121, #1123, #1124, #1107, #1137, #1105, #1144;
apify-docs#3043, #3044, #3042).
WaitForResourcestoActorStartOptions/TaskStartOptions:StartAsync/CallAsyncon bothActorClientandTaskClientretry a start rejected withactor-memory-limit-exceeded/concurrent-runs-limit-exceededinstead of throwing immediately (apify-client-js#1091).offsetreaches an earlier page's stale
total(apify-client-js#1125).WaitForFinishAsync(run/build) to throwNotFoundExceptionafter 3s of continuous 404s insteadof polling for the whole (possibly multi-day)
waitSecsbudget (apify-client-js#1124).StreamedLogto reopen the log stream (growing backoff up to 5s) when it ends empty before the runhas logged anything, with a one-shot fallback on stop (apify-client-js#1105).
The other reference-client PRs (#1122, #1121, #1123, #1107, #1144) and spec changes (apify-docs#3043,
#3042) required no code change — the .NET client's architecture (untyped
UpdateAsync(object),already-typed
string[]options,CancellationToken-based stream cancellation, lean models with a raw-JSONfallback) already covers them. See
CHANGELOG.mdfor the complete, user-facing change list.