Grant the bus keeper its account's information, which every bucket create asks first
mesh/delivery merged: source.main moved to novox/mesh-delivery@3f96301177b1
mesh/check checking 66f31c8e97a6 on f9cadbfdbb93
mesh/delivery merged: source.main moved to novox/mesh-delivery@3f96301177b1
mesh/check checking 66f31c8e97a6 on f9cadbfdbb93
The keeper on novox (nats fea2c02b) has been refused $JS.API.INFO every 30 s since 21:58 UTC: the client library's CreateKeyValue asks the account's information before it creates a bucket, so each create of KV_distribution_* and KV_gitea_* timed out and the keeper never finished a fill pass (health failed). Read-only: the account's limits and usage, never a stream's data. Claude-Session: https://claude.ai/code/session_01NcbgfFfQ4Z9UE5jK32PmE5
This commit is contained in:
@@ -1141,6 +1141,10 @@ func theBusModulesProcessKeepsBusState(t *testing.T) {
|
||||
perms[u.Username()] = p
|
||||
}
|
||||
keeper := perms["a.nats.keeper"]
|
||||
// A key-value bucket's create asks the account's information first (the client library's CreateKeyValue).
|
||||
if !MayPublish(keeper, "$JS.API.INFO") {
|
||||
t.Errorf("the bus module's process may not read its account's information, which every bucket create asks first")
|
||||
}
|
||||
for _, u := range []string{"a.nats.keeper", "a.nats.other", "a.mod-x.sneak", "a.node-tools", "a.nats.nats-tools", "a.admin-ish"} {
|
||||
if _, ok := perms[u]; !ok {
|
||||
t.Fatalf("no user %s composed: %v", u, slices.Collect(maps.Keys(perms)))
|
||||
|
||||
Reference in New Issue
Block a user