Skip to content

fix(harness): scope local launch proof to smoke test - #175

Merged
altaywtf merged 2 commits into
mainfrom
fix/local-launch-proof-scope
Sep 20, 2026
Merged

altaywtf merged 2 commits into
mainfrom
fix/local-launch-proof-scope

Conversation

@altaywtf

Copy link
Copy Markdown
Member

Local launch proof previously ran every instrumentation suite, including opt-in feature scenarios and the separately scheduled OAuth regression. Select LaunchSmokeTest explicitly for both mobile and TV while retaining the named XML validator, render-only retry, and emulator lifecycle checks.

The fake-SDK regression fails without the selector and passes with it. Local verify, :buildSrc:test, and both debug flavor assembles passed. Full API 37 proof remains unavailable: the existing devbox emulator segfaulted during boot before app installation; its owned process and ephemeral AVD were cleaned up.

Copilot AI lite review requested due to automatic review settings September 20, 2026 14:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-20T14:15:22.831211Z 9221fe9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The updated harness documentation still references connectedAndroidTest terminology that doesn’t match the actual Gradle tasks invoked by prove.sh, which can mislead local proof usage.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 Low severity

Open (1)
What changed in this PR

Scopes local harness “launch proof” instrumentation to the LaunchSmokeTest class so prove.sh (and the Gradle verification tasks it drives) don’t accidentally run opt-in feature suites or the separately scheduled OAuth regression.

Changes:

  • Updates scripts/prove.sh to pass -Pandroid.testInstrumentationRunnerArguments.class=io.putdotio.android.LaunchSmokeTest when running the launch-proof Gradle task.
  • Extends scripts/test-emulator.sh contract tests to assert the launch-proof Gradle boundary is called with the explicit class selector.
  • Updates docs/harness.md to document that local launch proof is limited to LaunchSmokeTest and excludes opt-in suites/OAuth regression.
File Description
scripts/​test-emulator.sh Adds a contract test ensuring the harness invokes Gradle with the LaunchSmokeTest selector and that failures don’t trigger unintended retries/teardown.
scripts/​prove.sh Explicitly selects LaunchSmokeTest for the instrumentation run invoked during local launch proof.
docs/​harness.md Documents the narrowed scope of the launch proof and exclusions (opt-in suites and OAuth regression).

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/harness.md
@altaywtf
altaywtf merged commit 22d9fc6 into main Sep 20, 2026
1 check passed
@altaywtf
altaywtf deleted the fix/local-launch-proof-scope branch September 20, 2026 14:19
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.

2 participants