fix(runtime): 运行稳定性 - 修复技能种子、任务续租与回归检查

保留社区技能作者与时间戳修复、Agent 参数约束、资源删除 worker 生命周期、PostgreSQL/Redis 测试门禁及相关回归。

Original-Commit: 0d05ff88bbe6c875d01964041788023a662ff7e8
This commit is contained in:
ddCat
2026-09-21 09:48:43 +08:00
parent 15946e5a86
commit 8b8ea29148
21 changed files with 644 additions and 354 deletions

View File

@@ -55,14 +55,8 @@ jobs:
- name: Ensure dependency-backed tests were not skipped
shell: bash
run: |
set -o pipefail
go test ./internal/database/ ./internal/canvas/ ./internal/repository/ ./internal/platform/ ./internal/app/ \
-run 'TestPostgresAssetIDMigration|TestRepairAssetBytesPostgres|TestCanvasRevision|TestRuntimeCoordinatorRedisLeasePreservesLongestTTL|TestClearAdminRuntimeCacheUsesRedisWhitelist' \
-count=1 -v | tee "$RUNNER_TEMP/dependency-tests.log"
if grep -q -- "--- SKIP" "$RUNNER_TEMP/dependency-tests.log"; then
echo "::error::依赖外部服务的用例被跳过:请检查 CANVAS_TEST_POSTGRES_DSN 与 redis-server"
exit 1
fi
python3 ../.github/scripts/test_check_dependency_tests.py
python3 ../.github/scripts/check-dependency-tests.py "$RUNNER_TEMP/go-tests.jsonl"
- name: Upload Go test timings
if: always()
uses: actions/upload-artifact@v4