feat(iit): harden QC pipeline consistency and release artifacts
Implement IIT quality workflow hardening across eQuery deduplication, guard metadata validation, timeline/readability improvements, and chat evidence fallbacks, then synchronize release and development documentation for deployment handoff. Includes migration/scripts for open eQuery dedupe guards, orchestration/status semantics, report/tool readability fixes, and updated module status plus deployment checklist. Made-with: Cursor
This commit is contained in:
@@ -213,6 +213,17 @@ class QcReportServiceClass {
|
||||
return null;
|
||||
}
|
||||
|
||||
// 若缓存早于最新质控时间,则视为过期,触发重算
|
||||
const latestQcRows = await prisma.$queryRaw<Array<{ last_qc_at: Date | null }>>`
|
||||
SELECT MAX(last_qc_at) AS last_qc_at
|
||||
FROM iit_schema.qc_field_status
|
||||
WHERE project_id = ${projectId}
|
||||
`;
|
||||
const latestQcAt = latestQcRows?.[0]?.last_qc_at;
|
||||
if (latestQcAt && cached.generatedAt < latestQcAt) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const issuesData = cached.issues as any || {};
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user