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

raystack / frontier / 12346014325
38%

Build:
DEFAULT BRANCH: main
Ran 16 Dec 2024 04:40AM UTC
Jobs 1
Files 214
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

16 Dec 2024 04:37AM UTC coverage: 30.395% (-0.03%) from 30.423%
12346014325

push

github

web-flow
feat: multiple consistency levels for authz checks (#832)

So far frontier was either using no consistency level from spicedb
which defaults to prioritise minimum latency with minimal consistent
results as well. Other was fully consistent calls which provide the
most accurate authz resolution but takes substential latency hit.
A middle ground is introduced now that caches the zookie generated
during the last fully consistent check and uses that in all but
Check calls. This should speed up Lookup/List calls for authz.

Existing config `fully_consistent` is now deprecated in favor of
new consistency level.
```
spicedb:
  # consistency ensures Authz server consistency guarantees for various operations
  # Possible values are:
  # - "full": Guarantees that the data is always fresh although API calls might be slower than usual
  # - "best_effort": Guarantees that the data is the best effort fresh [default]
  # - "minimize_latency": Tries to prioritise minimal latency
  consistency: "best_effort"
```

Signed-off-by: Kush Sharma <thekushsharma@gmail.com>

3 of 54 new or added lines in 2 files covered. (5.56%)

4 existing lines in 1 file now uncovered.

7670 of 25234 relevant lines covered (30.4%)

9.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
11
0.0
0.0% cmd/serve.go
40
1.03
1.03% internal/store/spicedb/relation_repository.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
1.03
1.03% internal/store/spicedb/relation_repository.go
Jobs
ID Job ID Ran Files Coverage
1 12346014325.1 16 Dec 2024 04:40AM UTC 214
30.4
GitHub Action Run
Source Files on build 12346014325
  • Tree
  • List 214
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 89fbe30e on github
  • Prev Build on main (#12345265668)
  • Next Build on main (#12425698962)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc