-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(config): add txn_context_enabled
to allow to enable the transaction feature
#2506
Conversation
Co-authored-by: mwish <maplewish117@gmail.com>
txn_context_enabled
to allow to enable the transaction feature
# At the same time, we welcome feedback on related issues to help iterative improvements. | ||
# | ||
# Default: no | ||
txn-context-enabled no |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can add some go cases for "yes" mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we need to test, but "some" may actually be almost all.
Is it possible to add a "yes" mode process to the GitHub Actions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can just change the go cases to make some test functions like TestXX
work on both mode, e.g.
TestXXAllMode() {
TestXX(yes)
TestXX(no)
}
Currently it is not required to include all test cases. Just some basic tests to ensure it can works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, how about adding these tests in another PR? I need to go out recently, so I may not be able to update immediately. You can merge this PR first, and then I will create an issue to track it and solve it when I have free time.
Will merge this, lets' adding test in another pr. So sorry for delaying |
Quality Gate passedIssues Measures |
fix: #2504