Skip to content

Revise troubleshooting checklist and add infinite loop info#573

Open
SangeetaMishr wants to merge 1 commit intomainfrom
Flows-not-working---Troubleshoot-checklist.md
Open

Revise troubleshooting checklist and add infinite loop info#573
SangeetaMishr wants to merge 1 commit intomainfrom
Flows-not-working---Troubleshoot-checklist.md

Conversation

@SangeetaMishr
Copy link
Collaborator

@SangeetaMishr SangeetaMishr commented Feb 4, 2026

Updated the reading time, level, and last updated information in the troubleshooting checklist. Added details about infinite loop detection in flows.

Summary by CodeRabbit

Documentation

  • Flows Troubleshooting Guide Expanded: Added detailed troubleshooting information about infinite loop detection, including specific thresholds for when loops are flagged based on message repetition patterns at individual nodes.
  • Enhanced Documentation Metadata: Updated the troubleshooting guide with estimated read time, difficulty level classification, and last updated timestamp.

Updated the reading time, level, and last updated information in the troubleshooting checklist. Added details about infinite loop detection in flows.
@SangeetaMishr SangeetaMishr self-assigned this Feb 4, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 4, 2026

📝 Walkthrough

Walkthrough

Documentation update to a troubleshooting guide adds detailed specifications for detecting infinite loops in flows, including two distinct threshold conditions (Same Node, Different Messages at threshold 5; Same Node, Same Message at threshold 3), along with updated metadata reflecting a 5-minute read time and February 2026 last updated date.

Changes

Cohort / File(s) Summary
Documentation Update
docs/4. Product Features/03. Flows/4. Others/01. Flows not working - Troubleshoot checklist.md
Updated read time from 2 to 5 minutes; added Level: Intermediate and Last Updated metadata; introduced new "Infinite loop detected" error documentation detailing two detection thresholds (Same Node, Different Messages at 5, Same Node, Same Message at 3); inserted new item into both Troubleshoot checklist and Errors sections.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 When loops spin round and round they go,
We catch the infinite ebb and flow!
Five messages? Three repeats? We'll know,
With thresholds set to steal the show!
✨ Flows now flow without a hitch,
Documentation's growing rich! 📚

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title 'Revise troubleshooting checklist and add infinite loop info' accurately summarizes the main changes: updating the troubleshooting checklist and adding infinite loop detection documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch Flows-not-working---Troubleshoot-checklist.md

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.

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@docs/4`. Product Features/03. Flows/4. Others/01. Flows not working -
Troubleshoot checklist.md:
- Around line 80-92: The nested list indentation is inconsistent: the "Same
Node, Same Message" sub-item uses 2 spaces before the dash while the "Same Node,
Different Messages" sub-item uses 3; update the "Same Node, Same Message" list
block (the lines under that heading) to use the same 3-space indentation before
the dash so both nested list items are aligned and satisfy markdownlint-cli2;
ensure the threshold/action lines under "Same Node, Same Message" maintain the
same indentation pattern as the first sub-item.
🧹 Nitpick comments (1)
docs/4. Product Features/03. Flows/4. Others/01. Flows not working - Troubleshoot checklist.md (1)

2-10: Consider CSS classes or semantic markdown for better maintainability.

The inline styles work functionally but make the documentation harder to maintain. If your documentation system supports CSS classes or a more semantic approach, consider refactoring this metadata section.

♻️ Optional refactor: Use CSS classes if supported
-<h3>
- <table>
-  <tr>
-    <td><b>5 minutes read</b></td>
-    <td style={{ paddingLeft: '40px' }}><b>Level: Intermediate </b></td>
-    <td style={{ paddingLeft: '40px' }}><b>Last Updated: February 2026</b></td>
-  </tr>
-</table>
-</h3>
+<h3 class="doc-metadata">
+ <table>
+  <tr>
+    <td><b>5 minutes read</b></td>
+    <td class="metadata-spacing"><b>Level: Intermediate </b></td>
+    <td class="metadata-spacing"><b>Last Updated: February 2026</b></td>
+  </tr>
+</table>
+</h3>

Or use semantic markdown if your system supports frontmatter:

---
reading_time: 5 minutes
level: Intermediate
last_updated: February 2026
---

Comment on lines +80 to +92
13. `Infinite loop detected` - The system monitors nodes (node_uuid) for repeated triggers and message bodies (body). Infinite loops are detected using two thresholds:

- Same Node, Different Messages

> - **Condition:** A node is triggered multiple times with different message bodies.
> - **Threshold:** 5 times
> - **Action:** After the 5th different message hits the same node, the system flags it as an **infinite loop**.

- Same Node, Same Message

> - **Condition:** A node is triggered multiple times with the same message body.
> - **Threshold:** 3 times
> - **Action:** After the 3rd repetition of the same message at the same node, the system flags it as an **infinite loop**.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix indentation inconsistency in nested list.

The second sub-item (line 88) has inconsistent indentation compared to the first sub-item (line 82). Line 82 uses 3 spaces before the dash, while line 88 uses 2 spaces. This causes a markdownlint warning and may affect rendering.

🔧 Proposed fix for indentation
   -  Same Node, Different Messages

      > - **Condition:** A node is triggered multiple times with different message bodies.
      > - **Threshold:** 5 times
      > - **Action:** After the 5th different message hits the same node, the system flags it as an **infinite loop**.

-  -  Same Node, Same Message
+   -  Same Node, Same Message

     > - **Condition:** A node is triggered multiple times with the same message body.
     > - **Threshold:** 3 times
     > - **Action:** After the 3rd repetition of the same message at the same node, the system flags it as an **infinite loop**.

As per coding guidelines, markdownlint-cli2 flagged inconsistent indentation for list items at the same level (expected 3 spaces, actual 2 spaces at line 88).

🧰 Tools
🪛 markdownlint-cli2 (0.20.0)

[warning] 88-88: Inconsistent indentation for list items at the same level
Expected: 3; Actual: 2

(MD005, list-indent)

🤖 Prompt for AI Agents
In `@docs/4`. Product Features/03. Flows/4. Others/01. Flows not working -
Troubleshoot checklist.md around lines 80 - 92, The nested list indentation is
inconsistent: the "Same Node, Same Message" sub-item uses 2 spaces before the
dash while the "Same Node, Different Messages" sub-item uses 3; update the "Same
Node, Same Message" list block (the lines under that heading) to use the same
3-space indentation before the dash so both nested list items are aligned and
satisfy markdownlint-cli2; ensure the threshold/action lines under "Same Node,
Same Message" maintain the same indentation pattern as the first sub-item.

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