Repository navigation
refactor(reasons): declare the platform-android reasons in ReasonTable rows - #4928
Conversation
…e rows Moves the 43 published `error.details.reason` spellings owned by the Android platform into 18 `ReasonTable` rows beside the code that classifies each failure, and reads every raise site through `TABLE.member.reason`. Wire spellings stay byte-for-byte. Three values move out of plain `contracts` constants into the table their producers and the replay boundary already load; `setting_app_not_package` moves from a contracts constant to the Android settings owner that raises it. Co-Authored-By: Claude <noreply@anthropic.com>
Size Report
Startup median (7 runs, lower is better):
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Apex Sentinel: 1 new finding on 0692887. The verdict and the full list are in the summary comment.
|
This PR is ready at 0692887, and no conflicts are known. CI is green; the three cancelled 'Body rules' runs were superseded, and no failing job needs attribution. Not blocking, and each can be taken or left: the two kill rows in |
…android-reasons * origin/main: docs(commands): generate blocks for every public command and halve hand-written prose (#4919) fix(depgraph): budget the blast-radius query, not the whole-tree scan (#4920) refactor: remove dead exports and stale fallow exemptions (#4931) refactor(reasons): declare the R6a reasons in ReasonTable rows (#4938) # Conflicts: # website/docs/docs/error-reasons.md
This comment has been minimized.
This comment has been minimized.
…ive helper install states from their table Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Applied the review notes in cd9f2ad. The two Maestro kill rows now live in a module-private table beside the kill route, owned by replay and listed under test, so the close page no longer shows them. The input-budget table moved above admitInputTimeoutMs so its JSDoc attaches to the function again. InstalledAndroidHelperState now derives its failure spellings from the install-state table, which moved into helper-artifacts to avoid an import cycle. That table's comment states that current is never published, and the thread is answered and resolved. The regenerated reasons page is included. |
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
|
The code in cd9f2ad looks good, and the install-state gap from the earlier review of 0692887 is fixed. |
* origin/main: refactor(reasons): declare the platform-android reasons in ReasonTable rows (#4928) # Conflicts: # packages/replay-port/src/daemon-port/__tests__/session-replay-runtime-failure-response.test.ts # packages/replay-port/src/daemon-port/session-replay-runtime-failure-response.ts # website/docs/docs/error-reasons.md
…n-client-reasons * origin/main: refactor(reasons): declare the platform-android reasons in ReasonTable rows (#4928) # Conflicts: # website/docs/docs/error-reasons.md
Summary
Declares the 43 published
error.details.reasonspellings owned bypackages/platform-androidasReasonTablerows beside the code that classifies each failure, and reads every raise site throughTABLE.member.reason. Wire spellings stay byte-for-byte, so no client, doc or test fixture changes. The tables sit in modules their producers already load, so no new module joins an eager import closure. The four generic helper-install states keep their spelling, so nothing published changes. Scope expands intocontractsandreplay-port: four values leave plain constants for a marked table, andsetting_app_not_packagemoves to the Android settings owner that raises it. Import edits only.Value
keyboard_dismiss_unavailable)Before / after
No observable change: every wire spelling, message, hint and details key is unchanged; only where each literal is declared moved. The docs page gains 119 documented rows.
Validation
Tested at
0692887a3b:pnpm check:affected --run,pnpm format,tsc --noEmit,pnpm lint,pnpm check:layering(R89 holds: 173 files against the merge-base's 185),pnpm generate:reasons,reason-tables.test.ts, and the 1,529 platform-android unit tests. CI owns full coverage, device lanes and native builds.🤖 Generated with Claude Code