Files
AIclinicalresearch/redcap-docker-dev/.gitignore
HaHafeng 61cdc97eeb feat(platform): Fix pg-boss queue conflict and add safety standards
Summary:
- Fix pg-boss queue conflict (duplicate key violation on queue_pkey)
- Add global error listener to prevent process crash
- Reduce connection pool from 10 to 4
- Add graceful shutdown handling (SIGTERM/SIGINT)
- Fix researchWorker recursive call bug in catch block
- Make screeningWorker idempotent using upsert

Security Standards (v1.1):
- Prohibit recursive retry in Worker catch blocks
- Prohibit payload bloat (only store fileKey/ID in job.data)
- Require Worker idempotency (upsert + unique constraint)
- Recommend task-specific expireInSeconds settings
- Document graceful shutdown pattern

New Features:
- PKB signed URL endpoint for document preview/download
- pg_bigm installation guide for Docker
- Dockerfile.postgres-with-extensions for pgvector + pg_bigm

Documentation:
- Update Postgres-Only async task processing guide (v1.1)
- Add troubleshooting SQL queries
- Update safety checklist

Tested: Local verification passed
2026-01-23 22:07:26 +08:00

99 lines
905 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# REDCap Docker环境 - Git忽略文件
# 版本v1.0
# 日期2026-01-01
# ========== 环境变量文件(包含敏感信息) ==========
.env
.env.local
.env.*.local
# ========== Docker数据卷挂载点如使用本地挂载 ==========
data/
mysql-data/
edocs/
temp/
modules/
# ========== SSL证书敏感 ==========
ssl/
*.crt
*.key
*.pem
# ========== 日志文件 ==========
logs/
*.log
# ========== 备份文件 ==========
backups/
*.sql
*.tar
*.tar.gz
*.zip
# ========== 临时文件 ==========
tmp/
temp/
*.tmp
*.swp
*~
# ========== IDE配置 ==========
.vscode/
.idea/
*.code-workspace
# ========== 操作系统文件 ==========
# Windows
Thumbs.db
Desktop.ini
# macOS
.DS_Store
.AppleDouble
.LSOverride
# ========== 其他 ==========
# 不要忽略README.md
!README.md
# 不要忽略配置模板
!env.template
!*.example
!*.template