Skip to content

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
@aofei aofei deleted the AppV2 branch June 3, 2024 01:31
@xushiwei
Copy link
Member

Provide builtin clone mechanism to replace reflection: #117

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