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

raystack / frontier / 34191753720
50%
main: 50%

Build:
Build:
LAST BUILD BRANCH: fix/sdk-invoice-blocker-plural
DEFAULT BRANCH: main
Ran 08 Sep 2026 07:24AM UTC
Jobs 1
Files 310
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

08 Sep 2026 05:42AM UTC coverage: 50.211% (+0.2%) from 50.017%
34191753720

Pull #1915

github

rohanchkrabrty
refactor(consent): ask the consent service whether it is enabled

The handler derived "consent is on" from len(Documents()) > 0, which is only
equivalent to the config flag because boot validation rejects an enabled block
with no documents. consent.Service answers it directly now. Enabled() is the
flag and a non-empty document set, so it matches what the handler was already
computing in all four config states, including the one validation rejects.

That removes the two comments whose only job was to explain the inference: the
doc comment on the handler helper, and the one in the test saying an enabled
deployment always has documents. The helper goes with them, because all that
was left of it was a nil guard on a dependency the server always wires and
which no other service on that handler guards.

The boot log asks the same question rather than counting documents, so there
is one definition of enabled rather than two.

Refs docs/rfcs/0002-explicit-consent-at-signup.md

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #1915: feat(authenticate): map the gate and consent errors on both auth RPCs

85 of 89 new or added lines in 4 files covered. (95.51%)

20629 of 41085 relevant lines covered (50.21%)

15.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
0.0
0.0% cmd/serve.go
Jobs
ID Job ID Ran Files Coverage
1 34191753720.1 08 Sep 2026 07:24AM UTC 310
50.21
GitHub Action Run
Source Files on build 34191753720
  • Tree
  • List 310
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1915
  • PR Base - feature/featconsent-record-consent-in-the-same-transaction-as-the (#34157329700)
  • 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