sqlite-web 0.7.2
gitea.db
action_run_job
Create
Query
access
access_token
action
action_artifact
action_run
action_run_index
action_run_job
action_runner
action_runner_token
action_schedule
action_schedule_spec
action_task
action_task_output
action_task_step
action_tasks_version
action_variable
app_state
attachment
auth_token
badge
branch
collaboration
comment
commit_status
commit_status_index
commit_status_summary
commit_sync_log
commit_sync_status
dbfs_data
dbfs_meta
deploy_key
email_address
email_hash
external_login_user
follow
gpg_key
gpg_key_import
hook_task
issue
issue_assignees
issue_content_history
issue_dependency
issue_index
issue_label
issue_pin
issue_user
issue_watch
label
language_stat
lfs_lock
lfs_meta_object
login_source
milestone
mirror
notice
notification
oauth2_application
oauth2_authorization_code
oauth2_grant
org_user
package
package_blob
package_blob_upload
package_cleanup_rule
package_file
package_property
package_version
project
project_board
project_issue
protected_branch
protected_tag
public_key
pull_auto_merge
pull_request
push_mirror
reaction
release
renamed_branch
repo_archiver
repo_hidden_file
repo_indexer_status
repo_license
repo_redirect
repo_topic
repo_transfer
repo_unit
repository
review
review_state
secret
session
sqlite_sequence
star
stopwatch
system_setting
task
team
team_invite
team_repo
team_unit
team_user
topic
tracked_time
two_factor
upload
user
user_badge
user_blocking
user_open_id
user_redirect
user_setting
version
watch
webauthn_credential
webhook
Toggle helper tables
Structure
Content
Query
Insert
Drop
Import
Export
Delete row 31249 from action_run_job
id
31249
run_id
23557
repo_id
91
owner_id
5
commit_sha
c1d59277c1c321407babdaf3ad6fe26c73e7cb55
is_fork_pull_request
0
name
Runtime and UI acceptance
attempt
1
workflow_payload
name: Governance "on": pull_request:
name: Governance "on": pull_request: push: branches: - main jobs: runtime-acceptance: name: Runtime and UI acceptance runs-on: ubuntu-latest env: NODE_VERSION: v22.16.0 # 大陆网络直连 Playwright CDN 会长时间零进度假死(本机实测 8 分钟 0 字节, # npmmirror 30 秒完成);runner 与本机同网段,直接走镜像。 PLAYWRIGHT_DOWNLOAD_HOST: https://cdn.npmmirror.com/binaries/playwright steps: - name: Checkout (shell, full history) run: | set -euo pipefail cd "$GITHUB_WORKSPACE" HOST_PATH="${GITHUB_SERVER_URL#*://}" git init -q . git remote remove origin 2>/dev/null || true git remote add origin "https://oauth2:${CLONE_TOKEN}@${HOST_PATH}/${GITHUB_REPOSITORY}.git" git fetch -q origin "$GITHUB_SHA" git checkout -q -f --detach "$GITHUB_SHA" git clean -fdxq -e node_modules -e .turbo git log --oneline -1 env: CLONE_TOKEN: ${{ secrets.OS_CHECKOUT_TOKEN || github.token }} - name: Provision Node.js (npmmirror) run: | set -euo pipefail case "$(uname -m)" in x86_64) NODE_ARCH=x64 ;; aarch64|arm64) NODE_ARCH=arm64 ;; *) echo "::error::未支持的 runner 架构 $(uname -m)"; exit 1 ;; esac NODE_DIR="$RUNNER_TEMP/node-${NODE_VERSION}-${NODE_ARCH}" if [ ! -x "$NODE_DIR/bin/node" ]; then mkdir -p "$NODE_DIR" curl -fsSL "https://cdn.npmmirror.com/binaries/node/${NODE_VERSION}/node-${NODE_VERSION}-linux-${NODE_ARCH}.tar.xz" \ | tar -xJ -C "$NODE_DIR" --strip-components 1 fi echo "$NODE_DIR/bin" >> "$GITHUB_PATH" "$NODE_DIR/bin/node" --version - name: Enable pnpm run: | corepack enable corepack prepare pnpm@9.15.9 --activate pnpm --version - name: Provision PostgreSQL and Redis run: | set -euo pipefail command -v docker >/dev/null 2>&1 || { echo "::error::runner 宿主缺 docker——runtime 验收需要它启动隔离 PostgreSQL/Redis(或改用支持 services 的容器模式 runner)"; exit 1; } # runner 宿主直连 Docker Hub 被拒(run #7:pull access denied)——大陆网络 # 常态。解析顺序:本地已有镜像(任一命名)→ daocloud/1ms 镜像站 → hub 兜底; # 首次拉取成功后镜像常驻宿主,后续 run 不再依赖外网。 resolve_image() { local image="$1" ref for ref in "docker.io/library/${image}" "docker.m.daocloud.io/library/${image}" "docker.1ms.run/library/${image}" "${image}"; do if docker image inspect "$ref" >/dev/null 2>&1; then echo "$ref"; return 0; fi done for ref in "docker.m.daocloud.io/library/${image}" "docker.1ms.run/library/${image}" "docker.io/library/${image}"; do if docker pull --quiet "$ref" >/dev/null 2>&1; then echo "$ref"; return 0; fi done echo "::error::拉取 ${image} 失败:daocloud/1ms 镜像站与 Docker Hub 均不可达;可在 runner 宿主预拉镜像或给 dockerd 配 registry-mirrors" >&2 return 1 } PG_IMAGE="$(resolve_image postgres:16)" REDIS_IMAGE="$(resolve_image redis:7)" echo "镜像解析:$PG_IMAGE / $REDIS_IMAGE" PG_NAME="qwen38fn-ci-pg-${GITHUB_RUN_ID}" REDIS_NAME="qwen38fn-ci-redis-${GITHUB_RUN_ID}" docker rm -f "$PG_NAME" "$REDIS_NAME" >/dev/null 2>&1 || true docker run -d --name "$PG_NAME" \ -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres \ -e POSTGRES_DB=qwen3_8_flash_next_ci \ -p 127.0.0.1::5432 "$PG_IMAGE" >/dev/null docker run -d --name "$REDIS_NAME" -p 127.0.0.1::6379 "$REDIS_IMAGE" >/dev/null PG_PORT="$(docker port "$PG_NAME" 5432/tcp | head -n1 | awk -F: '{print $NF}')" REDIS_PORT="$(docker port "$REDIS_NAME" 6379/tcp | head -n1 | awk -F: '{print $NF}')" for _ in $(seq 1 60); do docker exec "$PG_NAME" pg_isready -U postgres >/dev/null 2>&1 && break sleep 1 done docker exec "$PG_NAME" pg_isready -U postgres -d qwen3_8_flash_next_ci [ "$(docker exec "$REDIS_NAME" redis-cli ping)" = "PONG" ] { echo "PG_NAME=$PG_NAME" echo "REDIS_NAME=$REDIS_NAME" echo "DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:${PG_PORT}/qwen3_8_flash_next_ci?schema=public" echo "REDIS_URL=redis://127.0.0.1:${REDIS_PORT}" } >> "$GITHUB_ENV" echo "PostgreSQL 127.0.0.1:${PG_PORT} / Redis 127.0.0.1:${REDIS_PORT} 就绪" - name: Install dependencies run: pnpm install --frozen-lockfile - name: Generate Prisma clients run: pnpm prisma:generate - name: Run real DB and Redis acceptance run: pnpm check:runtime - name: Install Playwright browser run: pnpm --filter web exec playwright install --with-deps chromium - name: Run UI acceptance run: pnpm check:ui - if: always() name: Tear down PostgreSQL and Redis run: docker rm -f "${PG_NAME:-}" "${REDIS_NAME:-}" >/dev/null 2>&1 || true
...
job_id
runtime-acceptance
needs
["static-governance"]
runs_on
["ubuntu-latest"]
task_id
27277
status
1
started
1788060712
stopped
1788060811
created
1788059801
updated
1788060812
raw_concurrency
is_concurrency_evaluated
1
concurrency_group
concurrency_cancel
0
Delete
Cancel