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

doberkofler / gantt-renderer / 25551064888
93%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 10:40AM UTC
Jobs 1
Files 24
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 May 2026 10:38AM UTC coverage: 87.793% (-1.1%) from 88.916%
25551064888

push

github

doberkofler
refactor(api)!: migrate Task to discriminated union on kind

Tasks are now a discriminated union (TaskLeaf | TaskProject | TaskMilestone)
keyed on `kind` instead of the flat optional `type` field. Each variant carries
only its applicable fields — milestones no longer carry durationHours or
percentComplete; leaf tasks no longer carry open; projects carry open.

BREAKING CHANGES:
- Rename `type` → `kind` on Task objects
- Rename `TaskType` → `TaskKind`, `TaskTypeSchema` → `TaskKindSchema`
- `kind` must be explicitly provided; no longer defaults to 'task'
- Milestones must not include `durationHours` or `percentComplete`
- Leaf tasks must not include `open`
- Remove `safeParseGanttInput` — use parseGanttInput + try/catch
- Add `data?: Record<string, unknown>` to TaskBase and LinkSchema

New validations: parent cycle detection, parent-to-milestone/leaf rejection,
non-FS link types to/from milestones, duplicate (source,target) pairs,
self-links, duplicate task/link IDs.

578 of 722 branches covered (80.06%)

Branch coverage included in aggregate %.

109 of 123 new or added lines in 11 files covered. (88.62%)

8 existing lines in 1 file now uncovered.

1371 of 1498 relevant lines covered (91.52%)

1261.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
82.69
-12.04% src/lib/domain/tree.ts
2
83.91
-5.57% src/lib/vanilla/interaction/drag.ts
1
91.07
-1.24% src/lib/timeline/layoutEngine.ts
1
89.74
-1.12% src/lib/vanilla/dom/leftPane.ts
1
79.32
-0.3% src/lib/vanilla/gantt-chart.ts

Coverage Regressions

Lines Coverage ∆ File
8
78.75
-9.77% src/lib/domain/dependencies.ts
Jobs
ID Job ID Ran Files Coverage
1 25551064888.1 08 May 2026 10:40AM UTC 24
87.79
GitHub Action Run
Source Files on build 25551064888
  • Tree
  • List 24
  • Changed 14
  • Source Changed 14
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25551064888
  • 76db251b on github
  • Prev Build on main (#25546923373)
  • Next Build on main (#25552591051)
  • 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