Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppV2: ensure isolation of handler state per request #116

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

aofei
Copy link
Member

@aofei aofei commented May 28, 2024

Implemented a new duplication mechanism for the handler to create separate instances per request. This change addresses an issue where the same handler instance was shared across multiple requests, leading to state leakage and inconsistencies in AppV2.

Each request now uses a fresh handler instance, ensuring isolated and consistent state management.

Updates goplus/builder#532

Implemented a new duplication mechanism for the handler to create
separate instances per request. This change addresses an issue where the
same handler instance was shared across multiple requests, leading to
state leakage and inconsistencies in AppV2.

Each request now uses a fresh handler instance, ensuring isolated and
consistent state management.

Updates goplus/builder#532

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Copy link

codecov bot commented May 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.38%. Comparing base (7482648) to head (f5e250b).
Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #116   +/-   ##
=======================================
  Coverage   90.38%   90.38%           
=======================================
  Files          10       10           
  Lines         104      104           
=======================================
  Hits           94       94           
  Misses         10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xushiwei xushiwei merged commit f547c8e into goplus:main Jun 2, 2024
12 checks passed
@aofei aofei deleted the AppV2 branch June 3, 2024 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants