Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions apple/snapshot-bridge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,19 @@ use non-launch failure codes, so the route falls back without launch re-polling.
At each native fragment boundary, an absent or invalid child count means unknown
completeness and fails closed. Natural leaves above that boundary need no
continuation evidence. Unchanged native dictionaries and child arrays are reused.

## Recovery conformance

`contracts/fixtures/ios-ax-recovery-conformance.json` is the shared, executable
recovery contract for this bridge and the XCTest runner's private AX bridge.
`packages/platform-apple/src/snapshot-source/fixtures/recovery-conformance.m`
replays each case through `captureSnapshotTree`; the runner adapter that
replays the same cases through the XCTest runner's private AX bridge is
pending in [#2428](https://github.com/callstack/agent-device/pull/2428), so at
this revision only the fixture's `host-bridge` column is executed. Each
expectation names the
outcome, the native request accounting, and the delivered tree as a canonical
preorder signature with its retained node count, so a producer that drops,
duplicates, reorders, or re-parents nodes cannot pass as complete. The fixture
records each producer's expectation and documents the intentional differences
(depth vocabulary, ladders, completeness evidence, budgets, hint lifetime).
Loading
Loading