MCPcopy
hub / github.com/cursor/community-plugins / markScanFailed

Function markScanFailed

apps/cursor/src/lib/plugins/scan.ts:268–278  ·  view source on GitHub ↗
(pluginId: string, errorMessage: string)

Source from the content-addressed store, hash-verified

266 * bury path without duplicating the update shape.
267 */
268export async function markScanFailed(pluginId: string, errorMessage: string) {
269 const supabase = await createClient();
270 await supabase
271 .from("plugins")
272 .update({
273 scan_status: "error",
274 flag_summary: errorMessage.slice(0, 500),
275 last_scanned_at: new Date().toISOString(),
276 })
277 .eq("id", pluginId);
278}
279
280async function applyBlockedShortCircuit(pluginId: string) {
281 const supabase = await createClient();

Callers 2

GETFunction · 0.90
runPluginScanFunction · 0.85

Calls 1

createClientFunction · 0.90

Tested by

no test coverage detected