Repository navigation
feat: split Store search from the listing, stream request bodies and type Store stats - #39
Merged
Merged
Conversation
…or version writes Sync with the Store API changes of the OpenAPI specification and the reference client.
Add io.Reader bodies for record values, Actor and task inputs and Server Actor requests, make Store iteration with a search a single request, and document the remaining Store options.
…loads as errors Share the task call helper, restore the Store includeInputSchema unit test and update the stream documentation.
…r streamed requests A stream that is an io.Closer is closed when the call ends, also when it fails before sending.
…n logs, resume streamed logs after a cut Add StoreCollectionClient.Search and drop Search and SortBy from StoreListOptions, as the API answers a search with one page. Remove the AllowsAgenticUsers filter the API dropped. Redirect the log of a task run in Call and CallStream, add StreamedLogOptions.Since and StreamedLog.LastRedirectedAt, and reopen a log stream that was cut off. Update the spec version to v2-2026-12-02T102104Z and document signed URLs and build OpenAPI access.
…bound stream starts by the long tier Stop reads the whole log through the replay filter when a broken log stream was not replaced yet. ActorClient.StartStream and TaskClient.StartStream use the long timeout tier. Document SetRecordStreamWithEncoding, regroup the CHANGELOG entries and share the content type fallback.
…tream A reopened stream that Stop cuts off before it caught up with the redirected messages no longer ends the redirection. Stop reads the whole log and redirects what is missing. Tidy the CHANGELOG and docs.
Pijukatel
force-pushed
the
claude/upbeat-faraday-htdl0f
branch
from
December 3, 2026 13:22
9892edc to
779088b
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 Go client with the OpenAPI spec, reference client and requirement changes merged since the last update. The module version goes from 0.16.2 to 0.17.0, with one CHANGELOG section.
Spec sync
APISpecVersionisv2-2026-12-02T102104Z.ActorStoreListItemhas typedCategories,Stats(newStoreActorStats) andIsVerified.Limit,Category,IncludeUnrunnableActors, andResponseFormatdocs follow the spec.allowsAgenticUsersStore filter, soStoreListOptions.AllowsAgenticUsersis removed. No typed model or error type used the other removed agentic payment items.BuildClient.GetOpenAPIDefinitiondocuments when a token is needed.Reference client
StoreListOptionslosesSearchandSortBy, and the newStoreCollectionClient.Search(ctx, StoreSearchOptions) (StoreSearchResult, error)sends one request, requires a non-emptyStoreSearchOptions.Search, and returns the Actors with the limit. The API ignoresoffsetfor a search, so paging through it repeated the same Actors without end.TaskClient.call()apify-client-js#1237:TaskStartOptions.Log.TaskClient.CallandCallStreamredirect the log of the run while they wait, as the Actor calls do, through a shared helper.fromStartwithsincein streamed logs and reopen closed streams apify-client-js#1263:StreamedLogOptions.SinceandStreamedLog.LastRedirectedAt. A log stream that is cut off while the run goes on is reopened, and messages that were already redirected are skipped.FromStartstays, deprecated, andSincetakes precedence.ActorVersionCollectionClient.CreateandActorVersionClient.Updateuse the long timeout tier.io.Readerbody:KeyValueStoreClient.SetRecordStreamandSetRecordStreamWithEncoding,ActorClient.StartStreamandCallStream,TaskClient.StartStreamandCallStream.ActorServerRequestOptions.Bodyalso accepts a reader.HTTPBackenddocuments that backends must close the request body.application/json, the only content type the API accepts.Requirements
actions.lock) was already satisfied on master. #75 and #76 change only the routine and the workflows of the orchestration repository.Tests
TestLongTierCallsOutliveTheShortTier.TestSearchStore,TestSearchStoreWithFilters,TestSetRecordStream,TestTaskCallStream, and a Store stats assertion.go test ./tests/pass locally against the live API. golangci-lint v2.15.0 reports 0 issues.Generated by Claude Code