The platform provides a the ability to create custom flags based on a set of conditions that the customer can define (a customer can create many custom flags based on their requirements and activate them for analysis).
When to create custom flags?
Leverage this functionality to validate a enterprise specific coding expectation which is not represented in the standard technology flag.
Technology.
Classification:
Code
Tools:
Atlassian Jira, ADO Board, Github, Gitlab, Bitbucket.
Intent:
The intent of this flag is to allow the customer to validate a specific coding expectation which is not a part of the standard flag delivered by the platform. For e.g. if the customer wants to analyze potential performance issues in the Node.js codebase then do the following:
- Define a custom flag.
- Specify conditions (that you would like the platform to analyze).
- Perform simulations to ensure that the results are accurate.
- Activate the flag for analysis.
The conditions specified in the flag is used by the Cubyts AI to perform an analysis of the code based on the following contexts:
- The code introduced in the current Code branch/Pull request/Merge request.
- The data associated with the Code branch/Pull request/Merge request.
- The details associated with the linked Jira/ADO work item.
- The data associated with other PRs/Branches contributed by the developer.
- The AST graph for the underlying programming language/framework.
The outcome of the aforementioned checks could result in an array of issues in the changes. The platform also provides the resolution path for every issue (which the engineer can copy and apply in the code base).
Please note that this analysis is triggered when a commit is done by the developer and the inferences/recommendations are pushed to Cuybts UI layer, VS Code and the actual Branch/PR in Github/Gitlab/Bitbucket.
Configurations:
(A custom flag with sample conditions)
(The workflow which allows the user to create a simulation of the results for the specified conditions)

The flag configurations are the same as other technology flags.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article