Skip to content

test(source/alloydbpg): create MCP integration tests#2992

Open
anubhav756 wants to merge 16 commits intomainfrom
anubhav-mcp-alloydbpg
Open

test(source/alloydbpg): create MCP integration tests#2992
anubhav756 wants to merge 16 commits intomainfrom
anubhav-mcp-alloydbpg

Conversation

@anubhav756
Copy link
Copy Markdown
Contributor

This PR adds the mapped integration tests for AlloyDB PG tools using the native MCP harness.

@anubhav756 anubhav756 self-assigned this Apr 8, 2026
@anubhav756 anubhav756 requested review from a team as code owners April 8, 2026 11:53
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request moves AlloyDB Postgres integration test variables and connection helpers to a dedicated file, alloydb_pg_mcp_test.go, and adds comprehensive integration tests for AlloyDB Postgres tools. I have reviewed the changes and suggest incorporating the reviewer's feedback regarding environment variable validation and test cleanup to improve test robustness and prevent side effects.

@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch 5 times, most recently from 274ee95 to 4323012 Compare April 8, 2026 15:27
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch from 4323012 to 4b94c00 Compare April 8, 2026 15:37
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch from 4b94c00 to 2f96090 Compare April 8, 2026 18:26
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch 2 times, most recently from 0fbb7c4 to f30ecae Compare April 8, 2026 20:04
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch from f30ecae to 3fe7c26 Compare April 9, 2026 08:53
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch from 3fe7c26 to e9fbe85 Compare April 9, 2026 09:31
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch from e9fbe85 to f59a7af Compare April 9, 2026 13:35
@anubhav756 anubhav756 requested a review from Yuan325 April 9, 2026 14:02
Copy link
Copy Markdown
Contributor

@Yuan325 Yuan325 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's a suggestion to simplify it and prevent double-unmarshaling~ :)

Base automatically changed from anubhav-refactor to main April 9, 2026 16:49
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch 6 times, most recently from 9ece023 to b3d826d Compare April 9, 2026 20:04
@anubhav756 anubhav756 requested a review from Yuan325 April 9, 2026 20:24
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch 3 times, most recently from 7515be5 to b92c4a2 Compare April 9, 2026 21:17
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch 3 times, most recently from 461974c to 44f0ee7 Compare April 11, 2026 13:46
@anubhav756 anubhav756 force-pushed the anubhav-mcp-alloydbpg branch from 44f0ee7 to 2644094 Compare April 11, 2026 13:57
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.

2 participants