Skip to content

Add starting state#258

Merged
bradhe merged 9 commits into
developfrom
features/add-starting-state
May 13, 2026
Merged

Add starting state#258
bradhe merged 9 commits into
developfrom
features/add-starting-state

Conversation

@bradhe
Copy link
Copy Markdown
Contributor

@bradhe bradhe commented Apr 23, 2026

This PR adds the starting state to our SDK. It's a new state that we're adding to tower to differentiate "running" time from provisioning and/or general setup time. I also did a cargo fmt along the way.

The real changes are in src/tower/_client.py and tests/tower/test_client.py -- the rest are generated code due to the client bumps.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 697afab2-0c02-4290-9f9d-9ef83390fa0e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch features/add-starting-state

Comment @coderabbitai help to get the list of available commands and usage tips.

@bradhe bradhe changed the base branch from main to develop April 23, 2026 08:19
@tower tower deleted a comment from github-actions Bot Apr 23, 2026
@tower tower deleted a comment from github-actions Bot Apr 23, 2026
@tower tower deleted a comment from github-actions Bot Apr 23, 2026
@tower tower deleted a comment from github-actions Bot Apr 23, 2026
bradhe and others added 2 commits April 23, 2026 09:25
Refresh Python and Rust clients from api.tower.dev now that the
starting state has shipped. Adapt tower-cmd call sites: revert
RunParameterInput -> RunParameter (prod kept the original name) and
pass environment: None for the new optional DescribeAppParams field.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bradhe bradhe marked this pull request as ready for review May 2, 2026 07:30
bradhe and others added 2 commits May 8, 2026 09:59
The OpenAPI spec bump to v0.10.24 made `Run.starting_at` and
`RunResults.starting` required (the former is `Option::deserialize`,
so the JSON key must be present even if null). The mock server
wasn't emitting them, so the new generated client deserialization
fell into `UnknownValue` and surfaced as 204/"wasn't able to
understand" errors across the integration suite.
Regenerated CancelRunResponse now has a required cancelled_child_runs
field; mock server was returning only {"run": ...} which broke
deserialization and produced empty CLI output in integration tests.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bradhe bradhe requested a review from socksy May 12, 2026 18:52
@bradhe bradhe merged commit 6f9604c into develop May 13, 2026
30 checks passed
@bradhe bradhe deleted the features/add-starting-state branch May 13, 2026 09:58
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