Commit Graph

368 Commits

Author SHA1 Message Date
Dr.Lt.Data
43647249cf refactor: remove package-level caching to support dynamic installation
Remove package-level caching in cnr_utils and node_package modules to enable
proper dynamic custom node installation and version switching without ComfyUI
server restarts.

Key Changes:
- Remove @lru_cache decorators from version-sensitive functions
- Remove cached_property from NodePackage for dynamic state updates
- Add comprehensive test suite with parallel execution support
- Implement version switching tests (CNR ↔ Nightly)
- Add case sensitivity integration tests
- Improve error handling and logging

API Priority Rules (manager_core.py:1801):
- Enabled-Priority: Show only enabled version when both exist
- CNR-Priority: Show only CNR when both CNR and Nightly are disabled
- Prevents duplicate package entries in /v2/customnode/installed API
- Cross-match using cnr_id and aux_id for CNR ↔ Nightly detection

Test Infrastructure:
- 8 test files with 59 comprehensive test cases
- Parallel test execution across 5 isolated environments
- Automated test scripts with environment setup
- Configurable timeout (60 minutes default)
- Support for both master and dr-support-pip-cm branches

Bug Fixes:
- Fix COMFYUI_CUSTOM_NODES_PATH environment variable export
- Resolve test fixture regression with module-level variables
- Fix import timing issues in test configuration
- Register pytest integration marker to eliminate warnings
- Fix POSIX compliance in shell scripts (((var++)) → $((var + 1)))

Documentation:
- CNR_VERSION_MANAGEMENT_DESIGN.md v1.0 → v1.1 with API priority rules
- Add test guides and execution documentation (TESTING_PROMPT.md)
- Add security-enhanced installation guide
- Create CLI migration guides and references
- Document package version management

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 09:07:09 +09:00
Dr.Lt.Data
7c3ccc76c3 update DB 2025-09-12 12:48:20 +09:00
Dr.Lt.Data
e278692749 update DB 2025-09-11 12:36:38 +09:00
Dr.Lt.Data
14ede2a585 update DB 2025-09-10 11:58:27 +09:00
Dr.Lt.Data
5b525622f1 update DB 2025-09-10 07:52:05 +09:00
Dr.Lt.Data
a24b11905c update DB 2025-09-09 12:19:49 +09:00
Dr.Lt.Data
0bcc0c2101 update DB 2025-09-08 12:31:06 +09:00
Dr.Lt.Data
b8850c808c update DB 2025-09-08 07:47:24 +09:00
Dr.Lt.Data
71d0f4ab63 update DB 2025-09-05 12:56:40 +09:00
Dr.Lt.Data
6cf958ccce udpate DB 2025-09-04 12:22:45 +09:00
Dr.Lt.Data
104ae77f7a update DB 2025-09-03 12:12:40 +09:00
Dr.Lt.Data
bfcb2ce61b update DB 2025-09-03 07:40:58 +09:00
Dr.Lt.Data
63ba5fed09 update DB 2025-09-03 01:07:30 +09:00
Dr.Lt.Data
7509737563 update DB 2025-09-02 12:59:44 +09:00
Dr.Lt.Data
cfb815d879 update DB 2025-09-01 12:05:21 +09:00
Dr.Lt.Data
70741008ca Update DB 2025-08-31 18:11:54 +09:00
Dr.Lt.Data
4e31aaa8fb update DB 2025-08-30 10:47:43 +09:00
Dr.Lt.Data
e0a96b4937 update DB 2025-08-29 13:00:32 +09:00
Dr.Lt.Data
82c055f527 update DB 2025-08-29 07:59:21 +09:00
Dr.Lt.Data
7da00796e5 update DB 2025-08-27 12:21:31 +09:00
Dr.Lt.Data
5bc1f2f2c0 update DB 2025-08-26 19:39:38 +09:00
Dr.Lt.Data
9a36f4748c update DB 2025-08-25 08:06:43 +09:00
Dr.Lt.Data
116e068ac3 update DB 2025-08-22 12:41:08 +09:00
Dr.Lt.Data
e7d0b158e9 update DB 2025-08-22 05:41:35 +09:00
Dr.Lt.Data
0b013adb34 update DB 2025-08-20 12:24:39 +09:00
Dr.Lt.Data
7fe1159426 update DB 2025-08-20 05:23:08 +09:00
Dr.Lt.Data
109cc21337 update DB 2025-08-19 07:48:17 +09:00
Dr.Lt.Data
7e46b30fa5 update DB 2025-08-18 12:33:30 +09:00
Dr.Lt.Data
dcb37d9c55 update DB 2025-08-17 18:23:05 +09:00
Dr.Lt.Data
e99aafd876 update DB 2025-08-16 10:26:33 +09:00
Dr.Lt.Data
1f0adf8bcf update DB 2025-08-16 09:53:13 +09:00
Dr.Lt.Data
a8b0e3641b update DB 2025-08-15 10:13:33 +09:00
Dr.Lt.Data
8d9820b3fb update DB 2025-08-14 23:24:08 +09:00
Dr.Lt.Data
103f89551a update DB 2025-08-14 22:00:23 +09:00
Dr.Lt.Data
ee08c9e17f update DB 2025-08-14 07:42:41 +09:00
Dr.Lt.Data
398b905758 update DB 2025-08-13 12:12:36 +09:00
Dr.Lt.Data
3bf5edf5c9 update DB 2025-08-12 10:34:55 +09:00
Dr.Lt.Data
134bca526c update DB 2025-08-12 09:52:15 +09:00
Dr.Lt.Data
3393e58b06 update DB 2025-08-11 22:52:13 +09:00
Dr.Lt.Data
41798e9255 update DB 2025-08-11 07:44:25 +09:00
Dr.Lt.Data
aface43554 update DB 2025-08-10 11:02:38 +09:00
Dr.Lt.Data
9b32162906 update DB 2025-08-09 15:13:30 +09:00
Dr.Lt.Data
21bba62572 update DB 2025-08-09 12:35:05 +09:00
Dr.Lt.Data
5667e8bcbb update DB 2025-08-08 23:13:50 +09:00
Dr.Lt.Data
ae66bd0e31 update DB 2025-08-08 12:15:46 +09:00
Dr.Lt.Data
48dfadc02d update DB 2025-08-08 07:54:54 +09:00
Dr.Lt.Data
205044ca66 update DB 2025-08-07 12:19:21 +09:00
Dr.Lt.Data
d497eb1f00 update DB 2025-08-07 08:42:22 +09:00
Dr.Lt.Data
4e6f970ee9 update DB 2025-08-06 12:14:25 +09:00
Dr.Lt.Data
a896ded763 update DB 2025-08-06 07:26:55 +09:00