feat: add --skip-local-tests flag to deploy command#112
Merged
Conversation
Add a new --skip-local-tests flag to the xpander deploy command that allows users to skip local Docker container testing and proceed directly to deployment. Changes: - Add --skip-local-tests option to deploy command (src/commands/deploy.ts) - Update deployAgent function to accept skipLocalTests parameter (src/commands/agent/interactive/deploy.ts) - Modify buildAndSaveDockerImage to conditionally skip tests when flag is set (src/utils/custom_agents_utils/docker.ts) Usage: xpander deploy --skip-local-tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
dudutwizer
force-pushed
the
dt-20251105-skip-local-tests
branch
from
November 6, 2025 01:04
0a2794a to
860cf4e
Compare
dudutwizer
pushed a commit
that referenced
this pull request
Nov 6, 2025
The previous PR #112 added the flag to the top-level deploy command but missed the agent subcommand path. This adds the missing flag to `xpander agent deploy`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
Summary
--skip-local-testsflag toxpander deploycommand to allow skipping local Docker container testsChanges
--skip-local-testsoption to deploy command in src/commands/deploy.ts:17deployAgentfunction to acceptskipLocalTestsparameter in src/commands/agent/interactive/deploy.ts:19buildAndSaveDockerImageto conditionally skip tests when flag is set in src/utils/custom_agents_utils/docker.ts:74@types/js-yamldependency for TypeScript compatibilityUsage
Test plan
🤖 Generated with Claude Code