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

raystack / frontier / 33670669024
49%
main: 49%

Build:
Build:
LAST BUILD BRANCH: fix-dont-store-documents-in-flow-when-consent-disabled
DEFAULT BRANCH: main
Ran 02 Sep 2026 07:05PM UTC
Jobs 1
Files 305
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

02 Sep 2026 06:27PM UTC coverage: 49.247% (+0.09%) from 49.161%
33670669024

Pull #1911

github

rohanchkrabrty
feat(consent): add the user_consents table with immutability triggers

Adds user_consents per the RFC's Storage section: the table, the
documents_not_empty CHECK, the partial unique index giving a user at
most one signup consent, and BEFORE UPDATE / BEFORE DELETE triggers
that both raise 45000.

Schema only. The repository and the write path land with their caller,
following audit_records, whose table migration shipped in #1118 and
whose repository followed in #1124.

Four choices are deliberate and read as mistakes without the RFC: no
foreign key to users, ip_address as nullable TEXT rather than INET,
document versions and URLs copied rather than referenced, and the
partial unique index. Each is commented in the migration itself.

Part of RFC 0002:
https://github.com/raystack/frontier/blob/main/docs/rfcs/0002-explicit-consent-at-signup.md

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VW3nysiE4H83VQk6BroMYc
Pull Request #1911: feat(consent): add the user_consents table with immutability triggers

19960 of 40530 relevant lines covered (49.25%)

15.74 hits per line

Coverage Regressions

Lines Coverage ∆ File
15
64.58
40.19% pkg/db/db.go
Jobs
ID Job ID Ran Files Coverage
1 33670669024.1 02 Sep 2026 07:05PM UTC 305
49.25
GitHub Action Run
Source Files on build 33670669024
  • Tree
  • List 305
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1911
  • PR Base - feature/choreproto-pull-flowintent-and-the-consent-document-rpc (#33329454195)
  • 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