Files
ltdrdata-ComfyUI-Impact-Pack/tests
Dr.Lt.DataandClaude fd1b40bee5 feat: Progressive on-demand wildcard loading system
Implement memory-efficient progressive loading for large wildcard collections (10GB+).

Closes #1137

## Key Changes

- **LazyWildcardLoader**: On-demand loading proxy with thread-safe caching
- **Auto mode detection**: Full cache (<50MB) or on-demand (≥50MB), configurable via `wildcard_cache_limit_mb`
- **Performance**: Startup 20-60min → <1min, Memory 5-10GB → <100MB, Size calc <1sec
- **API**: `/impact/wildcards/list/loaded` - Progressive tracking endpoint
- **UI**: Real-time status (🔵 On-Demand / 🟢 Full Cache) with loaded count
- **Compatibility**: Backward compatible, all existing features work unchanged

## Implementation

- YAML pre-loaded (keys in content), TXT on-demand (path = key)
- Early termination size calculation, transitive wildcard support maintained
- 15 test files with comprehensive documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-18 01:57:24 +09:00
..

ComfyUI Impact Pack - Test Suite

Test suite for ComfyUI Impact Pack custom nodes.

Test Structure

tests/
├── wildcards/           # Wildcard system tests (progressive loading, lazy loading, etc.)
│   └── README.md        # Detailed wildcard test documentation
└── workflows/           # Workflow test files (JSON)

Running Tests

Wildcard Tests

cd wildcards/

# Run all tests
for test in test_*.sh; do bash "$test"; done

# Run specific test
bash test_progressive_ondemand.sh

See wildcards/README.md for detailed testing guide.

Workflow Tests

Workflow test files are located in workflows/ directory and are used by the wildcard test scripts.

Documentation

For complete wildcard system documentation, see: