From 3589a479aa937176b8250c845ca5f6f81da63ec3 Mon Sep 17 00:00:00 2001 From: likaisong Date: Thu, 9 Apr 2026 10:23:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=85=B3=E9=94=AE=E8=AF=8D=E5=8C=B9=E9=85=8D=E5=92=8C=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=20Release=20Approval=20Gate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加中英文关键词匹配:删除、无、deleted、expired、no longer - 移除 workflow 中的 release-approval job --- .github/workflows/oc2ov_test.yml | 13 +------------ tests/oc2ov_test/tests/p0/test_memory_crud.py | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/oc2ov_test.yml b/.github/workflows/oc2ov_test.yml index 9d6c8a971..01e024876 100644 --- a/.github/workflows/oc2ov_test.yml +++ b/.github/workflows/oc2ov_test.yml @@ -185,15 +185,4 @@ jobs: - name: Test summary if: success() run: | - echo "::notice::P0 tests passed successfully! Ready for release." - - release-approval: - name: Release Approval Gate - needs: [p0-tests] - if: github.event_name == 'release' && github.event.action == 'prereleased' - runs-on: ubuntu-24.04 - steps: - - name: Approve release - run: | - echo "::notice::P0 tests passed. Release can proceed." - echo "Release ${{ github.event.release.tag_name }} has been validated by P0 tests." + echo "::notice::P0 tests passed successfully! Ready for release." \ No newline at end of file diff --git a/tests/oc2ov_test/tests/p0/test_memory_crud.py b/tests/oc2ov_test/tests/p0/test_memory_crud.py index 040f7b445..c26c38b97 100644 --- a/tests/oc2ov_test/tests/p0/test_memory_crud.py +++ b/tests/oc2ov_test/tests/p0/test_memory_crud.py @@ -108,7 +108,7 @@ def test_memory_delete_verify(self): self.wait_for_sync() resp2 = self.send_and_log("我的临时密码是什么?") self.logger.info("删除验证完成,检查响应是否不包含原密码信息") - self.assertAnyKeywordInResponse(resp2, [["不知道", "没有", "不存在", "不记得", "过期", "已删除"]], case_sensitive=False) + self.assertAnyKeywordInResponse(resp2, [["不知道", "没有", "不存在", "不记得", "过期", "已删除", "删除", "无", "deleted", "expired", "no longer"]], case_sensitive=False) class TestMemoryUpdateOverwrite(BaseOpenClawCLITest):