PostgreSQL 17 runners are live
All rules

FRN814[low]Application queries

Watched query not compared

Fronelta couldn't compare a registered query before and after the migrations.

Why it's risky in PostgreSQL

The query already failed before the migrations, a migration failed so there was no candidate to compare, the run ran out of time, or the timings overlapped too much to tell. Fronelta doesn't report an uncompared query as passing.

What triggers it, and the safer way

unsafe.sql
-- watched query that names a table the base schema doesn't have
safer.sql
-- Fix the query in the project's Queries settings, or the migration that failed, then re-run.

Suppress it when you're sure

Put this comment on the line before the statement. The reason is required and shows in the report.

suppression
-- fronelta:allow FRN814 <why this is safe here>

Applies to PostgreSQL 14, 15, 16, 17.