修复:恢复 PostgreSQL 集成测试并规范工单搜索条件
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
Test failure fix verification
|
||||
|
||||
Changed branch/fields:
|
||||
- buildWorkOrderWhere keyword normalization: whitespace-only input no longer emits LIKE SQL.
|
||||
- PostgreSQL concurrency test table scope: regular unique table visible to all pool connections, dropped in finally.
|
||||
|
||||
Artifacts:
|
||||
- MODIFIED_FILE: /Users/yml/codes/order_site/test-fix-artifacts/MODIFIED_FILE.ts
|
||||
- DIFF_FILE: /Users/yml/codes/order_site/test-fix-artifacts/DIFF_FILE.patch
|
||||
- VERIFICATION.txt: /Users/yml/codes/order_site/test-fix-artifacts/VERIFICATION.txt
|
||||
- ROLLBACK.sh: /Users/yml/codes/order_site/test-fix-artifacts/ROLLBACK.sh
|
||||
|
||||
BASELINE
|
||||
Command: git show HEAD:apps/backend/src/repositories/worker-platform/work-order-query-repo.ts
|
||||
Input: HEAD source before this fix
|
||||
Literal result: SHA-256 ff715033b3939b18788dab93e13fa0b3eaf054e469eb721c1b8fa7611554b13e; exit status 0
|
||||
|
||||
MODIFIED
|
||||
Command: TEST_POSTGRES_URL=postgres://postgres:postgres@127.0.0.1:5432/order_site npm run check
|
||||
Input: modified worker query and PostgreSQL integration test sources
|
||||
Literal result: format passed; SQL guard passed; lint passed; typecheck passed; tests 377; pass 377; fail 0; skipped 0; build completed; exit status 0
|
||||
|
||||
ROLLBACK
|
||||
Command: test-fix-artifacts/ROLLBACK.sh test-fix-artifacts/rollback-copy
|
||||
Input: independent copy containing MODIFIED_FILE.ts and modified PostgreSQL integration test
|
||||
Literal result: restored worker query and PostgreSQL integration test baselines; restored worker query SHA-256 ff715033b3939b18788dab93e13fa0b3eaf054e469eb721c1b8fa7611554b13e; exit status 0
|
||||
Restored behavior/status: rollback-copy worker query matches baseline; working source remains fixed.
|
||||
Reference in New Issue
Block a user