Portal canary source guards were failing because bootstrap tests used a stub pool without query. Co-authored-by: Cursor <cursoragent@cursor.com>