Commit Graph

438 Commits

Author SHA1 Message Date
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
27fc787294 update DB 2025-09-13 08:06:27 +09:00
7c3ccc76c3 update DB 2025-09-12 12:48:20 +09:00
892dc5d4f3 update DB 2025-09-12 07:53:17 +09:00
8d77dd2246 update DB 2025-09-11 07:23:42 +09:00
14ede2a585 update DB 2025-09-10 11:58:27 +09:00
5b525622f1 update DB 2025-09-10 07:52:05 +09:00
a24b11905c update DB 2025-09-09 12:19:49 +09:00
0bcc0c2101 update DB 2025-09-08 12:31:06 +09:00
b8850c808c update DB 2025-09-08 07:47:24 +09:00
f4f2c01ac1 update DB 2025-09-08 06:40:55 +09:00
5ed6d8b202 update DB 2025-09-06 03:53:56 +09:00
71d0f4ab63 update DB 2025-09-05 12:56:40 +09:00
6cf958ccce udpate DB 2025-09-04 12:22:45 +09:00
eaed3677d3 update DB 2025-09-04 07:27:31 +09:00
104ae77f7a update DB 2025-09-03 12:12:40 +09:00
bfcb2ce61b update DB 2025-09-03 07:40:58 +09:00
63ba5fed09 update DB 2025-09-03 01:07:30 +09:00
09567b2bb2 update DB 2025-09-03 00:15:34 +09:00
7509737563 update DB 2025-09-02 12:59:44 +09:00
cfb815d879 update DB 2025-09-01 12:05:21 +09:00
44241fb967 update DB 2025-09-01 07:31:34 +09:00
70741008ca Update DB 2025-08-31 18:11:54 +09:00
4e31aaa8fb update DB 2025-08-30 10:47:43 +09:00
e0a96b4937 update DB 2025-08-29 13:00:32 +09:00
82c055f527 update DB 2025-08-29 07:59:21 +09:00
3d85ecc525 update DB 2025-08-28 00:25:45 +09:00
7da00796e5 update DB 2025-08-27 12:21:31 +09:00
5bc1f2f2c0 update DB 2025-08-26 19:39:38 +09:00
95ce812992 update DB 2025-08-25 12:59:46 +09:00
50b7849a35 update DB 2025-08-25 07:27:39 +09:00
35151ffdd1 update DB 2025-08-23 09:20:01 +09:00
4527d41a7a update DB 2025-08-22 21:13:29 +09:00
116e068ac3 update DB 2025-08-22 12:41:08 +09:00
1010dd2d28 update DB 2025-08-22 07:35:26 +09:00
e7d0b158e9 update DB 2025-08-22 05:41:35 +09:00
72a109f109 update DB 2025-08-21 07:29:53 +09:00
0b013adb34 update DB 2025-08-20 12:24:39 +09:00
7457d91f64 update DB 2025-08-20 07:44:09 +09:00
7fe1159426 update DB 2025-08-20 05:23:08 +09:00
109cc21337 update DB 2025-08-19 07:48:17 +09:00
7e46b30fa5 update DB 2025-08-18 12:33:30 +09:00
0ba112c2c7 update DB 2025-08-18 07:47:41 +09:00
dcb37d9c55 update DB 2025-08-17 18:23:05 +09:00
e99aafd876 update DB 2025-08-16 10:26:33 +09:00
1f0adf8bcf update DB 2025-08-16 09:53:13 +09:00
a8b0e3641b update DB 2025-08-15 10:13:33 +09:00
8d9820b3fb update DB 2025-08-14 23:24:08 +09:00
103f89551a update DB 2025-08-14 22:00:23 +09:00
ee08c9e17f update DB 2025-08-14 07:42:41 +09:00