Skip to content

Cloudflare-first ScreenNote rebuild — isolated QA - #10

Draft
buttercode101 wants to merge 607 commits into
mainfrom
rebuild/cloudflare-web-first
Draft

buttercode101 wants to merge 607 commits into
mainfrom
rebuild/cloudflare-web-first

Conversation

@buttercode101

@buttercode101 buttercode101 commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Draft QA lane for the Cloudflare-first ScreenNote rebuild. This PR remains intentionally unmerged and draft; Vercel production is unchanged.

Verified on the current branch

  • Unit: 63 tests passed.
  • Browser E2E: 15 Playwright tests passed, including a real Chromium MediaRecorder capture using a generated live canvas stream; record → pause → resume → finish → IndexedDB save → playable preview.
  • Performance budget: JavaScript 114.6/130 KiB gzip and 366.9/400 KiB raw; CSS 13.3/16 KiB gzip and 73.1/80 KiB raw.
  • Responsive/accessibility automation: 13 viewport widths in light/dark themes, short-landscape layouts, 320px high-DPI, text contrast assertions, named controls and focus checks.
  • Cloudflare development Worker: version 119 receives 100% of dev traffic. Live D1/R2 API acceptance passed guest sessions, resumable upload, password gates/lockout, range media, comments/replies/edit/delete/resolve, rate limits, review/reactions, revocation and deletion.
  • Separate live guest browser: creator import/preview/publish, password unlock, guest reaction/comment/review, creator moderation/review packet and revocation passed at 320px.
  • Android API 35 emulator: phone report 5 tests, 0 failures, 0 skips. A real native screen capture ran for 65.343 seconds and produced a valid MP4. The native MP4 was imported into the PWA library with all network access disabled; preview metadata became ready (6.141s, readyState 4) and the native file endpoint returned byte-identical content. Phone/tablet/landscape UI acceptance passed; the two native-capture tests are intentionally skipped on tablet and landscape.
  • The Android CI gate now fails if the phone's native recording/import tests are skipped.

What is deployed vs. not

  • Deployed: isolated development Worker at https://screennote-dev.buttercoder-dev.workers.dev (Cloudflare version 119, 100% dev traffic).
  • Not deployed: production Cloudflare domain/cutover. Existing Vercel production and production data remain untouched.
  • Built: internal Android debug APK, package za.co.buttercode.screennote, version 0.5.0-internal, versionCode 4. It targets the dev Worker and is not a Play Store release.
  • Not completed: production signing, Play Console submission, physical-device acceptance, or production data migration.

Native/PWA boundaries

  • The native Android shell uses Android MediaProjection for screen capture and the bundled PWA shell for offline local import/review.
  • Native capture supports screen-only or screen + microphone. Android system audio and the camera bubble are explicitly unavailable in this native recorder; the UI discloses this.
  • Browser PWA capture remains subject to each browser's display-capture and permission support. The Android APK is the supported native capture path.
  • No automatic speech-to-text or generated transcript is claimed; transcript search uses owner-supplied captions.

Remaining release gates

  1. Install and test the internal APK on a physical Android device, including real microphone permission and interrupted capture.
  2. Manual screen-reader/reduced-motion review, browser zoom and full component/state accessibility review.
  3. Independent security and UGC moderation/reporting review.
  4. Recovery-key restore in a separate browser, real elapsed-time expiry, upload interruption/concurrency/quota and storage-abuse testing.
  5. Full Vercel-vs-Cloudflare capability/output parity, including media/audio/encoded markup, legacy share compatibility and migration/rollback rehearsal.
  6. Production domain, production D1/R2 resources, signing key, privacy/data-safety review and explicit cutover approval.

The dedicated CLOUDFLARE_D1_API_TOKEN is not configured. No schema migration was needed for the verified development deployment; the workflow now checks migration paths safely and blocks schema-changing pushes when the dedicated token is absent.

Decision: keep this PR draft and unmerged. The development candidate has substantial end-to-end evidence, but physical-device and production-release gates remain open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant