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

raystack / frontier / 12309660899 / 1
30%
main: 38%

Build:
Build:
LAST BUILD BRANCH: perf/optimize-release-caching
DEFAULT BRANCH: main
Ran 13 Dec 2024 04:39AM UTC
Files 214
Run time 5s
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

13 Dec 2024 04:35AM UTC coverage: 30.395% (-0.03%) from 30.423%
12309660899.1

Pull #832

github

kushsharma
feat: multiple consistency levels for authz checks

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>
Pull Request #832: feat: multiple consistency levels for authz checks

7670 of 25234 relevant lines covered (30.4%)

9.44 hits per line

Source Files on job 12309660899.1
  • Tree
  • List 214
  • Changed 3
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12309660899
  • ce441ea2 on github
  • Prev Job for on sdb-token (#12293636285.1)
  • 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

© 2026 Coveralls, Inc