Skip to content

feat: stream request bodies, type Store stats and fix Store search iteration - #39

Open
Pijukatel wants to merge 8 commits into
masterfrom
claude/upbeat-faraday-htdl0f
Open

Pijukatel wants to merge 8 commits into
masterfrom
claude/upbeat-faraday-htdl0f

Conversation

@Pijukatel

Copy link
Copy Markdown
Contributor

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

  • APISpecVersion stays v2-2026-11-18T151559Z, since the published spec still reports that version. The content of the two spec PRs below was applied from their diffs.
  • docs(api): update GET /v2/store for the new search backend apify-docs#3210 and #3263 (Store):
    • ActorStoreListItem has typed Categories, Stats (new StoreActorStats) and IsVerified.
    • StoreListOptions.SortBy is deprecated. The Search, Limit, Category, IncludeUnrunnableActors, ResponseFormat and AllowsAgenticUsers docs follow the spec.
    • The API ignores offset for a search, so Store().Iterate with Search set now makes one request and yields each Actor once. Before this it repeated the same Actors without end.

Reference client

Requirements

  • apify/apify-client-orchestration#73 (actions.lock) was already satisfied on master.

Tests

  • Unit tests for stream bodies (every close path), timeout tiers and Store search iteration. The existing tier test is renamed to TestLongTierCallsOutliveTheShortTier.
  • Integration: TestSetRecordStream, TestTaskCallStream, TestIterateStoreSearch and a Store stats assertion.
  • The unit suite and go test ./tests/ pass locally against the live API. golangci-lint v2.15.0 reports 0 issues.

Generated by Claude Code

…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.
@Pijukatel Pijukatel added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Nov 27, 2026 — with Claude

This branch was successfully deployed

1 active deployment
tests — 2f59e59f Deployed Nov 27, 2026 by Pijukatel via test #79
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants