The GitHub Actions job "Fory CI" on fory.git/feat/lifecycle-guard-registration 
has failed.
Run started by GitHub user Geethapranay1 (triggered by Geethapranay1).

Head commit for run:
9b4bdb6afba736b5874338df8ba4784bc3b81ee5 / Geethapranay1 
<[email protected]>
feat(rust): forbid late type registration after resolver snapshot initialization

Add a lifecycle guard to all registration entry points in fory.
After the first serialize/deserialize call initializes the
final_type_resolver (OnceLock), any subsequent register* call
returns Error::NotAllowed with a descriptive message.

this prevents a silent footgun where late registrations appear
to succeed but are never reflected in the frozen resolver snapshot.

Guarded methods:
- register, register_union
- register_by_name, register_union_by_name
- register_by_namespace, register_union_by_namespace
- register_serializer, register_serializer_by_name,
  register_serializer_by_namespace
- register_generic_trait

closes #3417

Report URL: https://github.com/apache/fory/actions/runs/22518365204

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to