Repository navigation
test(test-app): add a Settle lab of single- and multi-stage effects - #4638
Conversation
Deep link agent-device-test-app://settle-lab. Each button starts one effect with a known final screen, so a settled tree can be checked against it: an in-place counter, results 500 and 800 ms after an immediate Run N acknowledgement, a 750 ms fading overlay, two-stage transitions with and without a spinner, and a toast that precedes navigation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Size Report
Startup median (7 runs, lower is better):
|
Apex Sentinel · 🟠 Request changesSince the last review: 1 new · 0 still open · 1 no longer raised (1 marked fixed) 1 finding(s): 1 major. Required fixes
🟠 Major (1)
Reviewed with this repository's own Sentinel configuration ( 💬 Talking to SentinelIn a finding's thread, reply with:
On this conversation, comment Earlier reviewsReview of
|
| Where | Finding |
|---|---|
examples/test-app/src/screens/SettleLabScreen.tsx:31 |
Tapping another button mid-run still strands the spinner, toast or overlay in the tree |
Reviewed with this repository's own Sentinel configuration (daae2ee138ca).
Review of eb3f024b · 17.11.2026 14:08 UTC
Apex Sentinel · ✅ Approve
Since the last review: 1 new · 1 still open · 1 no longer raised (1 marked fixed)
2 finding(s): 2 minor.
🟡 Minor (2)
| Where | Finding |
|---|---|
examples/test-app/src/screens/SettleLabScreen.tsx:31 |
Tapping a different button mid-run leaves the spinner, toast or overlay in the tree forever |
examples/test-app/src/screens/SettleLabScreen.tsx:71 |
🆕 Overlapping overlay runs stack two timing animations on one Animated.Value |
Reviewed with this repository's own Sentinel configuration (4b692e53014a).
Review of 5830b7b1 · 17.11.2026 13:59 UTC
Apex Sentinel · ✅ Approve
2 finding(s): 2 minor.
🟡 Minor (2)
| Where | Finding |
|---|---|
examples/test-app/src/screens/SettleLabScreen.tsx:65 |
Overlapping overlay runs remove the panel early and publish the older run id |
examples/test-app/src/screens/SettleLabScreen.tsx:82 |
A second two-stage tap clears the first stage early and reports a stale completion |
1 finding below minor hidden (user_settings.min_severity).
Reviewed with this repository's own Sentinel configuration (27a4e409dae6).
There was a problem hiding this comment.
Apex Sentinel: 2 new findings on 5830b7b. The verdict and the full list are in the summary comment.
An older run's timer or fade completion cleared a newer run's state and published its stale id when taps overlapped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on eb3f024. The verdict and the full list are in the summary comment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e starts The latest-run guard drops a stale completion, so a run interrupted by another tap left its spinner, toast or overlay on screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on fdc2415. The verdict and the full list are in the summary comment.
|
The code at fdc2415 is ready to merge. Not blocking: The open inline thread on the overlay style (#4638 (comment)) does not apply: the test app pins react-native 0.88.0-rc.0, where The diff only touches |
Summary
This PR adds a test-only Settle lab screen to the fixture app (
agent-device-test-app://settle-lab). It is the regression harness for any future--settlechange. Each button starts one effect with a known final screen, so a settled tree can be checked against the screen a few seconds later:Run Nacknowledgement appears at once, and the result arrives 500 or 800 ms later (acknowledge now, result later).Tab, push, back, sheet and fill cells use the existing Catalog, Settings, Automation and Form screens. Five test-app files change; there are no runtime or contract changes.
Evidence from #4611
Arm A is
origin/mainatfce2fa6247. Arms B, C and D add back-to-back captures with a 25 ms gap. C and D also pass--settle-quiet 200/100. Runs used the iPhone 17 Pro simulator and an API 37 AVD, N=15 per cell, with arm order rotated per round. The host was shared: the 1-minute load at block starts was 16–300.iOS
fillis wrong in every arm, including main, which points to post-check noise.Conclusion: no fixed window or poll cadence beats today's without new wrong settles. Shorter windows settle on acknowledgements and intermediate screens. Fast polling at today's window removes the overshoot that today catches 600–700 ms plateaus with. Transitions need an idle signal.
Validation
pnpm gate fallow: no issues in the 5 changed files.fdc24156e2(lab change only; the evidence runs used the lab as of5830b7b19e).🤖 Generated with Claude Code