I'm seeing something that looks like a bug to me, ...
# talk-keto
a
I'm seeing something that looks like a bug to me, but I'd appreciate if someone could take a look. I'm creating a tuple with one object ('hire') and deleting a tuple with a different object ('retain') (BUT the other fields are the same) and the first tuple is being deleted, which is not what I'd expect:
Copy code
create products:hire#read@user-621166 -> ok
check products:hire#read@user-621166 -> allowed = true
delete products:retain#read@user-621166 -> ok (note we're deleting a different tuple the object is different)
check products:hire#read@user-621166 -> allowed = false (this should still be true)
here's what
keto version
says:
Copy code
> keto version
Version:			v0.10.0-alpha.0
Build Commit:	52259a30d0be0257f1bb7ef591ae769808450230
Build Timestamp:	2022-09-27T13:05:05Z
I'd expect the last line of
out.txt
to be
{"allowed":true}
since I deleted a tuple with a different object value.
Just so we're clear about what's running:
Copy code
> lsof -i :4468
COMMAND   PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
keto    28275 nick   33u  IPv6 0x180adeb1a76c3be9      0t0  TCP *:4468 (LISTEN)
> lsof -i :4469
COMMAND   PID USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
keto    28275 nick   34u  IPv6 0x180adeb1a76c42e9      0t0  TCP *:4469 (LISTEN)
reproduced this on one (out of one attempted) coworkers computer so far
s
is it flaky or happening always? I'd appreciate a dedicated issue 😉 https://github.com/ory/keto/issues/new?assignees=&labels=bug&template=BUG-REPORT.yml
a
Seems repeatable, tried it again this morning and got the same result, and on another coworker's machine for a total of 3. Thanks Ill get that filled out