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
{{ message }}
Repository navigation
rfl::nlohmann::Reader: tag type-cast and overflow errors as ErrorKind::invalid_type / invalid_value instead of other #105
rfl::nlohmann::Reader currently reports type-cast failures and numeric overflow errors as ErrorKind::other instead of ErrorKind::invalid_type / ErrorKind::invalid_value.
Evidence
Surfaced in obs-websocket#1 and solidity Part A Showcase Migrations.
Aligns rfl::nlohmann::Reader with #69/#70 structured error tagging.
Acceptance Criteria
Tag JSON type mismatches in rfl::nlohmann::Reader as ErrorKind::invalid_type and numeric overflows/range failures as ErrorKind::invalid_value.
Add parity tests comparing rfl::nlohmann::Reader error kinds against rfl::json::Reader across primitive, container, and overflow cases.
Confirmed in obs-websocket/src/protocol/RequestCodec.h (MapErrorToRequestStatus): unlike rfl::json::Reader, rfl::nlohmann::Reader leaves type-cast and numeric-overflow failures tagged as ErrorKind::other instead of invalid_type / invalid_value, forcing a string-fallback branch.
Root-cause file on showcase/all-lanes: include/rfl/nlohmann/Reader.hpp (all error(...) / Error(...) calls in get_field_from_array, get_field_from_object, read_array, read_object, and to_basic_type currently omit ErrorKind).
Resolved on showcase/all-lanes via Batch 1 merge 4861aafd (commits d4700190, d3673b24). Verified with 962/962 CTest passing under AppleClang 17 -Wall -Werror + REFLECTCPP_STRICT_WARNINGS=ON (non-SYSTEM-I for internal tests, -isystem for downstream consumers) and dual Judge approval (Gemini 4 Neon High: APPROVE WITH NITS, all addressed; Claude Opus 5.5 High re-check: APPROVE).
Activity
clockblocker commentedon Nov 27, 2026
Landed Showcase Confirmation & Root-Cause Sites (clockblocker/obs-websocket#1,
14aefd0):obs-websocket/src/protocol/RequestCodec.h(MapErrorToRequestStatus): unlikerfl::json::Reader,rfl::nlohmann::Readerleaves type-cast and numeric-overflow failures tagged asErrorKind::otherinstead ofinvalid_type/invalid_value, forcing a string-fallback branch.showcase/all-lanes:include/rfl/nlohmann/Reader.hpp(allerror(...)/Error(...)calls inget_field_from_array,get_field_from_object,read_array,read_object, andto_basic_typecurrently omitErrorKind).Batch 1 bugfixes: #105-#114 (nlohmann/xml ErrorKind, int64 overflow, …
clockblocker commentedon Nov 27, 2026
Resolved on
showcase/all-lanesvia Batch 1 merge4861aafd(commitsd4700190,d3673b24). Verified with 962/962 CTest passing under AppleClang 17-Wall -Werror+REFLECTCPP_STRICT_WARNINGS=ON(non-SYSTEM-Ifor internal tests,-isystemfor downstream consumers) and dual Judge approval (Gemini 4 Neon High:APPROVE WITH NITS, all addressed; Claude Opus 5.5 High re-check:APPROVE).Merge Batch 1 bugfixes (#105-#114) into showcase/all-lanes