Skip to content

Add workflow VC status batch endpoint - #11

Merged
santoshkumarradha merged 1 commit into
mainfrom
santosh/VC-UI
Nov 13, 2025
Merged

Add workflow VC status batch endpoint#11
santoshkumarradha merged 1 commit into
mainfrom
santosh/VC-UI

Conversation

@santoshkumarradha

Copy link
Copy Markdown
Member

Summary

  • add /api/ui/v1/workflows/vc-status so the UI can request VC indicators for many workflows at once, including new DIDHandler entry point plus VCService aggregation helpers
  • teach the storage/provider layer how to surface workflow VC aggregations and wire the React tables + badges through a useWorkflowVCStatuses hook that falls back to the legacy per-workflow chain lookups when the batch API is absent
  • refresh the documentation chatbot example (README + node) to describe the 3-reasoner architecture, document-aware retrieval, and updated ingestion behavior so newcomers can run the sample without guesswork

Testing

  • ./scripts/test-all.sh
  • Additional verification (please describe): go test ./... (run from control-plane/)

Checklist

  • I updated documentation where applicable.
  • I added or updated tests (or none were needed).
  • I updated CHANGELOG.md (or this change does not warrant a changelog entry).

Screenshots (if UI-related)

N/A – tables reuse the existing VC badge components.

Related issues

None.

Introduces a new API endpoint `/api/ui/v1/workflows/vc-status` to efficiently retrieve VC status summaries for multiple workflows in a single request. This optimizes performance by reducing the number of individual API calls required when displaying workflow lists or related information.

The implementation includes a new handler in `DIDHandler`, a corresponding service method in `VCService`, and storage logic in `VCStorage` and `LocalStorage`. The frontend has been updated to utilize this new batch endpoint in `useWorkflowVCStatuses`.
@santoshkumarradha
santoshkumarradha merged commit d6e5b0d into main Nov 13, 2025
2 checks passed
@santoshkumarradha
santoshkumarradha deleted the santosh/VC-UI branch November 13, 2025 02:03
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