budget-app/docs/WORKSPACE_VALIDATION.md

3.1 KiB

Historical revision record. For the current Cargo-only pipeline and test locations, see Readme, TESTING.md and GRADLE_FREE_VALIDATION.md.

Historical mixed-root workspace validation — 26 October 2026

These checks preceded the correction to a standalone virtual workspace. Current results are in STANDALONE_VALIDATION.md.

Final executed results

  • cargo test --workspace --locked: 100 tests passed (95 Budget, 1 application facade, 4 platform/permission tests), plus empty binary/doc-test suites.
  • cargo check --locked -p budget-capture -p budget-capture --target aarch64-linux-android: passed using the explicit Makepad Android state provider.
  • cargo build --locked: passed, including native linking.
  • cargo run --locked: initialized the actual Budget application and OpenGL renderer under Xvfb; remained alive for the 15-second smoke window. Existing shader warnings and unavailable PulseAudio were logged without stopping startup.
  • :capture-platform:testDebugUnitTest: 12 Java extraction tests passed.
  • :app:assembleDebug in validation harness mode: passed with the crate-owned Android library.
  • Harness manifest/model inspection: no Internet permission; bundled OCR libraries/model assets present.
  • Integrated host/native-library Java and manifest/resource compilation against Makepad 2d732a5aa1e7648b1d5751140f5842ac99b03f79: passed.
  • 4 Python packaging/architecture tests passed, including workspace membership, explicit Makepad context selection, single ownership of native sources, permission/export protections, staging and activity-name preservation.
  • Cargo.lock regenerated inside the isolated copy and exported only after successful Rust validation.
  • Temporary Rust and Android SDK/JDK/Gradle environments were removed. These gates were run sequentially on the limited-memory sandbox.

The first Android Rust check caught an overly constrained JNI Activity lifetime; it was corrected and rerun. An earlier simultaneous Android/Rust test attempt hit a Gradle worker timeout under load. The final sequential run, with bounded Gradle/test heaps, completed successfully. The correct Makepad context provider was also selected explicitly rather than relying on SMS-like transitive feature unification.

Limits

The Linux launch is a startup smoke test, not interactive UI verification. Android Rust checking is not native APK linking/device execution. The harness contains no real Budget native engine, and the integrated Java fixture's native payload is intentionally non-runnable. No Android overlay, permission, projection, OCR-accuracy, signing/upgrade, or persistence behavior has been demonstrated on a physical device/emulator here.

The iOS Rust path explicitly reports unsupported for floating cross-app capture. The optional imported-image Swift Vision helper has not been compiled with Xcode, wired into an iOS host/share extension, or tested on iOS. It is not an iOS Control Center tile or floating-overlay implementation.

See ANDROID_CAPTURE.md for the real APK build/device checklist, and WORKSPACE_ARCHITECTURE.md for the source/permission boundaries.