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

datatug / backend / 34975033938
87%

Build:
DEFAULT BRANCH: main
Ran 15 Sep 2026 01:27PM UTC
Jobs 1
Files 6
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

15 Sep 2026 01:26PM UTC coverage: 91.667% (+1.3%) from 90.323%
34975033938

push

github

trakhimenok
feat(api): serve POST /v0/datatug/projects/create_project

Adds the HTTP layer and the extension config to this repo. Per sneat-go's
wire-and-configure-only rule, the api4/ext packages belong in the module's own
repo — the host only composes them.

- api4datatug: the handler runs
  apicore.VerifyAuthenticatedRequestAndDecodeBody -> facade4datatug.Facade
  .CreateProject -> apicore.ReturnJSON. The store is read from `?store=` exactly
  like the datatug CLI agent's create_project endpoint, so the web client keeps
  one call shape; a missing or unsupported store is a 400 (client error), not a
  server fault.
- datatugext.Extension(ids): the extension config the host composes. It takes
  the host's adapter for the domain's IDGenerator port, so the domain never
  learns which id library (or platform) is in use.
- api4datatug/import_pointers.go keeps the auth seam next to its shape
  declaration so the two cannot drift.

Tests drive the handler end to end against sneatcoretesting.NewMemoryDB() —
creating a project and reading both records back, an unsupported store, a
missing store, a failing ID port and an unavailable database — plus the
registered route path and the extension's identity/handler count.

93.8% statement coverage; go build / go vet / go test clean; gofmt clean.

32 of 34 new or added lines in 3 files covered. (94.12%)

88 of 96 relevant lines covered (91.67%)

0.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
92.59
api4datatug/http_project_create.go
Jobs
ID Job ID Ran Files Coverage
1 34975033938.1 15 Sep 2026 01:27PM UTC 6
91.67
GitHub Action Run
Source Files on build 34975033938
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 38d847f1 on github
  • Prev Build on main (#34974619258)
  • Next Build on main (#34979458060)
  • 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