[PR #2035] [MERGED] [feat] Add bulk import failure info API endpoint #2230

Closed
opened 2026-10-28 21:08:10 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/ComfyUI-Manager/pull/2035
Author: @viva-jinyi
Created: 7/27/2025
Status: ✅ Merged
Merged: 7/29/2025
Merged by: @ltdrdata

Base: draft-v4 ← Head: feat/import-fail-info-bulk-api


📝 Commits (3)

  • 9d89497 [feat] Add bulk import failure info API endpoint
  • 1321972 modified: remove manager button completely. Now, even when using the legacy UI, it must always be accessed through the menu.
  • 6c6c51a chore(api): Add temporary cache reload for import_fail_info_bulk

📊 Changes

4 files changed (+119 additions, -3 deletions)

View changed files

📝 comfyui_manager/glob/manager_server.py (+59 -0)
📝 comfyui_manager/js/comfyui-manager.js (+0 -2)
📝 comfyui_manager/legacy/manager_server.py (+59 -0)
📝 pyproject.toml (+1 -1)

📄 Description

Summary

Add bulk API endpoint for import failure information to reduce API calls from N to 1 for performance optimization.

Changes

  • New endpoint: /v2/customnode/import_fail_info_bulk
  • Added to both: glob and legacy manager servers for compatibility
  • Input validation: Supports cnr_ids and/or urls arrays
  • Error handling: Maintains same pattern as original import_fail_info API
  • Performance: Reduces potential 100+ API calls to single bulk request

API Details

POST /v2/customnode/import_fail_info_bulk
{
  "cnr_ids": ["package1", "package2", ...],
  "urls": ["https://github.com/...", ...]
}

Returns object with package IDs/URLs as keys and import failure info as values.

Test plan

  • Verify bulk API processes multiple cnr_ids correctly
  • Test with intentionally broken custom nodes to generate import failures
  • Confirm both legacy and current manager versions work
  • Validate error handling for invalid inputs

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/ComfyUI-Manager/pull/2035 **Author:** [@viva-jinyi](https://github.com/viva-jinyi) **Created:** 7/27/2025 **Status:** ✅ Merged **Merged:** 7/29/2025 **Merged by:** [@ltdrdata](https://github.com/ltdrdata) **Base:** `draft-v4` ← **Head:** `feat/import-fail-info-bulk-api` --- ### 📝 Commits (3) - [`9d89497`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/9d894979320f1c90657d1b098b05e6339047a936) [feat] Add bulk import failure info API endpoint - [`1321972`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/1321972aa953fa212865a59c405553129aeeb56c) modified: remove manager button completely. Now, even when using the legacy UI, it must always be accessed through the menu. - [`6c6c51a`](https://github.com/Comfy-Org/ComfyUI-Manager/commit/6c6c51ab9cecebad1d77b1289da9ab7062bf6113) chore(api): Add temporary cache reload for import_fail_info_bulk ### 📊 Changes **4 files changed** (+119 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `comfyui_manager/glob/manager_server.py` (+59 -0) 📝 `comfyui_manager/js/comfyui-manager.js` (+0 -2) 📝 `comfyui_manager/legacy/manager_server.py` (+59 -0) 📝 `pyproject.toml` (+1 -1) </details> ### 📄 Description ## Summary Add bulk API endpoint for import failure information to reduce API calls from N to 1 for performance optimization. ## Changes - **New endpoint**: `/v2/customnode/import_fail_info_bulk` - **Added to both**: glob and legacy manager servers for compatibility - **Input validation**: Supports `cnr_ids` and/or `urls` arrays - **Error handling**: Maintains same pattern as original `import_fail_info` API - **Performance**: Reduces potential 100+ API calls to single bulk request ## API Details ```json POST /v2/customnode/import_fail_info_bulk { "cnr_ids": ["package1", "package2", ...], "urls": ["https://github.com/...", ...] } ``` Returns object with package IDs/URLs as keys and import failure info as values. ## Test plan - [x] Verify bulk API processes multiple cnr_ids correctly - [x] Test with intentionally broken custom nodes to generate import failures - [x] Confirm both legacy and current manager versions work - [x] Validate error handling for invalid inputs 🤖 Generated with [Claude Code](https://claude.ai/code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-28 21:08:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#2230
No description provided.