[2.8] [MOD-12627] Add Debug Support for FT.PROFILE Command#7662
Merged
[2.8] [MOD-12627] Add Debug Support for FT.PROFILE Command#7662
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.8 #7662 +/- ##
==========================================
- Coverage 87.61% 87.57% -0.05%
==========================================
Files 203 203
Lines 35102 35115 +13
==========================================
- Hits 30755 30751 -4
- Misses 4347 4364 +17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
lerman25
approved these changes
Dec 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport #7510 to
2.8Note
Adds a debug variant of
FT.PROFILE(viaFT.DEBUG FT.PROFILE) with execution routing and profile printing safeguards; updates debug help and adds tests for RESP2/3.RSProfileCommandImp(.., isDebug)and routeFT.DEBUG FT.PROFILEto debug execution (DEBUG_execCommandCommon) withEXEC_DEBUG.FT.PROFILEinFT.DEBUGhelp/dispatch table.RSProfileCommandto delegate toRSProfileCommandImp; select handler via function pointer (execCommandCommonvsDEBUG_execCommandCommon)._recursiveProfilePrint, guard against RP types beyondRP_MAX(allow debug range) and simplify switch default to abort on invalid types.countFlatElementshelper for profile structure checks.Written by Cursor Bugbot for commit 9212bee. This will update automatically on new commits. Configure here.