checkAndMarkDelivery (src/selfhost/redis-cache.ts:30) short-circuits duplicate GitHub webhook redeliveries but records no metric on the dedup path, so operators can't quantify how many redeliveries Redis is absorbing (server.ts:722 has gittensory_webhook_dedup_total only for the in-process transient cache, not this Redis path). Add a gittensory_webhook_dedup_total{backend="redis"} increment when a delivery is already-seen.
Deliverables
References
src/selfhost/redis-cache.ts:30
src/server.ts:722
src/selfhost/metrics.ts:48
size: XS · gittensor:bug
checkAndMarkDelivery (src/selfhost/redis-cache.ts:30) short-circuits duplicate GitHub webhook redeliveries but records no metric on the dedup path, so operators can't quantify how many redeliveries Redis is absorbing (server.ts:722 has gittensory_webhook_dedup_total only for the in-process transient cache, not this Redis path). Add a gittensory_webhook_dedup_total{backend="redis"} increment when a delivery is already-seen.
Deliverables
References
src/selfhost/redis-cache.ts:30src/server.ts:722src/selfhost/metrics.ts:48size: XS · gittensor:bug