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 13051 from action_run_job
id
13051
run_id
9553
repo_id
6
owner_id
5
commit_sha
1e14b41edac86496d70ac83d1cb3292fa0513af3
is_fork_pull_request
0
name
AI 模块 API 集成测试
attempt
1
workflow_payload
name: Test Pipeline "on": push:
name: Test Pipeline "on": push: branches: [main, develop, 'feature/**', 'claude/**'] pull_request: branches: [main, develop] workflow_dispatch: inputs: coverage_threshold: description: '覆盖率阈值 (%)' required: false default: '80' run_ai_tests: description: '运行 AI 模块测试' required: false default: 'true' type: boolean run_api_tests: description: '运行 API 集成测试' required: false default: 'true' type: boolean run_security_audit: description: '运行安全审计' required: false default: 'true' type: boolean env: COVERAGE_THRESHOLD: ${{ github.event.inputs.coverage_threshold || '80' }} NODE_VERSION: "20" PNPM_VERSION: "8" jobs: ai-api-test: name: AI 模块 API 集成测试 runs-on: ubuntu-latest if: | needs.detect-changes.outputs.ai-modules == 'true' || (github.event.inputs.run_ai_tests != 'false') steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 with: version: ${{ env.PNPM_VERSION }} - uses: actions/setup-node@v4 with: node-version: ${{ env.NODE_VERSION }} - name: 恢复依赖缓存 uses: actions/cache/restore@v4 with: key: pipeline-deps-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} path: | node_modules backend/node_modules frontend/node_modules shared/node_modules shared/dist e2e/node_modules - name: 生成 Prisma Client run: pnpm --filter juhi-api run db:generate - name: 初始化测试数据库 run: cd backend && npx prisma migrate deploy env: DATABASE_URL: postgresql://test:test@localhost:5432/juhi_ai_test - name: 运行 AI API 集成测试 run: pnpm --filter juhi-api run test:api:ai-agents env: DATABASE_URL: postgresql://test:test@localhost:5432/juhi_ai_test REDIS_URL: redis://localhost:6379 JWT_SECRET: test-jwt-secret JWT_REFRESH_SECRET: test-jwt-refresh-secret NODE_ENV: test - if: always() name: 上传 AI API 测试结果 uses: actions/upload-artifact@v4 with: name: ai-api-test-results path: backend/test-results/ retention-days: "7" services: postgres: image: postgres:16-alpine env: POSTGRES_DB: juhi_ai_test POSTGRES_PASSWORD: test POSTGRES_USER: test ports: - 5432:5432 options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 redis: image: redis:7-alpine ports: - 6379:6379 options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
...
job_id
ai-api-test
needs
["ai-unit-test"]
runs_on
["ubuntu-latest"]
task_id
11034
status
4
started
1774843513
stopped
1774843513
created
1774842575
updated
1774843513
raw_concurrency
is_concurrency_evaluated
1
concurrency_group
concurrency_cancel
0
Delete
Cancel