Skip to content

fix: preserve absent simulation report identities - #544

Merged
jBernavaPrah merged 1 commit into
mainfrom
fix/optional-simulation-report-identities
Oct 11, 2026
Merged

jBernavaPrah merged 1 commit into
mainfrom
fix/optional-simulation-report-identities

Conversation

@jBernavaPrah

Copy link
Copy Markdown
Contributor

The simulator's existing internal failure reports serialize an absent scope, supervisor identity or run identity as null.
The shared finite-report type currently requires strings and rejects those reports, hiding their real failure and successful cleanup evidence from typed consumers.

Represent these three observed identities as Option<String>, preserving explicit nulls and present string values.
Runtime admission still requires the identities, and the report's success and cleanup predicate remain unchanged.
No execution or lifecycle policy moves into the SDK.

Validation covers the retained actual null-identity failure packets and actual present-identity success and failure packets, including rich terminal evidence and duplicated stdout.
Focused owner tests pass 7/7, base library tests 76/76 and all-feature library tests 268/268, with no ignored tests.
Strict all-feature all-target Clippy, warning-denying docs, formatting and diff checks pass.
Independent review inspected the complete one-file diff and re-executed seven focused tests and typed exact roundtrips of all five actual packets against the release-based SDK source.
Public archive and clean consumer verification follow normal owner publication before dependent applications are delivered.

Signed-off-by: jbernavaprah <webjure@gmail.com>
@jBernavaPrah
jBernavaPrah merged commit 5af95a4 into main Oct 11, 2026
3 checks passed
@jBernavaPrah
jBernavaPrah deleted the fix/optional-simulation-report-identities branch October 11, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant