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 1805 from action_run_job
id
1805
run_id
1132
repo_id
9
owner_id
5
commit_sha
893022bfd17ce1f2e75e75651551cf8ceaacfe45
is_fork_pull_request
0
name
API Gateway Tests
attempt
1
workflow_payload
name: Frontend & Backend CI "on":
name: Frontend & Backend CI "on": push: branches: [main, develop] paths: - 'admin-web/**' - 'flutter_app/**' - 'server/**' - '.github/workflows/frontend-backend-ci.yml' pull_request: branches: [main, develop] paths: - 'admin-web/**' - 'flutter_app/**' - 'server/**' env: FLUTTER_VERSION: 3.16.0 NODE_VERSION: "20" jobs: backend-api-gateway: name: API Gateway Tests runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v4 with: cache: pnpm cache-dependency-path: pnpm-lock.yaml node-version: ${{ env.NODE_VERSION }} - name: Setup pnpm uses: pnpm/action-setup@v4 with: version: 9.15.0 - name: Install dependencies run: pnpm install --frozen-lockfile - name: Check mobile compatibility contracts run: pnpm run check:mobile-compat - name: Generate Prisma client run: pnpm exec prisma generate - name: Run database migrations run: pnpm exec prisma migrate deploy env: DATABASE_URL: postgresql://postgres:postgres@localhost:5432/haizhan_test - name: Build API Gateway run: pnpm run build - name: Start API Gateway for smoke test run: | nohup pnpm run start:prod >/tmp/api-gateway-smoke.log 2>&1 & echo $! >/tmp/api-gateway-smoke.pid env: DATABASE_URL: postgresql://postgres:postgres@localhost:5432/haizhan_test REDIS_URL: redis://localhost:6379 JWT_SECRET: test-jwt-secret NODE_ENV: development PORT: 3000 - name: Wait for API Gateway readiness run: | for i in {1..60}; do if curl -fsS "http://localhost:3000/api/v1/version/check?platform=android¤t=1.0.0" >/dev/null; then echo "API Gateway is ready" exit 0 fi sleep 2 done echo "API Gateway failed to become ready" tail -n 200 /tmp/api-gateway-smoke.log || true exit 1 - name: Run mobile API smoke tests run: pnpm run smoke:mobile-api env: MOBILE_SMOKE_BASE_URL: http://localhost:3000/api/v1 MOBILE_SMOKE_PHONE: 13800000000 MOBILE_SMOKE_CODE: 000000 MOBILE_SMOKE_DEVICE_ID: ci-smoke-device MOBILE_SMOKE_TENANT_ID: default_tenant - if: always() name: Stop API Gateway smoke process run: | if [ -f /tmp/api-gateway-smoke.pid ]; then kill "$(cat /tmp/api-gateway-smoke.pid)" >/dev/null 2>&1 || true fi - if: failure() name: Show API Gateway smoke logs on failure run: tail -n 300 /tmp/api-gateway-smoke.log || true - name: Run unit tests run: pnpm test -- --coverage env: DATABASE_URL: postgresql://postgres:postgres@localhost:5432/haizhan_test REDIS_URL: redis://localhost:6379 JWT_SECRET: test-jwt-secret NODE_ENV: test - if: always() name: Upload coverage report uses: actions/upload-artifact@v4 with: name: api-gateway-coverage path: server/api-gateway/coverage/ retention-days: "7" services: postgres: image: postgres:15 env: POSTGRES_DB: haizhan_test POSTGRES_PASSWORD: postgres POSTGRES_USER: postgres ports: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 redis: image: redis:7 ports: - 6379:6379 options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 defaults: run: working-directory: server/api-gateway
...
job_id
backend-api-gateway
needs
null
runs_on
["ubuntu-latest"]
task_id
1135
status
2
started
1772177924
stopped
1772177954
created
1772177363
updated
1772177954
raw_concurrency
NULL
is_concurrency_evaluated
NULL
concurrency_group
concurrency_cancel
0
Delete
Cancel