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

datatug / datatug-core / 34352258037
100%

Build:
DEFAULT BRANCH: main
Ran 09 Sep 2026 12:39PM UTC
Jobs 1
Files 95
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:39PM UTC coverage: 90.946% (+0.1%) from 90.814%
34352258037

push

github

web-flow
fix(filestore): load and save Project.Queries so QueryDefTarget credential checks apply (#309)

LoadProject never populated Project.Queries (SaveProject never saved it
either), so Project.Validate() could never reach QueryDefTarget.Validate()'s
committed-credential check (v0.17.0) - datatug validate silently passed a
query with a plaintext password because there was nothing to validate.

- fsQueriesStore gains loadQueriesTree/saveQueriesTree: a recursive folder
  walk (LoadQueries only scans one folder at a time) that LoadProject and
  SaveProject now wire into their parallel.Run fan-out, same dual-layout
  discipline as entities/boards/dbmodels. A folder holding only unrelated
  files (e.g. the demo project's legacy *.sql.json queries, which predate
  the "<id>.query.json" suffix convention) is naturally excluded.
- LoadQuery/LoadQueries never read a query's text body back from its
  "<id>.query.<type>" sidecar file (the saver always strips Text before
  writing the JSON) - fixed via readQueryTextSidecar, a separate,
  previously-undiscovered gap this stream also closes.
- Extended the demo-project-1 fixture test: all 5 real demo queries (DTQL
  customer-invoices, SQL customer-purchases-by-genre/invoice-lines, HTTP
  country-facts/currency-rate) now load with their text; injecting a
  user:pass@ URL into a copied query's Targets now fails Project.Validate().
  Project.Validate() on the real demo project is now asserted to fully
  succeed - lane S42 (datatug-demo-projects PR #11/#12) fixed the sqlite3
  host issue this test previously had to assert around.

Not fixed (out of scope): the demo project's legacy albums/artists/tracks
*.sql.json queries (pre-date the current naming convention, confirmed
excluded rather than silently misread); SaveQuery (singular) ignoring
QueryDefWithFolderPath.FolderPath (pre-existing, unrelated to the load path).


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

Co-authored-by: Alexander Trakhime... (continued)

78 of 90 new or added lines in 4 files covered. (86.67%)

25 existing lines in 3 files now uncovered.

4058 of 4462 relevant lines covered (90.95%)

0.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
85.25
-3.94% pkg/storage/filestore/store_queries.go
2
74.67
-0.7% pkg/storage/filestore/store_loader.go
2
72.84
3.4% pkg/storage/filestore/store_project_saver.go
1
97.87
pkg/storage/filestore/queries_tree.go

Coverage Regressions

Lines Coverage ∆ File
10
72.84
3.4% pkg/storage/filestore/store_project_saver.go
9
85.25
-3.94% pkg/storage/filestore/store_queries.go
6
74.67
-0.7% pkg/storage/filestore/store_loader.go
Jobs
ID Job ID Ran Files Coverage
1 34352258037.1 09 Sep 2026 12:39PM UTC 95
90.95
GitHub Action Run
Source Files on build 34352258037
  • Tree
  • List 95
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4ee26569 on github
  • Prev Build on main (#34349580300)
  • Next Build on main (#34355026106)
  • 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