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

raystack / frontier / 29997227049
47%
main: 47%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/google.golang.org/grpc-1.82.1
DEFAULT BRANCH: main
Ran 23 Jul 2026 09:59AM UTC
Jobs 1
Files 290
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

23 Jul 2026 09:54AM UTC coverage: 46.697% (+0.02%) from 46.674%
29997227049

Pull #1797

github

rohilsurana
fix(reconcile): validate the permission namespace charset at plan time

The permission slug is service_resource_verb joined with "_", but the namespace charset was never checked, only the verb. So a namespace with an underscore in a part (resource_order/item) flattened to the same slug as a differently-spelled one (resource/order_item) and was silently treated as already present: the diff planned zero ops while the desired state differed (rule 2), and nothing ever detected it (rule 4). Add IsValidPermissionNamespace (each of service/resource lowercase alphanumeric, no underscore) and call it from validatePermissionSpec, so an ambiguous namespace fails the plan up front. Reconcile-side only; the rule sits inside SpiceDB's object-type grammar, so it never rejects a namespace the server could store, except the ambiguous underscore ones the fix targets.
Pull Request #1797: fix(reconcile): validate the permission namespace charset at plan time

17 of 17 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

18183 of 38938 relevant lines covered (46.7%)

14.32 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
95.77
-2.75% internal/reconcile/permission.go
Jobs
ID Job ID Ran Files Coverage
1 29997227049.1 23 Jul 2026 09:59AM UTC 290
46.7
GitHub Action Run
Source Files on build 29997227049
  • Tree
  • List 290
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1797
  • PR Base - main (#29997181076)
  • 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