Skip to content

Conversation

@apetenchea
Copy link
Member

@apetenchea apetenchea commented Dec 14, 2025

Small update needed for latest version


Note

Add support for maxSkewThreshold and minDeletionRatio in format_view_consolidation_policy, mapping to max_skew_threshold and min_deletion_ratio.

  • Formatter:
    • Update format_view_consolidation_policy to map:
      • maxSkewThreshold -> max_skew_threshold
      • minDeletionRatio -> min_deletion_ratio

Written by Cursor Bugbot for commit 8257d21. This will update automatically on new commits. Configure here.

@apetenchea apetenchea requested a review from aMahanna December 14, 2025 16:14
@apetenchea apetenchea self-assigned this Dec 14, 2025
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on December 28

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

if "maxSkewThreshold" in body:
result["max_skew_threshold"] = body["maxSkewThreshold"]
if "minDeletionRatio" in body:
result["min_deletion_ratio"] = body["minDeletionRatio"]
Copy link

Choose a reason for hiding this comment

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

Bug: Possible consolidation policy field name mismatch

The new mappings rely on ArangoDB returning consolidation policy keys exactly as maxSkewThreshold and minDeletionRatio. If the server uses different casing or different attribute names for these options in the targeted “latest version”, format_view_consolidation_policy silently drops them and callers won’t see these settings in formatted output.

Fix in Cursor Fix in Web

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.

2 participants