From c7b841a86d5153e966258eb06c02fc81d856cd7f Mon Sep 17 00:00:00 2001 From: gr8-alizaidi Date: Sun, 8 Feb 2026 22:08:43 +0530 Subject: [PATCH 1/2] Test: Increase pool size to trigger DECISION-DB-001 --- src/database/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/connection.js b/src/database/connection.js index 037def4..493db39 100644 --- a/src/database/connection.js +++ b/src/database/connection.js @@ -15,7 +15,7 @@ const pool = new Pool({ password: process.env.DB_PASSWORD, // Pool configuration - DO NOT MODIFY without load testing - max: 20, // Maximum connections (see DECISION-DB-001) + max: 50, // CHANGED: Increased pool size for higher load min: 5, // Minimum connections idleTimeoutMillis: 30000, connectionTimeoutMillis: 2000, From f288087f652ebf1d11bf2b21bfbc928e659e8250 Mon Sep 17 00:00:00 2001 From: gr8-alizaidi Date: Mon, 9 Feb 2026 02:40:15 +0530 Subject: [PATCH 2/2] chore: trigger warning, info and deprecated decisions --- config/test-feature.yml | 6 ++++++ src/api/users.js | 2 +- src/legacy/old-auth.js | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 config/test-feature.yml diff --git a/config/test-feature.yml b/config/test-feature.yml new file mode 100644 index 0000000..0fc6e56 --- /dev/null +++ b/config/test-feature.yml @@ -0,0 +1,6 @@ +# Test configuration file +# This file is created to test DECISION-CONFIG-001 (Info severity) +# It should trigger an INFO alert but not block the PR. +defaults: + tested: true + severity: info diff --git a/src/api/users.js b/src/api/users.js index 01add77..816fcbb 100644 --- a/src/api/users.js +++ b/src/api/users.js @@ -1,6 +1,6 @@ /** * Users API Endpoints - * Part of Public API v1 - See DECISION-API-001 + * Part of Public API v1 - See DECISION-API-001 (Warning Severity Test) */ const express = require('express'); diff --git a/src/legacy/old-auth.js b/src/legacy/old-auth.js index 7687f81..4feb554 100644 --- a/src/legacy/old-auth.js +++ b/src/legacy/old-auth.js @@ -10,5 +10,6 @@ // Legacy code for testing deprecated decision status module.exports = { deprecated: true, - message: 'This file is only for testing deprecated decisions' + message: 'This file is only for testing deprecated decisions', + testStatus: 'deprecated check' };