refactor(cloud): remove mitmproxy flags - #102
Merged
Merged
Conversation
Drops the enterprise-only --mitmHost / --mitmPath flags and everything downstream of them: - environment.flags.ts: both flag definitions - cloud.ts: the arg reads and the "--mitmPath requires --mitmHost" check - test-submission.service.ts: TestSubmissionConfig fields, destructuring, and the two configPayload keys - run-cloud-test.ts: the doc comment listing what the MCP tool omits The submitted config payload is unchanged for existing runs: both keys were undefined when the flags were unset, and JSON.stringify drops undefined, so submissions that never passed them stay byte-identical. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
finalerock44
added a commit
that referenced
this pull request
Aug 7, 2026
Promote from dev to stable: * feat: client-side envelope encryption of app binaries, flow zips and env vars (#94, #101) — opt-in via `--encrypt` / `DCD_ENCRYPT_BINARIES=1` and off by default, so uploads stay byte-identical unless asked for. Per-upload DEK, chunked AES-256-GCM container, X25519 sealed-box DEK wrap; encrypted binaries dedup on the plaintext hash so re-uploads still hit the cache. * feat(artifacts): prefer server-assembled bundle delivery for downloads (#93) — falls back to the inline endpoint on 501, so it degrades cleanly against an API that has not shipped bundles. * feat(device): add Android API level 37 (Android 17) (#107) — the flag enum accepts 37, but the device/API-level pair is validated against the compatibility matrix the *target* API serves, and production still tops out at 36, so 37 is refused client-side until the platform gate flips. * refactor(cloud): remove the enterprise-only --mitmHost / --mitmPath flags (#102). The submitted config payload for runs that never passed them is byte-identical. * fix(deps) / deps: clear every outstanding pnpm audit advisory (#89, #92, #95, #100, #106), bump chalk 5 -> 6, and regenerate the schema types from the current API swagger (#105). No platform prerequisite this time: the envelope decrypt half (dcd api + simulators) is already on production with both env KEK public keys pinned, bundle delivery has a 501 fallback, and API 37 is gated server-side. Carries only the source delta — package.json version, CHANGELOG.md and the release-please manifests stay as release-please left them on production. Release-As: 5.3.0
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.
Removes the enterprise-only
--mitmHost/--mitmPathflags and everything downstream of them.Changes
src/config/flags/environment.flags.ts— both flag definitions.src/commands/cloud.ts— the two arg reads and the--mitmPath requires --mitmHostvalidation.src/services/test-submission.service.ts— theTestSubmissionConfigfields, their destructuring, and the twoconfigPayloadkeys.src/mcp/tools/run-cloud-test.ts— dropsmitmfrom the doc comment listing what the MCP tool doesn't do.No test or doc referenced these flags; no
mitmstring remains in the repo.Wire compatibility
The submitted
configpayload is unchanged for existing runs: both keys wereundefinedwhen the flags were unset, andJSON.stringifydrops undefined keys — so submissions that never passed the flags produce byte-identical fields.Back-compat note
Citty doesn't reject unknown flags, so an existing invocation passing
--mitmHost=…will now be silently ignored rather than erroring — it keeps running, but stops proxying. If we'd rather it fail loudly, a follow-up can add an explicit "flag removed" error for those two names.Titled
refactor(patch bump) rather than carrying a!: perCLAUDE.md, a breaking marker on 5.x means a real major bump, which seems disproportionate for retiring an enterprise-only flag. Retitle if you want the major.Verification
pnpm typecheck— passes.pnpm lint— 0 errors (32 pre-existing unused-eslint-disable warnings, all in untouched files).🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.