From e1a4ff4747ccd61c2211064abc9af246aa1a54ac Mon Sep 17 00:00:00 2001 From: Facundo Farias Date: Wed, 4 Nov 2026 22:28:16 +0100 Subject: [PATCH] ci: ignore the dashboard's session-only operations in spec coverage The web dashboard has its own session-JWT endpoints (an API key is rejected) that appear in the live OpenAPI spec but are not SDK calls: - dashboard_list_images GET /v1/uploads (list + search; the SDK wraps the keyed GET /v1/images as list_images) - dashboard_describe_image POST /v1/uploads/{id}/describe (start an AI description for a stored image) - dashboard_list_tags GET /v1/uploads/tags (AI tag counts for the dashboard's filter bar) Same treatment as dashboard_upload / dashboard_delete_image: ignore, don't cover. Without this the spec-coverage check fails on every push and on the weekly run. Safe to merge before the API change deploys: an ignored operation that is not live yet is not an error. Supersedes #4, which only listed the first of the three. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Tde8opdomzAwwCkmME3ePL --- scripts/check_spec_coverage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/check_spec_coverage.py b/scripts/check_spec_coverage.py index a2aa027..d4cb1ff 100644 --- a/scripts/check_spec_coverage.py +++ b/scripts/check_spec_coverage.py @@ -17,6 +17,8 @@ # health, and surfaces the SDK does not cover yet. IGNORED = { "claim_upload", "dashboard_upload", "dashboard_delete_image", "playground_upload", "playground_generate", + # The web dashboard's session-JWT endpoints (an API key is rejected): list/search, AI descriptions, AI tags. + "dashboard_list_images", "dashboard_describe_image", "dashboard_list_tags", "health_check", "serve_image", # Billing: a person pays or cancels, so it is a dashboard/portal flow, not an SDK call. "start_checkout", "open_billing_portal",