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

dal-go / dalgo / 41796163404 / 1
100%
main: 100%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2026 08:06AM UTC
Files 187
Run time 1s
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

04 Nov 2026 08:00AM UTC coverage: 100.0%. Remained the same
41796163404.1

push

github

web-flow
feat(dbschema): optional NativeAccessReader capability (#235)

Adds one optional, engine-neutral capability to `dbschema`: `NativeAccessReader`. It answers which database principals can natively reach a collection, and why: grants, membership routes, row security, confidence and coverage with blind spots.

Why this exported API is OK to add (AGENTS.md: a human's verbatim reason). Alexander Trakhimenok, founder, 2026-11-04:
- "if we need to read Postgres schema, that should be done in Dalgo adapter, not custom something."
- On the proposed optional `dbschema` interface: "Yes, approve it".

**Purely additive.** It is a separate optional interface resolved with `dal.As`, like `SourceViewReader`. No existing exported API changed.

**Callers must read a missing interface as unknown.** If the interface is absent, or returns `*NotSupportedError`, that means "native access unknown", never "nobody".

**SQLite doesn't implement it,** because it has no principals.

Spec: `spec/features/dbschema/native-access/README.md`. Grant scope and SQL Server DENY are left as Open Questions.

**First implementation:** dal-go/dalgo2postgres. Its PR follows once this release is tagged.

Checks:
- `go test ./dbschema/ -race -cover`: 100%;
- vet and golangci-lint: clean;
- `specscore spec lint`: 0 violations.

Independent review and re-review: approve. The re-review named head e25c856.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Source commits:

- a9346af35cb4 spec(dbschema): specify the optional NativeAccessReader capability
  Adds the dbschema child Feature native-access: an optional, additive
  capability that answers which native principals can reach a collection,
  with which privileges, why, and what the engine's catalog cannot show.
  It never answers "nobody" when it cannot know.
  Exported-API approval (AGENTS.md), Alexander Trakhimenok, founder,
  2026-11-04:
  - Asked: "May DALgo get a new optional, additive interface for reading
  database roles ... (continued)

26067 of 26067 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 41796163404.1
  • Tree
  • List 187
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 41796163404
  • 82c6327e on github
  • Prev Job for on main (#41795276145.1)
  • Next Job for on main (#41820932991.1)
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