Skip to content

Conversation

@bradhe
Copy link
Contributor

@bradhe bradhe commented Sep 29, 2025

  • New MCP server
  • Introduce a formatter for our Python code
  • Improved targeting for workflow runs
  • Format all the Rust code
  • Update to latest Tower API
  • Bump version to v0.3.31

sammuti and others added 30 commits September 17, 2025 17:09
Introducing black formatting for python code
- Add Towerfile generation from pyproject.toml
- Support working directory parameter for file operations
- Generate valid TOML format (not JSON-like)
- Add parameter manipulation functions for Towerfile updates
- Add MCP server implementation using rmcp abstractions
- Implement core tower operations (apps, secrets, teams, etc.)
- Add proper error handling for run operations
- Support both local and remote tower operations via MCP protocol
- Add OutputSink trait for pluggable output handling
- Improve run completion detection and matching
- Restore error handling and ctrl-c support for remote runs
- Update documentation for new connection methods
- Replace Rust cucumber tests with Python BDD tests using behave
- Add mock API server for isolated testing
- Fix async hanging issues with proper behave async support
- Implement JWT-based authentication for test scenarios
- Add comprehensive test coverage for MCP operations
- Include CI workflow for integration tests
- Switch from fenix to rust-overlay in Nix flake
- Add uv.lock files for Python dependency management
- Update logging configuration to handle setup failures gracefully
- Add MCP and testing dependencies to pyproject.toml
The integration tests were failing because the mock API session endpoint
response was missing required fields that were added in newer API schema
versions. This caused JWT authentication to fail with "UnknownDescribeSessionValue"
errors, preventing local app runs from working in tests.

Changes:
- Add missing required fields to mock API user response (is_confirmed, is_subscribed_to_changelog)
- Add comprehensive documentation and debugging guide in tests/mock-api-server/README.md
- Enhance test error messages to point to specific debugging steps
- Add detailed comments in mock API explaining schema dependencies
- Fix workflow file to use --color flag for better CI output

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…use it + return empty vector for sources in towerfile gen
* Initial pass at environments management

* chore: List environments as a table

* Integrate feedback from @copilot

---------

Co-authored-by: Ben Lovell <ben.j.lovell@gmail.com>
…kages-for-example-apps

TOW-916 feat: create a tower package command
…l write

- Remove do_run_local_capture and do_run_remote_capture functions
- Remove OutputSink trait and ChannelSink implementations
- Remove monitor_output_capture function
- Simplify monitor_output to use output functions directly
- Remove sink parameter from do_follow_run_impl and handle_run_completion
- Improve error propagation in do_run_remote (use err.into() instead of tower_error)
- Update MCP functions to use regular run functions instead of capture variants
bradhe and others added 10 commits September 30, 2025 12:28
When we see a null value for a required field, the generated code will
now instruct serde to give it the default value (e.g. "" for string, []
for array, etc). This may be nonsense, of course, but it's less likely
to be nonsense than "null", and makes the CLI a whole lot less brittle
to bugs on the backend - a single null value shouldn't kill the rest of
a response!
Copy link
Contributor

@socksy socksy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bradhe bradhe merged commit b90c29a into main Sep 30, 2025
18 checks passed
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.

5 participants