Skip to content

ci: ignore the dashboard's session-only operations in spec coverage - #5

Merged
facundofarias merged 1 commit into
mainfrom
fix/ignore-dashboard-session-ops
Nov 4, 2026
Merged

facundofarias merged 1 commit into
mainfrom
fix/ignore-dashboard-session-ops

Conversation

@facundofarias

Copy link
Copy Markdown
Member

Why

The pixelvault API has three web-dashboard operations that authenticate with a dashboard session token (an API key is rejected), so they are not SDK calls:

operationId route status
dashboard_list_images GET /v1/uploads (list + filename/description search) live (pixelvault#405)
dashboard_describe_image POST /v1/uploads/{id}/describe in pixelvault#406
dashboard_list_tags GET /v1/uploads/tags in pixelvault#407

dashboard_list_images is already in the live spec, so spec-coverage is red on main today:

New operations to cover or ignore: ['dashboard_list_images']

What

Add the three to IGNORED, with a comment, next to dashboard_upload / dashboard_delete_image. The keyed equivalent of the list is already wrapped as list_images.

Verification

  • Against the live spec: python3 -I scripts/check_spec_coverage.py → spec coverage ok: 15 covered, 18 ignored.
  • Safe to merge before pixelvault#406/#407 deploy: the script only fails on operations that are live but unlisted, or covered ones that disappear; an ignored operation that is not live yet is not an error.

Note

This supersedes #4, which lists only the first operation and edits the same line. Merge this one and close #4 (or merge #4 and rebase this).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Tde8opdomzAwwCkmME3ePL

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Tde8opdomzAwwCkmME3ePL
@facundofarias
facundofarias merged commit d13803f into main Nov 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant