From b24c7073308a7752d5cf556080a23d54789434f0 Mon Sep 17 00:00:00 2001 From: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com> Date: Wed, 29 Jul 2026 04:17:50 +0800 Subject: [PATCH 1/3] test(deploy): run PostgreSQL storage regression in CI Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com> --- .github/workflows/pr-e2e.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr-e2e.yml b/.github/workflows/pr-e2e.yml index f25d8072..1ad10133 100644 --- a/.github/workflows/pr-e2e.yml +++ b/.github/workflows/pr-e2e.yml @@ -35,6 +35,9 @@ jobs: - name: Check out repository uses: actions/checkout@v4 + - name: Verify Kubernetes PostgreSQL data-directory compatibility + run: bash scripts/tests/k8s-postgres-storage-test.sh + - name: Set up pnpm uses: pnpm/action-setup@v4 with: From bec701e962026a00b635cbd9bab8c1a70af8486e Mon Sep 17 00:00:00 2001 From: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com> Date: Wed, 29 Jul 2026 04:21:27 +0800 Subject: [PATCH 2/3] test(deploy): wait for final PostgreSQL process Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com> --- scripts/tests/k8s-postgres-storage-test.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/tests/k8s-postgres-storage-test.sh b/scripts/tests/k8s-postgres-storage-test.sh index f22242bb..3a3d3fab 100755 --- a/scripts/tests/k8s-postgres-storage-test.sh +++ b/scripts/tests/k8s-postgres-storage-test.sh @@ -40,7 +40,13 @@ fi wait_for_postgres() { local container="$1" for _ in $(seq 1 30); do - if docker exec "$container" pg_isready -U skillhub -d skillhub >/dev/null 2>&1; then + # docker-entrypoint.sh briefly starts a temporary PostgreSQL process while + # initializing a fresh cluster. Wait until PID 1 is the final server so a + # successful readiness probe cannot race with that temporary shutdown. + if docker exec "$container" sh -ec \ + 'test "$(cat /proc/1/comm)" = postgres' >/dev/null 2>&1 \ + && docker exec "$container" psql -U skillhub -d skillhub -Atqc \ + 'SELECT 1' >/dev/null 2>&1; then return 0 fi sleep 1 From 9357191f9060f84058044a4fad531be8b47ae9fd Mon Sep 17 00:00:00 2001 From: FenjuFu <92919259+FenjuFu@users.noreply.github.com> Date: Wed, 29 Jul 2026 19:32:24 +0800 Subject: [PATCH 3/3] docs: add Trendshift trending and AAIF member badges to README Add the GitHub Trending (Trendshift) badge and AAIF Associate Member badge to both the English and Chinese README badge sections. Signed-off-by: FenjuFu <92919259+FenjuFu@users.noreply.github.com> --- README.md | 6 ++++++ README_zh.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/README.md b/README.md index cf803028..653dde91 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,12 @@
+ +