Skip to content

feat(api): support native server batch overloads - #13

Merged
redox merged 2 commits into
altertable-ai:mainfrom
albert20260301:update/specs-v0.13.0
Sep 4, 2026
Merged

feat(api): support native server batch overloads#13
redox merged 2 commits into
altertable-ai:mainfrom
albert20260301:update/specs-v0.13.0

Conversation

@albert20260301

@albert20260301 albert20260301 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • pin altertable-client-specs to v0.13.0
  • overload track, identify, and alias to accept caller-supplied payload arrays
  • submit each supplied array as one request without a client-side size cap
  • document the behavior and cover a 101-payload track pass-through case plus identify/alias array routing

Impact analysis

The existing scalar server APIs retain their payload construction and validation. Passing an array as the first argument now posts that exact array to its corresponding endpoint, matching the v0.13.0 server-tier contract without introducing separate *_batch APIs or a maxBatchSize setting.

The equivalent server-tier behavior is being checked in the other reachable product analytics SDKs. Web and mobile SDKs instead use the new 20-payload per-endpoint cap.

Validation

  • python3 -m py_compile src/altertable/client.py tests/test_altertable.py
  • git diff --check
  • Full pytest and Ruff validation are deferred to repository CI because this environment has no Poetry, pip, pytest, or Ruff installation.

@albert20260301

Copy link
Copy Markdown
Contributor Author

@redox could you review this?

You requested the v0.13.0 downstream updates. CI is green. The main review focus is the server-tier contract: batch methods no longer impose device queue limits and preserve each payload's order and fields.

@albert20260301 albert20260301 changed the title feat(api): add server batch pass-through feat(api): support native server batch overloads Sep 2, 2026
@redox
redox merged commit eaaa8c4 into altertable-ai:main Sep 4, 2026
10 checks passed
@albert20260301
albert20260301 deleted the update/specs-v0.13.0 branch September 4, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants