Repository navigation
test(at): add MySQL batch integration tests - #107
Merged
Merged
Conversation
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Pull request overview
Adds a new MySQL AT semantic batch integration test case to validate Seata batch execution behavior under managed and caller-owned transaction scenarios, and wires the case into the integration runner.
Changes:
- Register
integrate_test/at/batchin the integration test runner script. - Add managed-batch integration checks for commit success and duplicate-key partial failure handling.
- Add caller-owned transaction integration check that participates in a global rollback and verifies data restoration.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| start_integrate_test.sh | Adds the new AT batch case to the integration test execution list. |
| integrate_test/at/batch/main.go | Bootstraps the new batch integration suite, DB connection, and scenario execution. |
| integrate_test/at/batch/managed.go | Implements managed-batch scenarios and shared fixture/assertion helpers. |
| integrate_test/at/batch/caller_owned.go | Implements the caller-owned transaction scenario and polling helper for rollback verification. |
| integrate_test/at/batch/Makefile | Adds a local runner target for the new integration case. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
What this PR does:
Which issue(s) this PR fixes:
N/A
The related PR of seata-go
You should pay attention to items below to ensure your pr passes our ci test
We do not merge pr with ci tests failed