fix: debounce modal open and guard duplicate analyze triggers#1092
Open
ananyashree2633 wants to merge 13 commits into
Open
fix: debounce modal open and guard duplicate analyze triggers#1092ananyashree2633 wants to merge 13 commits into
ananyashree2633 wants to merge 13 commits into
Conversation
imDarshanGK
requested changes
Jun 21, 2026
imDarshanGK
left a comment
Owner
There was a problem hiding this comment.
@ananyashree2633
Please add a video demo of the feature

Author
|
Hi @imDarshanGK, Locally all black and isort checks pass:
The failing CI run shows "failed 1 hour ago in 7s" which appears to be a cached old run. Could you please re-run the CI checks? Thank you! |
ananyashree2633
commented
Jun 21, 2026
ananyashree2633
left a comment
Author
There was a problem hiding this comment.
All changes implemented and tested:
- Added
isAnalyzingguard flag - Added debounce on analyze button
- Added regression test
- All 56 tests passing
- Video demo added
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fix rapid double-click on Analyze button causing duplicate API calls and inconsistent state/crash.
Related Issue
Fixes #539
Type of change
Checklist
mainpytest -vand all tests passfeat/fix/docs/test: short descriptionScreenshots (if frontend
Screen Recording 2026-06-22 at 1.24.40 AM.mov.zip
Test evidence
PASSED tests/test_endpoints.py::test_analyze_concurrent_calls_idempotent
===================================== 56 passed, 1 warning in 0.29s =====================================