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

code-shoily / choreo / 1b2cfdfeccdba0a6faa0a30631c3da998e3ab221
88%

Build:
DEFAULT BRANCH: main
Ran 08 Jun 2026 10:09PM UTC
Jobs 1
Files 65
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

08 Jun 2026 10:08PM UTC coverage: 87.917% (-1.1%) from 88.997%
1b2cfdfeccdba0a6faa0a30631c3da998e3ab221

push

github

web-flow
Hardening phase 2 (#2)

* refactor: Align Choreo and Choreo.Infrastructure data models, unify rendering

This commit addresses the architectural drift between top-level Choreo and
Choreo.Infrastructure identified in code review.

Key changes:

- Standardize node data keys across both modules:
  - :type → :node_type (aligns with C4, Planner, Workflow, etc.)
  - :name → :label (display name convention)

- Extend top-level Choreo with cloud primitives:
  - New node builders: add_internet/3, add_compute/3, add_managed_db/3
  - New cluster builders: add_vpc/3, add_subnet_public/3, add_subnet_private/3
  - Typed clusters carry :cluster_type metadata for theme-aware rendering

- Make Choreo.Infrastructure a thin vocabulary wrapper:
  - Delegates rendering to Choreo.Render.DOT and Choreo.Render.Mermaid
  - Deleted parallel renderers (Infrastructure.Render.DOT/.Mermaid)
  - Fixes the embed/4 interoperability bug where embedded infra nodes
    rendered as generic shapes

- Move cluster-type styling into shared Choreo.Render.DOT:
  - VPC (dashed), public subnet (green), private subnet (red) defaults
  - Dark-theme variants supported

- Fix Infrastructure.Analysis:
  - Renamed warnings/1 → validate/1 (returns [{severity, msg}])
  - Severity distinguishes :error (critical) from :warning
  - Added storage-public-subnet and unassigned-compute checks

- Fix zoom predicates to include databases at tier 1

- Fix DOT renderer highlight logic for nodes and edges

- Update README/guides to clarify Choreo vs Infrastructure usage

* Apply Planner review fixes (hardening-phase-2)

- Fix @spec return types on Analysis functions (Yog.node_id() not Planner.t())
- Fix Quick Start example ready/1 status (:impl now :backlog)
- Fix zoom_predicate arity to 2-arity (id, data) consistently across all modules
- Fix new/1 to accept keyword opts while keeping backward compat
- Add parents/2 and assignees/2; make parent/2 and assignee/2 convenience wrappers
- Fix relates/3 to raise Argume... (continued)

239 of 312 new or added lines in 18 files covered. (76.6%)

11 existing lines in 4 files now uncovered.

5137 of 5843 relevant lines covered (87.92%)

20.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
71.29
-10.68% lib/choreo/domain/analysis.ex
13
90.0
-7.06% lib/choreo.ex
12
80.56
-14.9% lib/choreo/c4/analysis.ex
12
72.97
-4.06% lib/choreo/domain.ex
6
89.01
-6.05% lib/choreo/planner/analysis.ex
3
89.68
-1.48% lib/choreo/c4.ex
3
88.5
-1.32% lib/choreo/planner.ex
2
91.89
-0.76% lib/choreo/workflow/analysis.ex
1
98.67
-1.33% lib/choreo/dataflow.ex
1
95.69
-0.19% lib/choreo/dataflow/analysis.ex
1
98.77
-1.23% lib/choreo/infrastructure/analysis.ex
1
97.09
-0.89% lib/choreo/workflow.ex

Coverage Regressions

Lines Coverage ∆ File
5
83.33
-11.9% lib/choreo/theme.ex
4
93.38
-2.94% lib/choreo/internal.ex
1
72.97
-4.06% lib/choreo/domain.ex
1
85.09
0.88% lib/choreo/render/mermaid.ex
Jobs
ID Job ID Ran Files Coverage
1 1b2cfdfeccdba0a6faa0a30631c3da998e3ab221.1 08 Jun 2026 10:09PM UTC 65
87.92
GitHub Action Run
Source Files on build 1b2cfdfeccdba0a6faa0a30631c3da998e3ab221
  • Tree
  • List 65
  • Changed 18
  • Source Changed 0
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1b2cfdfe on github
  • Prev Build on main (#6D458C89...)
  • Next Build on main (#A3215885...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc