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

Optimization and Bug Fixes for @dotcms/experiments Handling Procedures #28283

Closed
oidacra opened this issue Apr 17, 2024 · 0 comments · Fixed by #28528
Closed

Optimization and Bug Fixes for @dotcms/experiments Handling Procedures #28283

oidacra opened this issue Apr 17, 2024 · 0 comments · Fixed by #28528

Comments

@oidacra
Copy link
Member

oidacra commented Apr 17, 2024

User Story

As a developer, I need to optimize and fix issues related to how @dotcms/experiments handles empty experiment data scenarios and environment configurations. This includes not storing unnecessary data and handling events and warnings correctly.

Acceptance Criteria

  • Do not store experiment data in session storage or localStorage when there are no experiments in both the session and the incoming request. ✅
  • Prevent sending analytics events when there is no experiment data available. ✅
  • Implement efficient checks and balances to manage experiment data storage and event triggering properly. ✅

Proposed Objective

System Optimization, Error Handling Improvement

Proposed Priority

Priority 2 - Important

dotCMS Version

master

External Links

Assumptions & Initiation Needs

Assuming that the current implementation may inefficiently handle scenarios where there are no active experiments, leading to unnecessary storage usage and unwanted event dispatching. There might be inadequate handling of missing environment configurations, leading to errors.

Quality Assurance Notes & Workarounds

Quality assurance should thoroughly test scenarios with no experiments to ensure that no unnecessary data is stored and no irrelevant events are sent. Tests should also ensure that missing environment variables are handled gracefully.

@oidacra oidacra changed the title sd Optimization and Bug Fixes for @dotcms/experiments Handling Procedures Apr 17, 2024
@oidacra oidacra assigned oidacra and unassigned oidacra Apr 17, 2024
@oidacra oidacra added dotCMS : SDK Team : Falcon dotCMS : Experiments Analytics Umbrella: Experiments Feature labels Apr 17, 2024
@oidacra oidacra self-assigned this May 9, 2024
@oidacra oidacra linked a pull request May 10, 2024 that will close this issue
3 tasks
@oidacra oidacra added the Merged label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants