Skip to content

Fix #456: connect flow graphs across turns - #523

Open
willwashburn wants to merge 3 commits into
mainfrom
issue-456-flow-across-turns
Open

Fix #456: connect flow graphs across turns#523
willwashburn wants to merge 3 commits into
mainfrom
issue-456-flow-across-turns

Conversation

@willwashburn

@willwashburn willwashburn commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

  • The session flow graph now carries the main-rail terminal into the next non-empty turn with a default edge, producing one connected session DAG.
  • Cross-turn default edges explicitly represent continuity across an intervening user prompt, while dispatch and return edges remain the independent cross-rail layer.
  • Terminal subagent dispatches retain both main-rail continuity and subagent return paths as an intentional acyclic diamond.
  • JSON keeps the existing schema and edge kinds; Mermaid and SVG snapshots now render the connected flow.

Validation

  • cargo fmt --check
  • cargo test --workspace
  • BURN_GOLDEN=1 cargo test -p relayburn-cli --test golden -- --nocapture (flow JSON and Mermaid snapshots verified; unrelated pre-existing state-schema snapshot drift remains on origin/main)
  • cargo test -p relayburn-cli --test flow_svg -- --nocapture

Fixes #456

🤖 Generated with Claude Code.

Review in cubic

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 5 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread crates/relayburn-sdk/src/analyze/flow_graph.rs
@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@willwashburn, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 18 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2e7259a3-a87b-46a8-b3ef-115c54207159

📥 Commits

Reviewing files that changed from the base of the PR and between 962b2b7 and d212b0d.

⛔ Files ignored due to path filters (1)
  • crates/relayburn-cli/tests/fixtures/flow-svg/flow-session-claude-3turn.svg is excluded by !**/*.svg
📒 Files selected for processing (4)
  • CHANGELOG.md
  • crates/relayburn-sdk/src/analyze/flow_graph.rs
  • tests/fixtures/cli-golden/snapshots/flow-json.stdout.txt
  • tests/fixtures/cli-golden/snapshots/flow-mermaid.stdout.txt

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.

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.

Connect burn flow across turns or narrow the contract

1 participant