Skip to content

OPE-248: Store Screenshot Mode #528

Closed

Description

@ivanfenenko

Generate raw App Store and Google Play UI screenshots from deterministic fixture state on real screens, captured on simulator/emulator with device chrome, for iPhone (6.9"), Android phone (Pixel 10 form factor, 1080×2424; exceeds Play's 2:1 raw-upload rule, so it is framed downstream and the orchestrator only warns), Android 7" tablet (1200×1920), and Android 10" tablet (1600×2560), light and dark.

Scenes: home, chat-code, chat-permission, changes, settings.

Design (changed from the original plan): instead of fake repositories on each platform, a zero-dependency Node fixture server (scripts/store-screenshots/fixture-server.mjs, opencode v2 /api/*, SSE heartbeats) feeds the unmodified apps; a DEBUG-only launch hook (iOS OPENCODE_STORE_SERVER_URL, Android Hilt StoreScreenshotEntryPoint used from the instrumented test) seeds the Connection Profile. npm run store:screenshots orchestrates simulators, store AVDs, SystemUI demo mode, XCUITest / UiAutomator capture and PNG dimension validation.

Done on branch feature/ope-248-store-screenshot-mode (commit d38159c): 40/40 PNGs OK in a single npm run store:screenshots --headless run.

Remaining:

  • Optional workflow_dispatch GitHub Actions workflow (macOS runner for iOS, KVM runner for the three AVDs)
  • v1 protocol fixture (server currently answers v2 only; app code is unchanged and still supports both)

Known gap: Android has no adaptive tablet layout; tablet screenshots show the phone layout at tablet width. Android status bar runs with wifi off (Android 14+ demo mode duplicates the wifi glyph), so it shows clock + battery only.


Imported from Linear OPE-248. Linear status: Done. Priority: Medium. Created 2026-09-14. Completed 2026-09-15.
Related: OPE-252, OPE-251.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    enhancement
    shared
    priority: medium
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementpriority: mediumshared

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions