Your coding agent can now query your Supabase logs, and our skill points it to the signals to watch.
41,973 次观看
24 条评论
评论来自 X (Twitter) 上的原帖

@supabase
For each problem, your agent gives you the measured value and where to look. Set up an agent prompt →
4 个赞

@luca_iaconelli
been doing this on feednest for a while, my agents already had supabase hooked in and fixed a lot of slow queries. nice that it's built in now
4 个赞

@Atlantisxd
does it flag rls misconfigs too or just perf stuff?
2 个赞

@jeffbruchado
the slow query and the code that fires it finally end up in the same context. no more copying stack traces from the dashboard into the editor
2 个赞

@Adrilopal99
Read-only checks are a good starting point. The next useful loop is finding → owner → resolution: carry an unresolved issue forward without presenting it as a new incident on every run. Otherwise a helpful daily check can turn into a very polite alarm clock.
1 个赞

@quenchbase
Very nice.
1 个赞

@heyveyro
I'd want the report to show the previous baseline next to each spike. “errors doubled” reads very differently when it's 2 to 4 versus 2,000 to 4,000.
1 个赞

@datachad
slow queries is where I would point it first, one count(*) of mine went from 3,925ms to 4ms just by reading reltuples instead
1 个赞

@jimmyyangrz
Can this run with a read-only setup, so the agent only gets logs and advisors and nothing else?
1 个赞

@Shasko
having it check slow queries on its own schedule is the part i'd use. right now i only notice one when a page takes 6 seconds and i go digging in the dashboard
1 个赞

@ed_vokaai
Sounds fantastic, gonna give it a try!
1 个赞

@gnotnuk
the logs finally get a reading buddy
1 个赞

@humayun_x
Agents reading prod logs will catch more bugs than agents writing more code.

@BenAdelson
can you make a better safer read only mcp

@mohammadvazin
The hard part isn't reading the logs, it's knowing what changed. A slow-query spike after a deploy and one after a newsletter look the same in logs. Give the agent the deploy and traffic timeline too, and alerts turn into an actual diagnosis.

@MilesBuilds
the security check is the part i'd run first. does it flag tables with RLS turned off, or only what shows up in the logs?

@Hershal0_0
great, now my AI can judge my 400ms query latency in real time

@rubface0329
Please let repeat findings update one existing issue instead of opening a fresh one every run. An agent discovering the same slow query 40 times is a very enthusiastic new source of noise.

@jokarmanx
I have issue subscription monthly it is possible for yearly subscription

@Azharthegreat
read_only=true covers the database. The report is still a write, a Linear issue in the blog's example, and it's built from logs whose request paths and user agents anyone on the internet can type.



