Skip to content

known-downstream-workarounds: Downstream Workarounds Across 7 OSS Consumers #138

Backlog
12 of 34 issues completed
Backlog

Description

@clockblocker

Overview

This epic tracks 34 verified downstream integration pains and workarounds (53 consumer observations) across 7 open-source C++ consumers in the refl-cpp-workbench OSS corpus consuming unmodified upstream reflect-cpp.

image

Corpus Coverage

Consumer Upstream Repo Pinned SHA reflect-cpp Pin Integration Mode Issues
cuda-quantum NVIDIA/cuda-quantum 90e4aa08 v0.25.0 (1327ef1d) CMake FetchContent (YAML-only, static private) 12
holoscan-sdk nvidia-holoscan/holoscan-sdk 358c772f v0.25.0 RAPIDS CPM + custom OBJECT library (test-only JSON) 6 (incl. 1 wontfix)
fanuc-libs FANUC-CORPORATION/fanuc_driver da5db3f6 2a0fdeab (v0.19.0+#453) Local git submodule via FetchContent + PATCH_COMMAND (JSON+YAML, static private) 6
slang-server hudson-trading/slang-server 1b413a46 a26047a4 (2026-04-27) Direct git submodule + add_subdirectory (bundled JSON) 10
moqx openmoq/moqx 60bab7f1 v0.22.0 CPMAddPackage (YAML+JSON Schema, quarantined static lib) 7
wolf games-on-whales/wolf ac2461f6 v0.21.0 CMake FetchContent (TOML+JSON+OpenAPI Schema) 6
sqlgen munich-data-engineering/sqlgen 265b0a17 vcpkg >=0.27.1 / Conan 0.22.0 find_package(reflectcpp CONFIG) (heavy compile-time reflection) 6
Total 7 OSS repos — v0.19.0 – 2026-04 6 source-embedded + 1 package-manager 34 issues (53 observations)

Popularity Leaderboard (34 Issues)

Sorted descending by corpus consumer count (5/7 -> 1/7):

Count Issue Category Title Consumers Affected Related Fork Issues / PRs Upstream Issues / PRs Status
5/7 #140 Build / CMake Build/CMake: reflectcpp target lacks SYSTEM headers, warning/visibility/PIC/linter isolation, and collides on bundled yyjson cuda-quantum, holoscan-sdk, fanuc-libs, wolf, slang-server #113, #111, #85 munich-data-engineering#803 (open PR, partial), munich-data-engineering#620 (merged, partial), munich-data-engineering#221 (closed/fixed, partial), munich-data-engineering#433 (closed, partial) open
4/7 #142 Build / CMake Build/CMake: format opt-in boilerplate, implicit yaml-cpp/tomlplusplus FetchContent ordering, and silent REFLECTCPP_USE_VCPKG=ON cuda-quantum, fanuc-libs, moqx, wolf #139 munich-data-engineering#576 (open, partial), munich-data-engineering#231 / munich-data-engineering#236 (merged, partial), munich-data-engineering#563 (merged, partial), munich-data-engineering#453 (merged, partial) open
4/7 #147 C++ API / Wrappers API/Defaults & Wrappers: all-or-nothing DefaultIfMissing and intrusive metadata wrappers force shadow structs, .value().value_or() churn, and drift static_asserts cuda-quantum, moqx, wolf, slang-server #90, #91, #92, #100, #117, PR #119, PR #78, #136, #85 munich-data-engineering#338 (open, partial), munich-data-engineering#192 (open, partial), munich-data-engineering#372 (closed/wontfix, partial), munich-data-engineering#534 / munich-data-engineering#553 (merged, partial), munich-data-engineering#603 / munich-data-engineering#704 (merged, partial), munich-data-engineering#465 (merged, partial) open
3/7 #139 Build / CMake Build/CMake: dev-only vcpkg git submodule fetched by default under FetchContent, CPM, and recursive git submodules cuda-quantum, holoscan-sdk, slang-server (also hits fanuc-libs CI) — — open
3/7 #143 Build / C++ Build/C++: exceptions and RTTI requirement blocks -fno-exceptions and -fno-rtti targets cuda-quantum, holoscan-sdk, slang-server — munich-data-engineering#71 (open, partial: -fno-exceptions; -fno-rtti unfiled) open
2/7 #141 Build / CMake Build/CMake: private static embedding and header-only reflection reuse require TARGET_OBJECTS and property hacks cuda-quantum, holoscan-sdk — — open
2/7 #144 Packaging / Compliance Packaging/Compliance: bundled third-party license surface (CTRE, enchantum, yyjson) in include/rfl/thirdparty cuda-quantum, holoscan-sdk — — open
2/7 #145 C++ API / Reflection API/Reflection: no public constexpr std::string_view type-name API (forces rfl::internal::get_type_name_str_view) cuda-quantum, sqlgen PR #127, #136 munich-data-engineering#804 (open PR, partial: internal fix; public API unfiled) open
2/7 #156 Build / CMake Build/CMake: cmake_minimum_required(VERSION 3.23) blocks Ubuntu 22.04 / RHEL 8 / ROS 2 Humble (CMake 3.20–3.22) fanuc-libs, moqx — — open
2/7 #174 C++ API / Reflection API/Reflection: no public rfl::StringLiteral NTTP type or consteval string helpers (forces rfl::internal::StringLiteral in sqlgen & moqx) sqlgen, moqx #85, #92 — open
1/7 #146 C++ API / Serialization API/TaggedUnion: no default/fallback tag when discriminator field is omitted cuda-quantum PR #129, #136 munich-data-engineering#455 (closed/wontfix, partial) open
1/7 #148 C++ API / Enums API/Enums: wire-name kebab-case transforms, strict non-numeric parsing, and allowed-values diagnostics force per-enum Reflector boilerplate cuda-quantum #101, PR #123, #136 munich-data-engineering#731 (open), munich-data-engineering#106 (open), munich-data-engineering#714 / munich-data-engineering#718 (merged), munich-data-engineering#605 / munich-data-engineering#606 (merged) open
1/7 #149 C++ API / Naming API/Naming: missing CamelCaseToKebabCase processor and non-reusable field-name transforms for rfl::to_view reflection cuda-quantum — munich-data-engineering#585 (open, partial) open
1/7 #150 C++ API / Enums API/Enums: no zero-allocation std::string_view / std::optional enum lookup helpers cuda-quantum PR #76 (upstream #802), #85 munich-data-engineering#565 (open, partial), munich-data-engineering#802 (open PR, partial) open
1/7 #151 Parser / Semantics Parser/Semantics: strict config parser semantics absent (Holoscan keeps reflect-cpp test-only; triaged in #131) holoscan-sdk #131 (wontfix), PR #128, PR #130, PR #132, #104, #74, #75, PR #70, PR #120 munich-data-engineering#765 / munich-data-engineering#766 (merged, partial), munich-data-engineering#682 / munich-data-engineering#746 (merged, partial), munich-data-engineering#387 (merged, partial) wontfix (open)
1/7 #157 Build / CMake Build/CMake: reflectcpp target omits target_compile_features(cxx_std_20), breaking C++17 parent builds fanuc-libs #140, #85 munich-data-engineering#253 / munich-data-engineering#254 (closed; removed cxx_std_20) open
1/7 #160 YAML / Parser YAML/Parser: rfl::yaml::Reader silently accepts duplicate mapping keys and swallows non-scalar keys, forcing a YAML::EventHandler pre-pass moqx #85, #89, PR #128 — open
1/7 #161 YAML / Parser YAML/Parser: rfl::yaml::Reader::to_basic_type wraps negative values into unsigned integers and silently truncates narrow integers moqx #85, #89, #105, #106 munich-data-engineering#682 / munich-data-engineering#746 (closed/fixed JSON-only), munich-data-engineering#615 / munich-data-engineering#617 (closed/fixed JSON-only) open
1/7 #166 C++ API / JSON Schema API/JSON Schema: rfl::json::to_schema omits C++ default member initializer values (forces Generic round-trip post-processor) slang-server #88, #100, #115, #136 munich-data-engineering#396 (open), munich-data-engineering#680 (merged, partial: DefaultVal-only) open
1/7 #169 C++ API / JSON API/JSON: rfl::json lacks JSONC read flags and 2-space pretty-print, leaking raw YYJSON_* macros across 6 files slang-server #86, #140 munich-data-engineering#404 (closed/wontfix: raw YYJSON_* preferred), munich-data-engineering#374 / munich-data-engineering#425 (merged, partial) open
1/7 #170 C++ API / Parsing & Schema API/Parsing & Schema: no 64-bit integer-as-string support and Reflectorstd::size_t bypassed by basic-type Parser/to_schema (forces internal Parser specialization) wolf PR #134 (Int64AsString), PR #133 (Stringified<T>), #136, #88 munich-data-engineering#509 / munich-data-engineering#527 (merged, partial), munich-data-engineering#609 / munich-data-engineering#621 (closed/fixed enums-only, partial) open
1/7 #173 C++ API / Naming API/Naming: no out-of-band per-field rename trait forces wire-cased public struct members (conflicts with project naming/clang-tidy) fanuc-libs #147, #149, #101, #136 — open
1/7 #175 C++ API / Serialization API/Serialization: no out-of-band literal/discriminator constraint forces throwaway T() construction and manual tag checks in FromJSON fanuc-libs #146, #136 — open
1/7 #177 C++ API / Reflection API/Reflection: no public pointer-to-member (&T::field) name reflection API forces duplicate compiler-specific PRETTY_FUNCTION/FUNCSIG parsing sqlgen #145 — open
1/7 #180 C++ API / JSON Schema Schema/JSON: rfl::json::to_schema emits nested anyOf for optional, namespace-mangled $defs keys, and no unsigned/width bounds moqx #88, #100, #109, #136 munich-data-engineering#683 (open, partial), munich-data-engineering#375 (open, partial) open
1/7 #181 C++ API / Literal API/Literal: closed-world rfl::Literal forces abandoning it across 15 extensible LSP string-enum types (*Options + std::string + .from_name<...>().str()) slang-server #86, #88, #136 — open
1/7 #182 C++ API / JSON Schema API/JSON Schema: no programmatic/composable OpenAPI schema builder or configurable $ref prefix (forces JSON re-parsing, regex #/definitions/ rewriting, and Draft-07 -> 2020-12 breakage) wolf #88, #100, PR #121, #136 munich-data-engineering#552 (open, partial), munich-data-engineering#523 (merged, partial: $defs break) open
1/7 #183 C++ API / Enums API/Enums: call-site-only rfl::UnderlyingEnums forces 40+ repetitions and causes mixed wire encodings for the same enum slang-server #148, #101 munich-data-engineering#130 / munich-data-engineering#186 (closed/wontfix: call-site processor chosen) open
1/7 #185 Compile-Time / Perf Compile-Time/Perf: heavy rfl instantiation on LspTypes.h forces PCH, /bigobj, and prompts raw-string escape hatch TODO slang-server #85, #90, #91 munich-data-engineering#368 (open, partial), munich-data-engineering#350 / munich-data-engineering#799 (open / merged, partial), munich-data-engineering#86 (closed, partial), munich-data-engineering#675 / munich-data-engineering#698 (merged, partial) open
1/7 #186 C++ API / Reflector API/Reflector: no context/dependency injection for Reflector::to() forces ReflType leakage across DTOs, endpoints, and schemas (and caused wolf#465) wolf #100, PR #121, #136 munich-data-engineering#509 / munich-data-engineering#527 (merged, partial: write-only to_schema; DI unfiled) open
1/7 #187 C++ API / Serialization API/TaggedUnion: no nested/chained flat discriminator support forces double JSON parsing and duplicate tag fields in WCP protocol slang-server #146, #86 munich-data-engineering#449 (closed/wontfix) open
1/7 #188 C++ API / Reflection API/Reflection: no public fallible in-place struct builder forces raw byte-buffer placement-new, duplicated rfl::internal::ptr_cast, and manual destructor rollback sqlgen #143 — open
1/7 #189 C++ API / Enums & Bundling API/Enums & Bundling: <rfl/enums.hpp> leaks bundled enchantum:: namespace (sqlgen directly uses enchantum::ScopedEnum) sqlgen #144, #150 — open
1/7 #190 C++ API / Reflection API/Reflection: no public custom-reflection / wrapper-peeling traits forces duplicate has_reflection_method and RemoveReflection machinery sqlgen #92, #147 munich-data-engineering#192 (open, partial) open

Thematic Cross-Cutting Rollup

Theme Combined Footprint Issues Consumers Affected
CMake / FetchContent / visibility / bundling friction 6/7 consumers (100% of source-embedded consumers; everyone except vcpkg/Conan sqlgen) #140, #142, #139, #141, #156, #157 cuda-quantum, holoscan-sdk, fanuc-libs, slang-server, moqx, wolf
Wrapper / default-value / shadow-struct ergonomics 5/7 consumers (6/7 incl. sqlgen wrapper-peeling traits #190) #147, #173, #175, #190 cuda-quantum, moqx, wolf, slang-server, fanuc-libs (+ sqlgen)
Reaching into rfl::internal::* private APIs 3/7 consumers #145 (get_type_name_str_view), #174 (StringLiteral), #147 (num_fields), #188 (ptr_cast) cuda-quantum, moqx, sqlgen
JSON Schema (rfl::json::to_schema) post-processing & gaps 3/7 consumers #166, #180, #182 slang-server, moqx, wolf
Enum serialization / lookup / wire-name ergonomics 3/7 consumers #148, #150, #183, #189 cuda-quantum, slang-server, sqlgen
TaggedUnion limitations 3/7 consumers #146, #187, #147 cuda-quantum, slang-server, wolf
Strict parser validation / duplicate keys / numeric bounds 2/7 consumers #151, #160, #161 holoscan-sdk, moqx

Related Fork Context

Sub-issues

Sub-issues

12 of 34 Issues completed
Loading 34 sub-issues

Activity

  1. added
    known-downstream-workarounds
    on Nov 29, 2026
  2. 9 remaining items

  3. changed the title [-]known-downstream-workarounds: NVIDIA cuda-quantum & holoscan-sdk[/-] [+]known-downstream-workarounds: Corpus-wide Deduplicated Index (7 OSS Consumers)[/+] on Nov 29, 2026
  4. changed the title [-]known-downstream-workarounds: Corpus-wide Deduplicated Index (7 OSS Consumers)[/-] [+]known-downstream-workarounds: Downstream Workarounds Across 7 OSS Consumers[/+] on Nov 29, 2026
  5. clockblocker commented on Nov 29, 2026

    @clockblocker
    OwnerAuthor

    Triage Summary & Queue Index (34 / 34 Issues Accounted For)

    All 34 downstream workaround issues under #138 have been triaged against the upstream adoption track (upstream-queue Draft PR #191, 29 PRs scored 98 → 71, cutline >= 65), the upcoming upstream-queue-for-build-cmake build-hygiene queue, and parked design-heavy prototypes on discuss/ssot.

    Tier-1 — Addressed / Partially Addressed in upstream-queue (Draft PR #191)

    Issue Coverage Upstream / Fork PRs & PR #191 Queue Ranks
    #145 Fully addressed Open upstream #804 (PR #191 Rank #1) + fork PR #127 (rfl::type_name, PR #191 Rank #21)
    #148 Fully addressed Merged upstream #718 & #606 + fork PR #123 split into PR #191 Rank #20 (TransformEnumNames, refs #731) & Rank #28 (EnumNames<E>, refs #106)
    #150 Mostly addressed Open upstream #802 / fork PR #76 (PR #191 Rank #6); minor gap remains (enum_to_string_view / std::optional<E>)
    #169 Fully addressed Fork PR #80 (PR #191 Rank #14 — rfl::json::read_* / write_* constants)
    #180 2/3 addressed Flatten nested anyOf (#109 / PR #191 Rank #12), rfl::IntegerBounds (PR #137 / PR #191 Rank #23), plus oneOf (PR #14 → PR #191 Ranks #4 & #25); SchemaName (PR #121) parked on discuss/ssot
    #185 Partially addressed Wave 1 perf PRs in PR #191 (Ranks #7, #15, #16, #18, #19, #22, #26 from PR #135, #118, #126, Wave 1B) + rfl::json::Raw (PR #67 / PR #191 Rank #29); TableStructParser (PR #125) parked
    #140 Partially addressed Public-header warnings in open upstream #803 / fork PR #55 (PR #191 Rank #5); CMake hygiene portion queued in upstream-queue-for-build-cmake below

    Tier-1 — Queued Next

    Tier-2 — Upstream Discussion First

    Design-heavy or broader-scope items that need upstream maintainer alignment before PR submission (existing prototypes remain cleanly restacked on discuss/ssot):

    Tier-3 — Closed as wontfix (not planned) — 12 Issues

  6. clockblocker commented on Nov 29, 2026

    @clockblocker
    OwnerAuthor

    Upstream Overlap Audit (munich-data-engineering/reflect-cpp)

    Audited all 34 downstream-workaround issues in this epic against the full upstream munich-data-engineering/reflect-cpp catalog (804 total issues and PRs, #1–#804, open and closed). Verified overlaps have been added to the Upstream Issues / PRs column in the leaderboard above and appended as an ## Upstream Overlap section on each matching child issue (22 child issues updated; 12 with no upstream overlap left untouched).

    Summary Breakdown (34 / 34 Issues)

    Classification Count Issues
    Open upstream issue / PR overlap (mostly partial; several also have partial post-pin fixes merged) 13 #140, #142, #147, #143, #145, #148, #149, #150, #166, #180, #182, #185, #190
    Partially fixed / merged upstream only (no open issue for remaining gaps; includes post-pin or JSON/enum-only fixes) 4 #151, #161, #170, #186
    Closed / declined / intentionally opposite upstream (maintainer declined, chose different design, or regressed) 5 #146, #157, #169, #183, #187
    No upstream issue or PR 12 #139, #141, #144, #156, #174, #160, #173, #175, #177, #181, #188, #189
    Total 34 0 / 34 fully resolved upstream

    Notable Findings & Maintainer Stances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    known-downstream-workarounds

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions