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

datatug / datatug-core / 34379361439
100%

Build:
DEFAULT BRANCH: main
Ran 09 Sep 2026 04:52PM 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 04:51PM UTC coverage: 90.994% (+0.04%) from 90.954%
34379361439

push

github

web-flow
feat(model): board SQL widgets reference a query instead of embedding SQL (#311)

Founder ruling 2026-09-09: put to the founder as option 1 of three ("Widget
references a library query. SQLWidgetSettings becomes a query reference plus
parameter bindings; the target comes from the referenced QueryDef.Targets,
and environment stays a view-time choice."). Founder answered verbatim:
"I'm Ok with the suggested option 1". The DIRECTION is founder-ruled; the
exact field shape (QueryID + WidgetParameterBindings) is the coding agent's
design, not the founder's, and is marked as such in code comments.

This REMOVES the exported field SQLWidgetSettings.Query and replaces it with
QueryID plus a Parameters binding list. Below 1.0.0 (this module has no
tagged 1.x release) a minor version bump is the honest bump for a removed
exported field on a breaking-shape struct; do not read this as needing a
major-version marker.

SQLWidgetSettings.Validate requires queryId and delegates to the new
WidgetParameterBindings/WidgetParameterBinding validators, which reject a
binding missing its id, a binding with both Value and BoardParameterID set,
and duplicate binding ids for the same parameter. Neither Value nor
BoardParameterID being set is valid and means "use the referenced query
parameter's own default" (ParameterDef.DefaultValue).

Updated the 8 existing test-literal sites in boards_test.go that constructed
SQLWidgetSettings{Query: ...} and added table-driven validation tests plus a
JSON round-trip test for the new shape.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

22 of 0 new or added lines in 0 files covered. (NaN%)

4082 of 4486 relevant lines covered (90.99%)

0.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34379361439.1 09 Sep 2026 04:52PM UTC 95
90.99
GitHub Action Run
Source Files on build 34379361439
  • Tree
  • List 95
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d273ed93 on github
  • Prev Build on main (#34355026106)
  • Next Build on main (#34380550779)
  • 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