Skip to content

Conversation

coderfender
Copy link
Contributor

@coderfender coderfender commented Oct 12, 2025

Which issue does this PR close?

Closes #2555 .

Original ANSI support PR : #1971
Issue : #1971

Rationale for this change

  1. Support ANSI mode for remainder function

What changes are included in this PR?

Update CometRound class and remove getSupportLevel which is no longer relevant

How are these changes tested?

We already have ANSI tests which pass on this branch

@coderfender
Copy link
Contributor Author

@andygrove , @rishvin I created this PR to fix a bug which prevents executing CometRemainder function in ANSI mode

@coderfender coderfender changed the title support_ansi_mode_remainder_function feat:support_ansi_mode_remainder_function Oct 12, 2025
@codecov-commenter
Copy link

codecov-commenter commented Oct 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.01%. Comparing base (f09f8af) to head (e0efdd5).
⚠️ Report is 596 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2556      +/-   ##
============================================
+ Coverage     56.12%   59.01%   +2.89%     
- Complexity      976     1457     +481     
============================================
  Files           119      146      +27     
  Lines         11743    13621    +1878     
  Branches       2251     2360     +109     
============================================
+ Hits           6591     8039    +1448     
- Misses         4012     4361     +349     
- Partials       1140     1221      +81     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@coderfender coderfender changed the title feat:support_ansi_mode_remainder_function feat:support ansi_mode remainder function Oct 13, 2025
@coderfender coderfender changed the title feat:support ansi_mode remainder function feat:support ansi mode remainder function Oct 13, 2025
Copy link
Member

@andygrove andygrove left a comment

Choose a reason for hiding this comment

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

Thanks @coderfender. Does the documentation also need updating?

@coderfender
Copy link
Contributor Author

coderfender commented Oct 13, 2025

@andygrove , I generally create a separate doc PR but given that this is a minor change, let me go ahead and make changes to update documentation as well

@rishvin
Copy link
Contributor

rishvin commented Oct 13, 2025

LGTM.

@rishvin
Copy link
Contributor

rishvin commented Oct 13, 2025

Do we need to prefix git message and PR title with "chore:" ?

@coderfender
Copy link
Contributor Author

thank you for the review @andygrove , @rishvin . I updated documentation per review.

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.

bug: ANSI mode is not supported in Remainder function (despite having support on native side)

4 participants