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

datatug / datatug-core / 34349580300
100%

Build:
DEFAULT BRANCH: main
Ran 09 Sep 2026 12:11PM UTC
Jobs 1
Files 94
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

09 Sep 2026 12:11PM UTC coverage: 90.814% (+0.1%) from 90.706%
34349580300

push

github

web-flow
fix(filestore): load environments the way the demo project ships them, fix sqlite3 ServerRef.Validate (#307) (#308)

- ServerRef.Validate()'s "sqlite3" case fell through into the generic
  host-required check instead of returning, so no sqlite3 ServerRef could
  ever validate (present v0.17.0..v0.21.0; the old vendored copy had the
  return). Fixes #307.
- fsEnvironmentsStore now loads and saves both filenames within a per-
  environment directory: the legacy "environment-summary.json" and the
  demo's own "<id>.env.json" (datatug-demo-projects/demo-project-1/
  environments/local/local.env.json). Demo's filename wins when both exist
  and agree; disagreement is a clear error; a save keeps the filename an
  environment was loaded from; a brand-new environment defaults to the
  demo's filename. DeleteEnvironment now removes the whole per-environment
  directory (environments are always directory-based; the old
  generic-helper path deleted the wrong file entirely).
- fsEnvDbCatalogStore (LoadEnvDbCatalog/LoadEnvDbCatalogs) now share one
  path - environments/<envID>/catalogs/ - and both accept flat
  "<id>.db.json" and nested "<id>/<id>.db.json" (matching
  environments/local/catalogs/chinook-local/chinook-local.db.json).
  LoadEnvDbCatalog previously used a different, servers/<serverID>-
  qualified path that could never agree with LoadEnvDbCatalogs (the
  existing test's own comments flagged this before this fix).
- Removed the now-dead loadEnvFile in loader_internals.go (its only caller,
  LoadEnvironmentSummary, is rewritten).


Claude-Session: https://claude.ai/code/session_01TBRZM85u8kayPG3UVHydaz

Co-authored-by: Alexander Trakhimenok <trakhimenok@users.noreply.github.com>
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

185 of 205 new or added lines in 3 files covered. (90.24%)

48 existing lines in 4 files now uncovered.

3974 of 4376 relevant lines covered (90.81%)

0.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
86.29
-6.81% pkg/storage/filestore/env_db_catalogs_store.go
3
97.03
-2.97% pkg/storage/filestore/environments_store.go

Coverage Regressions

Lines Coverage ∆ File
22
77.0
1.17% pkg/storage/filestore/loader_internals.go
17
86.29
-6.81% pkg/storage/filestore/env_db_catalogs_store.go
6
86.36
0.16% pkg/datatug/server.go
3
97.03
-2.97% pkg/storage/filestore/environments_store.go
Jobs
ID Job ID Ran Files Coverage
1 34349580300.1 09 Sep 2026 12:11PM UTC 94
90.81
GitHub Action Run
Source Files on build 34349580300
  • Tree
  • List 94
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2704d9c5 on github
  • Prev Build on main (#34338908619)
  • Next Build on main (#34352258037)
  • 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