mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-19 10:52:28 +08:00
fix: filter source=live in edge functions (Codex review fix #5)
- community-benchmarks: add .eq("source", "live") to telemetry_events query
- community-pulse: use distinct install_fingerprint count instead of raw
count, add source=live filter to all queries
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -21,6 +21,7 @@ Deno.serve(async () => {
|
||||
.from("telemetry_events")
|
||||
.select("skill, duration_s, outcome")
|
||||
.eq("event_type", "skill_run")
|
||||
.eq("source", "live")
|
||||
.not("duration_s", "is", null)
|
||||
.not("skill", "is", null)
|
||||
.gte("event_timestamp", thirtyDaysAgo)
|
||||
|
||||
Reference in New Issue
Block a user