Skip to content

feat(comfy): ingest completed local outputs into linked folders and copy pipelines - #438

Merged
BerryUIKI merged 11 commits into
devfrom
codex/comfy-completion-ingestion
Nov 5, 2026
Merged

BerryUIKI merged 11 commits into
devfrom
codex/comfy-completion-ingestion

Conversation

@BerryUIKI

Copy link
Copy Markdown
Owner

ComfyUI monitoring previously updated queue state while library ingestion depended on filesystem notifications. This adds an optional, session-scoped output mapping: persisted image events index named files in a registered linked folder or harvest them through an enabled copy-only pipeline, then refresh the gallery through the existing library event.

The native path processes at most 64 descriptors per frame without walking the output tree. It rejects unsafe paths, overlapping/linked destinations, paused/move pipelines and orphan sidecars; identical duplicates do not refresh, and different-byte collisions preserve both files and report failure. Exclusive copy creation closes the check/copy overwrite race in ordinary pipeline publication and managed imports, retaining source permissions. This completion path never schedules cleanup or invokes Trash. The selector and hints cover all seven locales.

Adds the optional outputFolderId argument to the existing monitor command; omission retains monitoring-only behavior. No schema, configuration field or event DTO changes. Also reconciles the published v0.6.0 receipt and records these changes under Unreleased.

Validation

  • Production frontend build and all 353 frontend regressions passed on Windows.
  • cargo fmt --check and strict workspace clippy passed.
  • Final cargo test --offline --workspace: 434 passed, zero failed, two existing tests ignored.
  • IPC inventory: all 169 command signatures verified; existing shared serialization fixtures passed.
  • Seven-language release-note validation passed. Native protocol tests use local HTTP/WebSocket fixtures and ingestion tests use temporary files/databases.

Remaining acceptance

Remote transfer, reconnect/history catch-up, move/cleanup and a separate ingestion worker remain outside this PR. Legacy pipeline fallback still visits top-level files only, so disconnected nested outputs are not recovered by this package. Unix permission/symlink fixtures require Unix CI. Real personal ComfyUI, native GUI and installed-update/Sandbox acceptance were not exercised; #256 remains open.

Preserve the 11 small commits when merging into dev; do not squash or target main.

@BerryUIKI
BerryUIKI merged commit 59694b9 into dev Nov 5, 2026
3 checks passed
@BerryUIKI
BerryUIKI deleted the codex/comfy-completion-ingestion branch November 5, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant