Skip to content

Conversation

@PokIsemaine
Copy link
Contributor

fix: #2504

@git-hulk git-hulk changed the title feat(config): txn_context_enabled feat(config): add txn_context_enabled to allow to enable the transaction feature Aug 25, 2024
# At the same time, we welcome feedback on related issues to help iterative improvements.
#
# Default: no
txn-context-enabled no
Copy link
Member

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.

Copy link
Contributor Author

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?

Copy link
Member

@PragmaTwice PragmaTwice Aug 27, 2024

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.

Copy link
Contributor Author

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.

@mapleFU
Copy link
Member

mapleFU commented Aug 31, 2024

Will merge this, lets' adding test in another pr. So sorry for delaying

@sonarqubecloud
Copy link

@mapleFU mapleFU merged commit 6c85004 into apache:unstable Aug 31, 2024
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.

Provide a configuration to turn off transactional Context

5 participants