Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/commands/cloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,6 @@ export const cloudCommand = defineCommand({
collectRepeatedFlag(rawArgs, ['--metadata', '-m']),
false,
);
const mitmHost = args.mitmHost as string | undefined;
const mitmPath = args.mitmPath as string | undefined;
const moropoApiKey = args['moropo-v1-api-key'] as string | undefined;
const name = args.name as string | undefined;
const orientation = validateEnum(
Expand Down Expand Up @@ -286,10 +284,6 @@ export const cloudCommand = defineCommand({
);
}

if (mitmPath && !mitmHost) {
throw new CliError('--mitmPath requires --mitmHost to be set');
}

if (jsonFileName && !jsonFileFlag) {
throw new CliError('--json-file-name requires --json-file');
}
Expand Down Expand Up @@ -817,8 +811,6 @@ export const cloudCommand = defineCommand({
logger: (m: string) => out(m),
maestroVersion: resolvedMaestroVersion,
metadata: mergedMetadata,
mitmHost,
mitmPath,
name,
orientation,
raw: [],
Expand Down
10 changes: 0 additions & 10 deletions src/config/flags/environment.flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@ export const environmentFlags = {
description:
'Arbitrary key-value metadata to include with your test run (format: key=value, may be repeated)',
},
mitmHost: {
type: 'string',
description:
'used for mitmproxy support, enterprise only, contact support if interested',
},
mitmPath: {
type: 'string',
description:
'used for mitmproxy support, enterprise only, contact support if interested',
},
'moropo-v1-api-key': {
type: 'string',
description: 'API key for Moropo v1 integration',
Expand Down
2 changes: 1 addition & 1 deletion src/mcp/tools/run-cloud-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const sleep = (ms: number) =>
* `waitTimeoutSeconds`.
*
* Mirrors the `dcd cloud` command's submission path but headless: no Expo URL
* download, mitm, GitHub metadata, or JSON-file output. Use the CLI for those.
* download, GitHub metadata, or JSON-file output. Use the CLI for those.
*/
export function registerRunCloudTest(server: McpServer): void {
server.registerTool(
Expand Down
6 changes: 0 additions & 6 deletions src/services/test-submission.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ export interface TestSubmissionConfig {
maestroChromeOnboarding?: boolean;
maestroVersion: string;
metadata?: string[];
mitmHost?: string;
mitmPath?: string;
name?: string;
orientation?: string;
raw?: unknown;
Expand Down Expand Up @@ -93,8 +91,6 @@ export class TestSubmissionService {
maestroVersion,
deviceLocale,
orientation,
mitmHost,
mitmPath,
retry,
continueOnFailure = true,
report,
Expand Down Expand Up @@ -283,8 +279,6 @@ export class TestSubmissionService {
deviceLocale,
googlePlay,
maestroVersion,
mitmHost,
mitmPath,
orientation,
raw: JSON.stringify(raw),
report,
Expand Down
Loading