Skip to content

Add string output to preview text node.#13406

Merged
comfyanonymous merged 2 commits intomasterfrom
comfyanonymous-patch-1
Apr 14, 2026
Merged

Add string output to preview text node.#13406
comfyanonymous merged 2 commits intomasterfrom
comfyanonymous-patch-1

Conversation

@comfyanonymous
Copy link
Copy Markdown
Member

No description provided.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 14, 2026

Caution

Review failed

Pull request was closed or merged during review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 4a8a33c0-881b-4bbd-95fe-befe19369df8

📥 Commits

Reviewing files that changed from the base of the PR and between c16db7f and e88dd4a.

📒 Files selected for processing (1)
  • comfy_extras/nodes_preview_any.py

📝 Walkthrough

Walkthrough

The PreviewAny node has been modified to declare a return type and provide typed output to downstream nodes. The RETURN_TYPES attribute changes from an empty tuple to (IO.STRING,), and the main method's output payload is extended to include a result field containing the computed value. Previously, the node only returned UI text without providing an actual typed result.

🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive No description was provided by the author, making it impossible to assess whether intended changes match the actual implementation. Add a pull request description explaining the motivation for adding string output to the PreviewAny node and any relevant context for reviewers.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding a string output to the preview text node by modifying RETURN_TYPES and extending the output payload.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@comfyanonymous comfyanonymous merged commit c5569e8 into master Apr 14, 2026
15 of 16 checks passed
@comfyanonymous comfyanonymous deleted the comfyanonymous-patch-1 branch April 14, 2026 18:42
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