Skip to content

Conversation

@linearbci
Copy link
Collaborator

✨ PR Description

Purpose: Implement convergence detection in template rendering to support deeper variable nesting while preventing infinite loops from circular references.

Main changes:

  • Added convergence detection to stop rendering early when template output stabilizes between passes
  • Increased maximum render passes from 3 to 10 with MIN_RENDER_PASSES safety of 3
  • Added comprehensive test suite covering 2-10 level nesting, circular references, and mixed scenarios

CHANGELOG

✨ New Features

  • Support for deeper variable nesting (up to 10 levels) in rule templates

🔧 Improvements

  • Faster template processing through early termination when values stabilize
  • Protection against infinite loops from circular variable references

Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how

@linearbci linearbci added the auto-deploy when exists in PR, will auto make release and auto deploy to prod label Dec 24, 2025
@linearbci linearbci requested a review from MishaKav December 24, 2025 15:33
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

Copy link
Contributor

@yeelali14 yeelali14 left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 min review auto-deploy when exists in PR, will auto make release and auto deploy to prod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants