Repository navigation
test: thread computers e2e against built wheel - #57
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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.
Review on ArchCode
Problem and intent
tsk_00P3MwVmlsfLC0KnJpssNu("Published TypeScript and Python SDKs include thread computers") needs proof that the publishedarchastro-sdk(0.11.0, regenerated in chore(sdk): regenerate from openapi@main #55) carries the thread-computer and computer-share methods.threads.computers.create/listoragent_computers.updateover HTTP, and the CI wheel step only imports the wheel.What changed
tests/test_thread_computers_e2e.py→test_published_sdk_creates_and_lists_thread_computers_and_updates_computer_shares.http.server.ThreadingHTTPServerloopback with canned responses; records each request.PlatformClient.with_token(api_key, access_token, base_url)→threads.computers.create(POST, 201) →threads.computers.list(GET, 200) →agent_computers.update(..., {"acl": {"grants": []}})(PATCH, 204).AgentComputer, listdata,Noneon 204), the method/path/JSON body sequence, andx-archastro-api-key+Authorization: Bearer+ JSON content type on every request..github/workflows/ci.yml"Build and import wheel" step: installs the hash-pinned dev group (uv export --locked --only-group dev) into.wheel-smoke, assertsarchastro.platformloads fromsite-packages, then runs the new test against the built wheel.src/).Scope / risk / user impact
Testing
tests/test_thread_computers_e2e.py::test_published_sdk_creates_and_lists_thread_computers_and_updates_computer_shares.acl.add/acl.remove.uv run pytest tests/test_thread_computers_e2e.py: 1 passed;ruff check/ruff format --checkclean.archastro-sdk==0.11.0in fresh venvs (module path confirmed insite-packages): Python 3.11, 3.12, 3.13 → 1 passed each.ApiError: not_found.CI / Lint + Test (Python 3.11|3.12|3.13)→ "Build and import wheel" (PR + push to main).🤖 Generated with Claude Code