• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eclipse-aascw / aas-core-codegen / 35998049636
90%

Build:
DEFAULT BRANCH: main
Ran 24 Sep 2026 12:22PM UTC
Jobs 3
Files 285
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Sep 2026 12:16PM UTC coverage: 87.314% (+0.04%) from 87.278%
35998049636

push

github

web-flow
Use roots of named unions in all targets (#759)

We introduce ``NamedUnion.roots`` in the intermediate representation
next to ``implementers``. The roots mirror the meta-model: the classes
listed in the union, with nested named unions inlined, without
flattening them to concrete classes. The roots may overlap, *e.g.*,
when a class is listed next to its ancestor.

All the SDK targets (C++, C#, Go, Java, Python and TypeScript) now
represent a named union by its roots. The de-serialization still
dispatches on the concrete implementers, as they appear on the wire,
and wraps the instance in its most specific root. XSD and JSON Schema
remain based on the implementers.

In Go, the run-time dispatch of a union now switches on the model type,
as the structural interfaces could not tell the roots apart.

In C++, the JSON serialization of a class whose run-time type is open
now dispatches only over the concrete classes of that class, instead of
going through ``SerializeIClass``. Thus the fallibility of
the serialization propagates exactly from the reachable classes to
the classes and named unions which hold them. This also fixes a
compilation error for a class which can not fail in a meta-model where
other classes can, which we test with a new C++ test case.

133 of 134 new or added lines in 17 files covered. (99.25%)

36734 of 42071 relevant lines covered (87.31%)

2.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.08
-0.02% aas_core_codegen/intermediate/_types.py
Jobs
ID Job ID Ran Files Coverage
1 3.11 - 35998049636.1 24 Sep 2026 12:23PM UTC 285
87.31
GitHub Action Run
2 3.12 - 35998049636.2 24 Sep 2026 12:23PM UTC 285
87.31
GitHub Action Run
3 3.10 - 35998049636.3 24 Sep 2026 12:23PM UTC 285
87.31
GitHub Action Run
Source Files on build 35998049636
  • Tree
  • List 285
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ae77ce37 on github
  • Prev Build on main (#35975581599)
  • Next Build on main (#36004619100)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc