Skip to content

test(perf): add physical profile smoke prototype and device runbook - #23414

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/perf-gate-device
Oct 24, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/perf-gate-device

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Summary

The seeded host perf harness uses debug-only credential trust and checkout file paths, so switching its command to profile does not produce a supported physical-device benchmark. Add an offline device-plan/collection tool plus a standalone profile-safe shell smoke using the existing integration driver. The smoke captures real engine build/raster samples only after a separately approved physical run; it makes no seeded-scenario or production-shell performance claim.

The tool never runs Flutter, accesses a device, or submits cloud tests. It validates exact physical mobile inventory/profile configuration, prints the future command with a unique run ID, and rejects failed, stale, incomplete, debug, simulator/host or mismatched evidence. The driver can export reportData to a unique host output directory while preserving its existing failure-report behavior.

Device route and approval boundary

  • Prefer an existing USB fleet phone: $0 incremental vendor cost. Read-only 2026-10-23 inventory: m5's iPhone 15 Pro Max is unavailable; reachable m1/m4 build hosts list no physical iOS phone; local ADB is empty. m4 Air inventory remains unknown while offline.
  • Official dated pricing/support links and alternatives are in the device README section. Test Lab lists $5/physical device-hour beyond free allowance; a ro-dev catalog request returned 403, so no model/capacity is claimed. Codemagic adds build minutes and does not remove native packaging/report-export prerequisites.
  • David must nominate the specific device/host and approve dev-app installation/launch before execution. Cloud auth/project and spend need separate scoped approval. No device build/install/launch, paid test, production API/data, credential/IAM write or workflow change was performed.

Product invariants affected

  • INV-PERF-1 — distinguish host/debug evidence from physical/profile engine samples; no app/lib behavior or production trust change.

Failure class (fixes)

None: prototype tooling and documentation, no fix commit or production behavior change.

Validation

  • Seven offline Python contract tests pass, including simulator/debug/prod rejection, stale output/run mismatch, failed/incomplete data, nonfinite/missing raster samples, and CLI collection without subprocess/device access.
  • Focused Dart analysis of the standalone fixture and driver: no issues. Pinned Dart formatting passes.
  • scripts/pr-preflight --suggest completed; --pr-body-file passed all 14 selected checks. make preflight with the supplied body passed all 14 checks. Initial missing internal changelog fragment was corrected using the documented kind:none fragment.
  • Physical/profile compilation and execution intentionally unverified pending David's specific device approval and parent's build serialization. This is a prototype PR, not device acceptance.

View guided diff Turn on auto-fix

🤖 Generated with Claude Code

Add an offline device plan and report collector, an isolated profile-safe shell fixture, and dated device-route/cost documentation. Keep seeded host scenarios explicitly unsupported in profile and require specific device approval before execution.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 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-10-23T15:08:38.312442Z 9c8af85 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.

@Git-on-my-level
Git-on-my-level merged commit ecec980 into main Oct 24, 2026
54 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/perf-gate-device branch October 24, 2026 10:51
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