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 206 from action_run_job
id
206
run_id
52
repo_id
6
owner_id
5
commit_sha
c8adeb7142f7f1b57a10bfffc3de856524997227
is_fork_pull_request
0
name
性能测试(K6)
attempt
0
workflow_payload
name: 深度完整全面自动化测试 "on": push:
name: 深度完整全面自动化测试 "on": push: branches: [main, develop] pull_request: branches: [main, develop] schedule: # 每天凌晨 2 点运行完整测试 - cron: '0 2 * * *' env: NODE_VERSION: "18" PNPM_VERSION: "8" jobs: performance-tests: name: 性能测试(K6) runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' || github.event_name == 'schedule' steps: - name: Checkout 代码 uses: actions/checkout@v3 - name: 安装 K6 run: | curl https://github.com/grafana/k6/releases/download/v0.47.0/k6-v0.47.0-linux-amd64.tar.gz -L | tar xvz sudo mv k6-v0.47.0-linux-amd64/k6 /usr/bin/k6 - name: 安装 pnpm uses: pnpm/action-setup@v2 with: version: ${{ env.PNPM_VERSION }} - name: 设置 Node.js uses: actions/setup-node@v3 with: cache: pnpm node-version: ${{ env.NODE_VERSION }} - name: 安装依赖并启动服务 run: | pnpm install --frozen-lockfile cd backend && pnpm start & sleep 10 - name: 运行性能测试 run: pnpm test:performance:ci env: API_URL: http://localhost:3000 AUTH_TOKEN: ${{ secrets.TEST_AUTH_TOKEN }} - name: 分析性能结果 run: | P95=$(jq '.metrics.http_req_duration.values.["p(95)"]' performance-results.json) echo "P95 响应时间: ${P95}ms" if (( $(echo "$P95 > 200" | bc -l) )); then echo "❌ P95 响应时间超过 200ms" exit 1 fi echo "✅ 性能测试通过" - if: always() name: 上传性能报告 uses: actions/upload-artifact@v3 with: name: performance-results path: performance-results.json timeout-minutes: "30" services: postgres: image: postgres:15 env: POSTGRES_DB: juhi_test POSTGRES_PASSWORD: test POSTGRES_USER: test ports: - 5432:5432 redis: image: redis:7-alpine ports: - 6379:6379
...
job_id
performance-tests
needs
null
runs_on
["ubuntu-latest"]
task_id
0
status
3
started
0
stopped
1771862652
created
1771862519
updated
1771862652
raw_concurrency
NULL
is_concurrency_evaluated
NULL
concurrency_group
concurrency_cancel
0
Delete
Cancel