Skip to content

Commit 37eb8dc

Browse files
committed
chore: rename tower_run to tower_run_local
cos that's what it is, innit
1 parent 0e4dc51 commit 37eb8dc

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎crates/tower-cmd/src/mcp.rs‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ impl TowerService {
287287
}
288288

289289
#[tool(description = "Run your app locally using the local Towerfile and source files. Prerequisites: Create a Towerfile first using tower_file_generate or tower_file_update")]
290-
async fn tower_run(&self) -> Result<CallToolResult, McpError> {
290+
async fn tower_run_local(&self) -> Result<CallToolResult, McpError> {
291291
use std::collections::HashMap;
292292
use std::path::PathBuf;
293293

@@ -426,7 +426,7 @@ impl TowerService {
426426
- tower_file_validate: Verify Towerfile is valid
427427
428428
2. LOCAL DEVELOPMENT & TESTING:
429-
- tower_run: Run your app locally to test functionality
429+
- tower_run_local: Run your app locally to test functionality
430430
431431
3. CLOUD DEPLOYMENT (for remote execution):
432432
- tower_apps_create: Create app on Tower cloud
@@ -442,7 +442,9 @@ impl TowerService {
442442
- tower_teams_list/switch: Manage team contexts
443443
- tower_secrets_create/list: Manage application secrets
444444
445-
Quick Start: tower_file_generate → tower_run (test locally) → tower_apps_create → tower_deploy → tower_run_remote"#;
445+
Quick Start: tower_file_generate → tower_run (test locally) → tower_apps_create → tower_deploy → tower_run_remote
446+
447+
Consider taking database username/password/url and making them into secrets to be accessed in app code"#;
446448

447449
Self::text_success(workflow.to_string())
448450
}

‎tests/integration/features/mcp_app_management.feature‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Feature: MCP App Management
3434
When I call tower_file_read via MCP
3535
Then I should receive the parsed Towerfile configuration
3636

37-
Scenario: Run simple application successfully
37+
Scenario: Run simple application successfully locally
3838
Given I have a simple hello world application
39-
When I call tower_run via MCP
39+
When I call tower_run_local via MCP
4040
Then I should receive a response about the run
4141

4242
Scenario: Attempt remote run without deployed app
@@ -47,6 +47,6 @@ Feature: MCP App Management
4747

4848
Scenario: Test timeout mechanism with guaranteed slow application
4949
Given I have a long-running application
50-
When I call tower_run via MCP
50+
When I call tower_run_local via MCP
5151
Then I should receive a timeout message
5252
And the MCP server should remain responsive

0 commit comments

Comments
 (0)