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

accordproject / concerto / 32669408510
98%

Build:
DEFAULT BRANCH: main
Ran 23 Aug 2026 10:05PM UTC
Jobs 3
Files 84
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

23 Aug 2026 10:03PM UTC coverage: 97.896% (-0.03%) from 97.927%
32669408510

push

github

web-flow
fix(concerto-core): serialize maps with cross-namespace concept values (#1279)

* fix(concerto-core): serialize maps with cross-namespace concept values

Map (de)serialization resolved the value concept's declaration only within
the map's own model file. When the value concept is imported from another
namespace the lookup returned undefined, so:

- Serializer.toJSON threw "Cannot read properties of undefined (reading
  'accept')", and
- Serializer.fromJSON silently returned the raw JSON object instead of a
  populated Concept (breaking round-trips).

Resolve the value declaration across all loaded models: toJSON now resolves
the map's declared value type honouring imports via the ModelManager, and
the populator searches declarations across every model file.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Matt Roberts <matt@rbrts.uk>

* fix(concerto-core): address review feedback and de-flake external URL test

Review feedback (Copilot):
- jsongenerator: resolve the map value declaration from the instance's own
  fully-qualified type when available (preserving polymorphism for subclass
  values), falling back to the map's declared value type (honouring imports)
  for instances that do not expose a fully-qualified type.
- jsonpopulator: resolve the key/value declaration via the model manager using
  the map model file's import-aware fully-qualified name, wrapped in try/catch
  to preserve the previous "not found => treat as scalar" behaviour, instead of
  scanning every declaration by short name (which could match the wrong
  namespace or misclassify a scalar).

Build/CI fix:
- modelmanager test: assert the stable failure message for a bad github:// URL
  with a regex instead of pinning HTTP status 400, since GitHub now returns 404
  for the missing resource, causing an unrelated CI failure.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Matt Roberts <code@rbrts.uk>

* ci: don't fail Code Coverage check w... (continued)

2097 of 2186 branches covered (95.93%)

Branch coverage included in aggregate %.

9 of 10 new or added lines in 2 files covered. (90.0%)

3905 of 3945 relevant lines covered (98.99%)

132471.95 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.44
-0.3% packages/concerto-core/src/serializer/jsonpopulator.ts
Jobs
ID Job ID Ran Files Coverage
1 macos-latest - 32669408510.1 23 Aug 2026 10:05PM UTC 168
97.9
GitHub Action Run
2 ubuntu-latest - 32669408510.2 23 Aug 2026 10:05PM UTC 168
97.9
GitHub Action Run
3 windows-latest - 32669408510.3 23 Aug 2026 10:07PM UTC 168
97.9
GitHub Action Run
Source Files on build 32669408510
  • Tree
  • List 84
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32669408510
  • 2fa8aa83 on github
  • Prev Build on main (#27355591918)
  • Next Build on main (#32853513341)
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