Repository navigation
Conversation
|
Codex implemented this guest telemetry draft and its tests under Gabe’s direction. Human inspection and review are pending. I am running hosted profiling with the PR-built collector artifact and will add the measured results and limitations here. — Codex |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4685 +/- ##
==========================================
- Coverage 75.15% 75.03% -0.12%
==========================================
Files 1051 1052 +1
Lines 51856 51988 +132
Branches 11318 11342 +24
==========================================
+ Hits 38969 39005 +36
- Misses 11896 11985 +89
- Partials 991 998 +7 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hosted profiling results using this PR's CI artifact from ca0ff85 (artifact build). Collector SHA-256:
Both workflows completed and their owned Simulators were shut down. Raw telemetry, phase/command timings, recording encoder logs and direct process samples are in the workflow artifacts. This validates the standalone collector built by the PR; the deployed-worker upload path still needs a worker containing the change. — Codex |
|
✅ Thank you for adding a changeset! |
|
Final data review found that a slow sibling probe could shift the timestamp used for process CPU deltas. Fixed in bc73c71: record each process probe's own completion timestamp, expose separate aggregate/process timestamps, request SIGKILL on command timeout, and retain error codes/signals. The docs now explicitly acknowledge that OS stalls can exceed the requested timeout. The six-pair workload results above remain pinned to ca0ff85. Recording windows were fast and error-free; the final comparison analysis uses interval-weighted process CPU deltas (means remain 0.032 / 0.026 cores). Cold attribution is excluded. The full Duo matrix has not been rerun after timestamp hardening. The fresh CI artifact from bc73c71 passed a separate hosted collector check: 25 samples, no errors, maximum gap 1.011 s, terminal status This short check received 5 vCPU / 20 GiB; it did not run the Duo workload and cannot serve as a RAM-size performance control. One mistaken smoke launch without the artifact was canceled and excluded. The successful smoke workflow is complete. Nine focused tests, strict standalone compilation and changed-source lint passed again after the fix. Current-head CI is still running. — Codex |
|
Closing at Gabe’s direction: eas-cli changes were outside the intended scope. No worker deployment was performed; the experiments ran standalone collector artifacts on existing hosted workers. — Codex |
Why
Duo profiling showed high guest CPU during recording, but app-only metrics could not attribute Simulator background work or establish collector coverage.
How
Add opt-in guest-wide telemetry (
EAS_DEVICE_RUN_GUEST_METRICS=1) to the existing Simulator metrics lifecycle. Record actual CPU/RAM, process CPU deltas and parentage, memory pressure/compression/swap, available GPU registry data, sampling errors and terminal health in a separate artifact. Request command timeouts, cap file size, and expose probe-specific timestamps; keep collection best effort.The artifact workflow compiles the PR head with source commit and checksum for hosted experiments. Physical host GPU/AVE utilization and co-tenant mapping remain outside this collector.
Test Plan
Codex ran 9 focused tests, standalone strict TypeScript compilation, changed-source lint/format checks, and a local Mac smoke. Node 22/24 CI tests, typecheck, lint, formatting, and GraphQL checks passed at ca0ff85. The timestamp follow-up is bc73c71; Node 24 and GraphQL checks passed, with Node 22 coverage still running.
Two hosted Duo runs used the CI-built collector artifact from ca0ff85 (5 vCPU / 10 GiB each): 786 samples and six recording off/on pairs, with no sampling errors in the comparison windows. Run A reproduced the accessibility stall and captured the collapsed-tab fallback in the runner stack. Detailed measurements are in the PR comment.
Final data review found process timestamps coupled to sibling probes. Codex fixed that in bc73c71 and validated its fresh CI artifact in a separate hosted check: 25 samples, no errors, and 11,874 matching CPU-delta recomputations. The full workload matrix was not rerun after the fix; the original recording-window estimates use interval weighting.
Cold collection in the workload runs was incomplete: 19 / 6 samples had errors, with maximum gaps of 49.9 / 24.0 seconds despite requested two-second command timeouts. Keep this opt-in; cold process attribution and strict probe deadlines need further work. Two earlier packaging failures were excluded. The full deployed-worker upload integration and physical-host GPU counters were not tested. Local package-wide tests hit unrelated/dependency failures; clean CI passed.
Authorship and LLM use
Gabe requested a draft and measurements from its artifacts. Codex implemented and tested this draft, corrected experiment packaging after failed attempts, and analyzed hosted telemetry and stacks. Final data review found timestamp coupling; Codex fixed it and checked the rebuilt artifact on a hosted VM. Human inspection and review pending.