Commit Graph

233 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
a24b11905c update DB 2025-09-09 12:19:49 +09:00
Dr.Lt.Data
f4f2c01ac1 update DB 2025-09-08 06:40:55 +09:00
Dr.Lt.Data
71d0f4ab63 update DB 2025-09-05 12:56:40 +09:00
Dr.Lt.Data
ae536017d5 update DB 2025-09-05 07:49:12 +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
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
4e31aaa8fb update DB 2025-08-30 10:47:43 +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
e7d0b158e9 update DB 2025-08-22 05:41:35 +09:00
Dr.Lt.Data
109cc21337 update DB 2025-08-19 07:48:17 +09:00
Dr.Lt.Data
0ba112c2c7 update DB 2025-08-18 07:47:41 +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
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
398b905758 update DB 2025-08-13 12:12:36 +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
b3581564ed update DB 2025-08-11 12:28:12 +09:00
Dr.Lt.Data
d497eb1f00 update DB 2025-08-07 08:42:22 +09:00
Dr.Lt.Data
a896ded763 update DB 2025-08-06 07:26:55 +09:00
Dr.Lt.Data
363736489c update DB 2025-08-04 08:59:40 +09:00
Dr.Lt.Data
0b30f2cb50 update DB 2025-08-04 07:02:06 +09:00
Dr.Lt.Data
b8b71bb961 update DB 2025-07-30 12:16:25 +09:00
Dr.Lt.Data
030e02ffb8 update DB 2025-07-30 08:57:38 +09:00
Dr.Lt.Data
e730dca1ad update DB 2025-07-29 12:13:35 +09:00
Dr.Lt.Data
a1d37d379c update DB 2025-07-26 09:34:57 +09:00
Dr.Lt.Data
0c71565535 update DB 2025-07-24 21:28:41 +09:00
Dr.Lt.Data
a4940d46cd update DB 2025-07-24 02:01:16 +09:00
Dr.Lt.Data
ee69d393ae update DB
update scanner script
2025-07-17 12:22:13 +09:00
Dr.Lt.Data
5fdd6a441a update DB 2025-07-12 09:07:33 +09:00
Dr.Lt.Data
2fd26756df update DB 2025-07-10 07:41:25 +09:00
Dr.Lt.Data
546db08ec4 update DB 2025-07-09 08:56:44 +09:00
Dr.Lt.Data
092a7a5f3f update DB 2025-07-07 23:38:10 +09:00
Dr.Lt.Data
bf379900e1 update DB 2025-07-06 13:40:17 +09:00
Dr.Lt.Data
9bafc90f5e update DB 2025-07-06 08:31:22 +09:00
Dr.Lt.Data
3ec8cb2204 update DB 2025-07-05 06:06:16 +09:00
Dr.Lt.Data
f33bc127dc update DB 2025-07-03 07:31:25 +09:00
Dr.Lt.Data
db89076e48 update DB 2025-07-01 07:30:59 +09:00
Dr.Lt.Data
4aeabfe0a7 update DB 2025-06-30 07:34:20 +09:00
Dr.Lt.Data
5b3c9432f3 update DB 2025-06-29 15:48:08 +09:00
Dr.Lt.Data
4a6dee3044 update DB 2025-06-28 08:45:28 +09:00
Dr.Lt.Data
566fe05772 update DB 2025-06-26 22:56:48 +09:00
Dr.Lt.Data
efe9ed68b2 update DB 2025-06-26 06:56:56 +09:00