testing.TraceEntry ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromtesting.d.tsbyservices/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.
Interface · import type { TraceEntry } from '@holostep-configurators/runtime-client/testing'; · stable · since 2.0.0 · section 24. /testing
One step of an operation through the states of spec section 6.2.
| Member | Kind | Summary |
|---|---|---|
t |
property | Fake clock, ms. |
op |
property | The operation, or null for a frame. |
seq |
property | Its commit, once committed. |
state |
property | The state it entered (spec section 6.2). |
member |
property | The member, by its path, whichever writer calls it (session or a tx): a member of the writer or of a handle it holds as a property is 'session.<path>' ('session.select', 'session.stage.set',… |
detail? |
property | Free text for humans. |
export interface TraceEntry {
readonly t: number;
readonly op: number | null;
readonly seq: number | null;
readonly state: 'called' | 'queued' | 'staged' | 'deferred' | 'settling' | 'preparing' | 'committed' | 'presented' | 'dispatched' | 'finished' | 'rolled-back' | 'superseded' | 'refused' | 'dry-run';
readonly member: string;
readonly detail?: string;
}
| Rule | Result |
|---|---|
| 1. Neutral name | pass: TraceEntry names no product |
| 2. A precedent | not recorded: no ledger row (coverage.json) names this member or its owner |
| 3. Two apps, or labs | not recorded: no ledger row names this member or its owner |
| 4. The cheaper fix first | not recorded per member (Appendix B decides it per need) |