Skip to content

#1927 - Add redis connect timeout - #6486

Merged
weskubo-cgi merged 20 commits into
mainfrom
feature/#1927-redis-timeout
Aug 21, 2026
Merged

#1927 - Add redis connect timeout#6486
weskubo-cgi merged 20 commits into
mainfrom
feature/#1927-redis-timeout

Conversation

@tiago-graf

@tiago-graf tiago-graf commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

Reduce Redis connection timeout to avoid connectivity hanging when service is down.
Disable Offline queue, making the application to not wait when redis is down and move on to database instead.
Update e2e tests to have only API use the ORM cache.

@tiago-graf tiago-graf self-assigned this Aug 18, 2026
@tiago-graf
tiago-graf marked this pull request as ready for review August 19, 2026 19:24
Copilot AI lite review requested due to automatic review settings August 19, 2026 19:24
@tiago-graf
tiago-graf enabled auto-merge August 19, 2026 19:25
Comment thread sources/packages/backend/libs/utilities/src/system-configurations-constants.ts Outdated
Comment thread sources/tests/docker-compose.yml

@andrewsignori-aot andrewsignori-aot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice findings related to the enableOfflineQueue.
I did not follow if not having the REDIS_ENABLE_OFFLINE_QUEUE exposed was planned or a gap, but I would stringly recommending having it exposed in the CI/CD to allow it to be changed.

@weskubo-cgi weskubo-cgi self-assigned this Aug 20, 2026
@weskubo-cgi
weskubo-cgi disabled auto-merge August 20, 2026 22:39
@sonarqubecloud

sonarqubecloud Bot commented Aug 20, 2026

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@github-actions

Copy link
Copy Markdown

Backend Unit Tests Coverage Report

Totals Coverage
Statements: 19.93% ( 4855 / 24365 )
Methods: 9.71% ( 288 / 2967 )
Lines: 24.29% ( 4147 / 17076 )
Branches: 9.72% ( 420 / 4322 )

@github-actions

Copy link
Copy Markdown

E2E Workflow Workers Coverage Report

Totals Coverage
Statements: 48.57% ( 2930 / 6032 )
Methods: 38.11% ( 306 / 803 )
Lines: 55.35% ( 2209 / 3991 )
Branches: 33.52% ( 415 / 1238 )

@github-actions

Copy link
Copy Markdown

E2E Queue Consumers Coverage Report

Totals Coverage
Statements: 80.94% ( 9874 / 12199 )
Methods: 80.65% ( 1292 / 1602 )
Lines: 84.33% ( 7367 / 8736 )
Branches: 65.29% ( 1215 / 1861 )

@github-actions

Copy link
Copy Markdown

E2E SIMS API Coverage Report

Totals Coverage
Statements: 70.34% ( 14946 / 21248 )
Methods: 67.92% ( 1783 / 2625 )
Lines: 73.45% ( 10658 / 14510 )
Branches: 60.9% ( 2505 / 4113 )

- name: FORMS_URL
required: true
- name: REDIS_ENABLE_OFFLINE_QUEUE
value: "false"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@dheepak-aot dheepak-aot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking up the PR and making changes. Looks good 👍

@uhelm
uhelm self-requested a review August 21, 2026 19:54

@uhelm uhelm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Will do some tests once it is deployed to dev

@weskubo-cgi
weskubo-cgi added this pull request to the merge queue Aug 21, 2026
Merged via the queue into main with commit e6ec6cd Aug 21, 2026
22 checks passed
@weskubo-cgi
weskubo-cgi deleted the feature/#1927-redis-timeout branch August 21, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Devops Devops SIMS-Api SIMS-Api

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants