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
52 lines
717 B
PowerShell
52 lines
717 B
PowerShell
# Git cleanup script for REDCap source code folders
|
|
# Remove from Git tracking but keep local files
|
|
|
|
cd D:\MyCursor\AIclinicalresearch
|
|
|
|
Write-Host "Removing REDCap source folders from Git tracking..." -ForegroundColor Yellow
|
|
|
|
# Remove from Git cache (but keep local files)
|
|
git rm -r --cached redcap15.8.0 2>$null
|
|
git rm -r --cached redcap_external_module_framework_docs_main 2>$null
|
|
git rm -r --cached redcap_external_module_framework_docs_main/guanfangexternal-module-framework-docs-main 2>$null
|
|
|
|
Write-Host "Cleanup complete! Files removed from Git but preserved locally." -ForegroundColor Green
|
|
Write-Host ""
|
|
Write-Host "Next step: Run the commit command" -ForegroundColor Cyan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|