Running into an interesting flakey test
# spicedb
m
Running into an interesting flakey test with the Zed validate command. I can reproduce it in the playground (see https://play.authzed.com/s/3BMwAKOD7jdg/expected). Basically, if you open that link in the playground and keep clicking "Run", 1 out of every 10 runs fails to validate the line:
Copy code
platform_capability:base#can_read:
...
- "[user:* - {user:read_deny_machine_user, user:read_deny_user}] is <platform_capability:base#read_enabled>"
...
The validation error message doesn't seem to be helpful, it outlines the exepted/actual as the same value:
Copy code
For object and permission/relation `platform_capability:base#can_read`, found different excluded subjects for subject `user:*`: Specified: `<user:read_deny_machine_user>, <user:read_deny_user>`, Computed: `<user:read_deny_machine_user>, <user:read_deny_user>`([user:* - {user:read_deny_machine_user, user:read_deny_user}] is <platform_capability:base#read_enabled>)
j
probably a random ordering on the comparison logic
mind filing a bug?
m
sure, which repo should it be filed against?
Zed CLI?
j
SpiceDB
its likely an issue in the development package
m
alright thanks!
thanks!