Vito
55fa2c4870
fix(runs): count cached PromptManager nodes fed by a runtime text link on every job ( #347 ) ( #423 )
...
* fix(usage): count cached re-runs of runtime-linked prompt text (#347 )
A PromptManager-family node whose text comes from a runtime link
(PreviewAny, an LLM, a list node) counted only the job that executed it;
later jobs served from ComfyUI's output cache counted nothing.
Each execution now records a receipt (digests of its STRING outputs and
hashes of the text it stores) per run key and queue item. On
execution_cached the receipt whose digests equal the cache entry's text is
replayed once for the job, with the node's role and what the queue hook
already saw recomputed from the job's own graph. The executing node and the
replay count through one shared own_counts. Unmatched cache entries count
nothing, as before; a node that executes after its replay in the same job
skips its own count. No schema change, no backfill.
* fix(usage): never replay a node twice in one job; dedupe receipts once complete (#347 )
A repeated execution_cached id or message for the same job now counts the
node once. Receipts replace equal older ones only when their job finishes
(or the next job starts), so a list still recording [A] of [A, B] no longer
drops an older [A] receipt. Node-level tests check the receipt each
execution records.
* test(comfyui): count #347 's cached-run cases in the execution suite pin (#347 )
The pin listed 19 execution-text-link cases per project; #347 adds five node
kinds and eight one-renderer cases, so the suite lists 32 per project and 118
in total with #332 's image-attribution case from main.
2026-10-28 16:37:24 +00:00
..
2026-10-28 15:29:41 +00:00
2026-10-28 16:37:24 +00:00
2026-10-17 13:14:02 -07:00
2026-10-28 15:29:41 +00:00
2026-10-28 13:31:23 +00:00
2026-10-28 16:37:24 +00:00
2026-02-07 08:30:09 -08:00
2026-10-27 02:15:23 -07:00
2026-10-28 05:18:00 +00:00
2026-10-25 18:25:20 -07:00
2026-10-17 23:26:37 -07:00
2026-10-22 10:36:58 -07:00
2026-10-19 17:26:37 -07:00
2026-10-27 16:56:37 +00:00
2026-10-23 11:09:12 -07:00
2026-10-22 21:39:01 -07:00
2026-10-08 18:53:11 -07:00
2026-10-23 11:09:12 -07:00
2026-10-28 05:18:00 +00:00
2026-10-26 21:21:33 -07:00
2026-10-27 16:56:37 +00:00
2026-10-27 20:30:54 +00:00
2026-10-27 22:07:59 +00:00
2026-10-28 00:32:30 +00:00
2026-10-27 22:40:57 +00:00
2026-10-27 00:20:13 -07:00
2026-10-28 05:18:00 +00:00
2026-10-28 11:25:20 +00:00
2026-10-28 00:32:30 +00:00
2026-10-17 08:00:42 -07:00
2026-10-27 06:19:39 -07:00
2026-10-28 05:18:00 +00:00
2026-10-28 05:18:00 +00:00
2026-10-28 13:29:29 +00:00
2026-10-28 05:18:00 +00:00
2026-10-28 15:29:41 +00:00
2026-10-28 05:18:00 +00:00
2026-10-24 12:54:09 -07:00
2026-10-26 21:21:33 -07:00
2026-10-28 09:06:15 +00:00
2026-10-27 06:19:39 -07:00
2026-10-28 05:18:00 +00:00
2026-10-25 10:17:07 -07:00
2026-10-17 08:00:42 -07:00
2026-10-27 16:56:37 +00:00
2026-10-28 05:18:00 +00:00
2026-10-23 18:07:14 -07:00
2026-10-28 07:22:48 +00:00
2026-10-22 07:19:53 -07:00
2026-10-24 06:50:53 -07:00
2026-10-28 16:00:15 +00:00
2026-10-28 05:18:00 +00:00
2026-10-27 20:30:54 +00:00
2026-10-27 20:30:54 +00:00
2026-10-27 22:40:57 +00:00
2026-10-27 20:30:54 +00:00
2026-10-17 23:26:37 -07:00
2026-10-27 17:45:24 +00:00
2026-10-27 17:45:24 +00:00
2026-10-26 21:21:33 -07:00
2026-10-27 17:45:24 +00:00
2026-10-28 16:37:24 +00:00
2026-10-23 11:09:12 -07:00
2026-10-08 18:53:11 -07:00
2026-10-22 21:39:01 -07:00
2026-10-27 03:26:34 -07:00
2026-10-27 20:30:54 +00:00
2026-10-19 11:10:47 -07:00
2026-10-23 04:59:18 -07:00
2026-10-28 16:00:15 +00:00
2026-10-22 07:19:53 -07:00
2026-10-27 22:40:57 +00:00
2026-10-17 16:42:07 -07:00
2026-10-25 10:17:07 -07:00
2026-10-28 15:29:41 +00:00
2026-10-08 18:53:11 -07:00
2026-10-17 23:26:37 -07:00
2026-10-17 23:26:37 -07:00
2026-10-19 11:10:47 -07:00
2026-10-17 19:51:22 -07:00
2026-10-17 19:51:22 -07:00
2026-10-17 23:26:37 -07:00
2026-10-17 19:51:22 -07:00
2026-10-19 11:10:47 -07:00
2026-10-17 16:42:07 -07:00
2026-10-27 16:35:01 +00:00
2026-10-25 10:17:07 -07:00
2026-10-28 05:18:00 +00:00
2026-10-17 23:26:37 -07:00
2026-10-19 11:10:47 -07:00
2026-10-17 23:26:37 -07:00
2026-10-27 16:35:01 +00:00
2026-10-17 23:26:37 -07:00
2026-10-28 05:18:00 +00:00
2026-10-17 23:26:37 -07:00
2026-10-28 10:15:28 +00:00
2026-10-28 03:48:11 +00:00
2026-10-17 16:42:07 -07:00
2026-10-17 05:31:24 -07:00
2026-10-26 16:14:50 -07:00
2026-10-23 13:15:06 -07:00
2026-10-19 20:56:51 -07:00
2026-10-19 20:56:51 -07:00
2026-10-25 18:25:20 -07:00
2026-10-27 02:15:23 -07:00
2026-10-21 04:18:28 -07:00
2026-10-18 17:17:05 -07:00
2026-10-21 02:25:25 -07:00
2026-10-17 23:26:37 -07:00
2026-10-21 10:55:35 -07:00
2026-10-28 15:29:41 +00:00
2026-10-21 09:10:18 -07:00
2026-10-27 02:15:23 -07:00
2026-10-27 04:22:27 -07:00
2026-10-26 21:21:33 -07:00
2026-10-27 22:20:27 +00:00
2026-10-24 12:54:09 -07:00
2026-10-27 04:22:27 -07:00
2026-10-19 09:54:29 -07:00
2026-10-23 11:09:12 -07:00
2026-10-21 10:55:35 -07:00
2026-10-21 04:18:28 -07:00
2026-10-19 09:54:29 -07:00
2026-10-22 10:36:58 -07:00
2026-10-27 16:56:37 +00:00
2026-10-27 22:40:57 +00:00
2026-10-25 10:17:07 -07:00
2026-10-23 16:58:06 -07:00
2026-10-28 03:54:55 +00:00
2026-10-27 16:56:37 +00:00
2026-10-24 12:54:09 -07:00
2026-10-24 12:54:09 -07:00
2026-10-27 02:15:23 -07:00
2026-10-24 12:54:09 -07:00
2026-10-18 20:03:15 -07:00
2026-10-23 14:19:11 -07:00
2026-10-27 16:56:37 +00:00
2026-10-08 18:53:11 -07:00
2026-10-27 05:00:55 -07:00
2026-10-27 05:00:55 -07:00
2026-10-27 05:00:55 -07:00
2026-10-27 05:00:55 -07:00
2026-10-24 05:28:44 -07:00
2026-10-24 20:39:08 -07:00
2026-10-23 14:19:11 -07:00
2026-02-07 12:36:11 -08:00
2026-10-22 10:36:58 -07:00
2026-10-26 21:21:33 -07:00
2026-10-07 13:52:09 -07:00
2026-10-27 02:15:23 -07:00
2026-10-17 08:00:42 -07:00
2026-10-27 02:53:02 -07:00
2026-10-26 22:23:06 -07:00
2026-10-17 08:00:42 -07:00
2026-10-17 19:51:22 -07:00
2026-10-21 10:55:35 -07:00
2026-10-23 14:19:11 -07:00
2026-10-17 08:00:42 -07:00
2026-10-17 08:00:42 -07:00
2026-10-28 00:32:30 +00:00
2026-10-23 14:19:11 -07:00
2026-10-22 07:19:53 -07:00
2026-10-28 16:37:24 +00:00
2026-10-17 08:00:42 -07:00
2026-10-08 18:53:11 -07:00
2026-10-27 02:15:23 -07:00
2026-10-17 06:47:46 -07:00
2026-10-17 19:51:22 -07:00
2026-10-27 16:56:37 +00:00
2026-10-18 20:03:15 -07:00
2026-10-27 02:15:23 -07:00
2026-10-28 16:37:24 +00:00
2026-10-17 16:42:07 -07:00
2026-10-28 13:29:29 +00:00
2026-10-27 16:56:37 +00:00
2026-10-27 16:56:37 +00:00
2026-10-27 16:56:37 +00:00
2026-10-25 10:17:07 -07:00
2026-10-26 07:35:21 -07:00
2026-10-28 03:48:11 +00:00
2026-10-25 10:17:07 -07:00
2026-10-23 18:07:14 -07:00
2026-10-27 02:15:23 -07:00
2026-10-28 07:22:48 +00:00
2026-10-27 02:15:23 -07:00
2026-10-28 07:22:48 +00:00
2026-10-27 20:30:54 +00:00
2026-10-27 02:15:23 -07:00
2026-10-28 13:29:29 +00:00
2026-10-26 21:21:33 -07:00
2026-10-28 00:32:30 +00:00
2026-10-21 09:10:18 -07:00
2026-10-23 14:19:11 -07:00
2026-10-08 18:53:11 -07:00
2026-10-27 03:26:34 -07:00
2026-10-08 18:53:11 -07:00
2026-10-17 06:47:46 -07:00
2026-10-25 10:17:07 -07:00
2026-10-28 03:48:11 +00:00
2026-10-26 11:46:54 -07:00
2026-10-24 21:00:30 -07:00
2026-10-24 21:00:30 -07:00
2026-10-26 11:46:54 -07:00
2026-10-24 21:00:30 -07:00
2026-10-27 02:15:23 -07:00
2026-10-08 18:53:11 -07:00
2026-10-28 09:06:15 +00:00
2026-10-08 18:53:11 -07:00
2026-10-22 10:21:02 -07:00
2026-10-08 18:53:11 -07:00
2026-10-22 07:19:53 -07:00
2026-10-24 06:50:53 -07:00
2026-10-24 06:50:53 -07:00
2026-10-24 06:50:53 -07:00
2026-10-24 06:50:53 -07:00
2026-10-23 01:58:02 -07:00
2026-10-28 06:16:57 +00:00
2026-10-27 16:56:37 +00:00