690322:2200 Fixing Deployment Errors #03
CI / CD Pipeline / build (push) Failing after 9m39s
CI / CD Pipeline / release (push) Has been skipped
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
2026-03-22 22:00:18 +07:00
parent ae019f243a
commit 2da4907991
2 changed files with 2 additions and 13 deletions
+2 -2
View File
@@ -33,12 +33,12 @@ jobs:
- name: 🔍 Security & quality checks
run: |
# UUID misuse check (ADR-019)
if grep -r --include="*.ts" --include="*.tsx" "parseInt(.*uuid" .; then
if grep -r --include="*.ts" --include="*.tsx" --exclude-dir={node_modules,.next,.agents,.git,scripts,test,__tests__} "parseInt(.*uuid" .; then
echo "❌ UUID misuse detected"
exit 1
fi
# console.log check (Clean Code)
if grep -r --include="*.ts" --include="*.tsx" "console.log" .; then
if grep -r --include="*.ts" --include="*.tsx" --exclude-dir={node_modules,.next,.agents,.git,scripts,test,__tests__} "console.log" .; then
echo "❌ console.log detected"
exit 1
fi
-11
View File
@@ -52,12 +52,6 @@ describe('Phase 3 Workflow (E2E)', () => {
const existing = await defRepo.findOne({
where: { workflow_code: 'CORRESPONDENCE_FLOW_V1', is_active: true },
});
if (!existing) {
// console.warn(
// 'WorkflowDefinition CORRESPONDENCE_FLOW_V1 not found. Tests may fail.'
// );
}
});
afterAll(async () => {
@@ -82,7 +76,6 @@ describe('Phase 3 Workflow (E2E)', () => {
expect(body).toHaveProperty('id');
expect(body).toHaveProperty('correspondenceNumber');
correspondenceId = body.id;
// console.log('Created Correspondence ID:', correspondenceId);
});
it('/correspondences/:id/submit (POST) - Submit to Workflow', async () => {
@@ -98,14 +91,11 @@ describe('Phase 3 Workflow (E2E)', () => {
expect(body).toHaveProperty('instanceId');
expect(body).toHaveProperty('currentState');
workflowInstanceId = body.instanceId;
// console.log('Workflow Instance ID:', workflowInstanceId);
// console.log('Current State:', response.body.currentState);
});
it('/correspondences/:id/workflow/action (POST) - Process Action', async () => {
// Skip if submit failed to get instanceId
if (!workflowInstanceId) {
// console.warn('Skipping action test - no instanceId from submit');
return;
}
@@ -121,6 +111,5 @@ describe('Phase 3 Workflow (E2E)', () => {
expect(response.body).toHaveProperty('success', true);
expect(response.body).toHaveProperty('nextState');
// console.log('Action Result:', response.body);
});
});