Repository navigation
Conversation
Driving an app on a device or emulator needed MCP.startSocketServer in the app's own code. With `codename1.arg.mcp.devicePort=N` the builders' shared start invocation (iOS, Android, macOS) starts the socket server on N before the app's first start(), once, and only where MCP.isSocketServerAllowedOnThisBuild() holds, so a release build never serves it. The hint is declared on @OnDeviceDebug as mcpDevicePort and documented in the MCP chapter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SZMcbmyfhDCp3DQ3U1YvWh
|
Compared 301 screenshots: 301 matched. Native Android coverage
✅ Native Android screenshot tests passed. Native Android coverage
Benchmark ResultsDetailed Performance Metrics
|
|
Developer Guide build artifacts are available for download from this workflow run:
Developer Guide quality checks: |
Cloudflare Preview
|
Native fidelity (Android, Material 3)54 pairs compared -- median 95.6%, worst 91.3% ( Distribution --
Geometry vs native (bbox offset / size ratio / center offset / corner radius) -- gated separately from the visual score
Side-by-side comparisons (worst first)
|
✅ Continuous Quality ReportTest & Coverage
Static Analysis
Generated automatically by the PR CI workflow. |
|
Compared 403 screenshots: 403 matched. |
|
Compared 316 screenshots: 316 matched. Benchmark ResultsDetailed Performance Metrics
ParparVM vs HotSpot (JDK 25): Windows x64Runner CPU: AMD64 Family 26 Model 2 Stepping 1, AuthenticAMD (baseline Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in
Result: no regression |
|
Compared 316 screenshots: 316 matched. Benchmark ResultsDetailed Performance Metrics
ParparVM vs HotSpot (JDK 25): Windows arm64Runner CPU: ARMv8 (64-bit) Family 8 Model D49 Revision 0, MICROSOFT CORPORATION (baseline Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in
Result: no regression |
|
Compared 316 screenshots: 316 matched. Benchmark ResultsDetailed Performance Metrics
|
|
Compared 316 screenshots: 316 matched. ParparVM vs HotSpot (JDK 25): Linux x64Runner CPU: Intel(R) Xeon(R) 6975P-C (baseline Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in
Result: no regression |
|
Compared 316 screenshots: 316 matched. ParparVM vs HotSpot (JDK 25): Linux arm64Runner CPU: Neoverse-N2 (baseline Ratios are ParparVM / JDK 25: below 1.00x ParparVM is faster (time) or smaller (RAM). Median of 5 interleaved, paired rounds; every run's output was verified. A ratio more than 20% (time) / 25% (RAM) above its baseline in
Result: no regression |
|
Compared 299 screenshots: 299 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
















































































































Summary
Driving an app on a device or emulator needed
MCP.startSocketServerin the app's own code. Withcodename1.arg.mcp.devicePort=N, the builders start it themselves.Executor.createStartInvocation(shared by the iOS, Android and macOS builders) prepends a guarded call before the app'sstart(). It runs only when the server is not already running (start() runs again on resume) andMCP.isSocketServerAllowedOnThisBuild()holds, so a release build never serves it. A start failure is logged, not thrown.@OnDeviceDebugasmcpDevicePort, platformgeneral, with a value pattern. The MCP class doc said there was no build hint; it now names this one. The MCP chapter documents it.Test plan
ExecutorMcpDevicePortTestscripts/check-build-hint-catalog.shandscripts/gen-build-hint-annotations.sh --checkadb forward tcp:8765 tcp:8765andSim.java snapshotLocal gate:
scripts/pre-push-gates.sh --fullcould not complete in the container this was written in. Source gates and cast semantics passed. The Maven static-analysis step stopped before reaching this code, because the proxy refused the codenameone-skins archive download. The blog Mermaid step failed because Hugo was not installed. So SpotBugs, PMD, Checkstyle, the build hint catalog and the unit tests below have not run locally: CI is their first run.Generated by Claude Code