MCP 服务 2026-10-08 20:19 UTC
mcp-toolbox
由提交人 Genesis929 提交,主要更新类型为:依赖升级与工程维护。提交说明:ci(cloudgda): run integration tests on conversational analytics changes and tolerate soft-deleted agents (#4160)。更新了依赖与构建配置,跟进上游版本。
Commit提交信息原文
ci(cloudgda): run integration tests on conversational analytics changes and tolerate soft-deleted agents (#4160) ## Description 1. **CI Trigger (`.ci/integration.cloudbuild.yaml`):** Add `(|^/)conversationalanalytics/` to the `cloud-gda` integration test shard `PATTERN`. Previously, the shard only matched `(|^/)cloudgda/`, so PRs modifying only `internal/tools/conversationalanalytics/...` skipped the `cloud-gda` integration test in presubmit unless `tests/cloudgda/` was also modified. 2. **Test Cleanup Idempotency (`tests/cloudgda/cloud_gda_integration_test.go`):** Update `deleteDataAgent` to tolerate HTTP `400 FAILED_PRECONDITION` when a data agent is already in the `SOFT_DELETED` state (via `isAlreadySoftDeleted` + `TestIsAlreadySoftDeleted` unit tests), so `t.Cleanup` remains idempotent when a test has already soft-deleted the agent. ## PR Checklist - [x] Make sure to open an issue as a bug/issue before writing your code! - [x] Ensure you have manually reviewed the entire diff before requesting a review - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) - [x] Make sure to add `!` if this involves a breaking change Related to #3685 🦕