You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/runtime/README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,14 @@ persistent public `BlobHandle`.
67
67
68
68
The public SDK adapter maps `NonExistingFile` to `Result::ErrorFileNotFound` and `IoFailure` to `Result::ErrorIoFailure`. Text-mode loads append a null terminator after successful reads; binary loads preserve the exact file bytes.
69
69
70
+
## Diagnostics And Logging
71
+
72
+
Runtime probe, decode, and file-load failures record private diagnostics and may emit one callback log event through the registered logging callback. Callback messages use stable internal `ASSET_*` prefixes, but diagnostic storage and runtime error details remain private implementation state.
73
+
74
+
Decode-from-file wrappers own file-load diagnostics only. Once bytes are wrapped in a temporary blob, `DecodeImageBlob` and `DecodeMeshBlob` own probe/decode diagnostics so a single public failure path does not log the same failure twice.
75
+
76
+
This story keeps cleanup scope limited to cleanup that occurs inside failed file/decode wrapper flows. Explicit invalid cleanup API calls such as failed `ReleaseBlob`, `ReleaseImage`, `ReleaseMesh`, and repeated `DestroyContext` validation remain non-logging paths unless a later story expands that behavior.
77
+
70
78
## Deferred Scope
71
79
72
80
This runtime layer is intentionally foundational. The following work is deferred to later stories:
0 commit comments