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

User subject assignment and unassignment slow #1123

Closed
mahalakshme opened this issue Jan 30, 2024 · 4 comments
Closed

User subject assignment and unassignment slow #1123

mahalakshme opened this issue Jan 30, 2024 · 4 comments
Assignees

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Jan 30, 2024

https://avni.freshdesk.com/a/tickets/3263

Issue:

Assignment and unassignment of individuals to users, taking around 20 secs.

Screenshot 2024-01-30 at 4 08 38 PM

Without understading this, the user tries to click the checkbox to assign repeatedly and faces 'Constraint Violation' issues.

Analysis:

Looks like as part of this card, this slowness issue has got introduced. Before when there was just assigning to groups I don't remember seeing this slowness issue.

Acceptance criteria:

The assignment and unassignment should take less than one sec ideally. Optimise how muchever possible.

@mahalakshme mahalakshme converted this from a draft issue Jan 30, 2024
@mahalakshme mahalakshme moved this from In Analysis to Ready in Avni Product Jan 30, 2024
@petmongrels petmongrels moved this from Ready to In Progress in Avni Product Feb 7, 2024
@petmongrels petmongrels self-assigned this Feb 7, 2024
@petmongrels
Copy link
Contributor

petmongrels added a commit to avniproject/avni-server that referenced this issue Feb 7, 2024
…gnment to user. made test role fixed so that new roles don't created every run.
@petmongrels
Copy link
Contributor

QA

  • can be tested on pre-release by deploying 7.0 (merged the change to 7.0), we don't have env for 6.1 to test
  • post QA need to tag and deploy to prod

@petmongrels petmongrels moved this from In Progress to Code Review Ready in Avni Product Feb 7, 2024
@1t5j0y 1t5j0y moved this from Code Review Ready to In Code Review in Avni Product Feb 7, 2024
@1t5j0y 1t5j0y moved this from In Code Review to QA Ready in Avni Product Feb 7, 2024
@AchalaBelokar AchalaBelokar moved this from QA Ready to In QA in Avni Product Feb 8, 2024
@AchalaBelokar
Copy link

AchalaBelokar commented Feb 8, 2024

and also not able to assign to the user

Screen.Recording.2024-02-08.at.1.48.39.PM.mov

Image

@AchalaBelokar AchalaBelokar moved this from In QA to QA Failed in Avni Product Feb 8, 2024
@AchalaBelokar AchalaBelokar moved this from QA Failed to In QA in Avni Product Feb 8, 2024
@AchalaBelokar AchalaBelokar moved this from In QA to Done in Avni Product Feb 8, 2024
@mahalakshme
Copy link
Contributor Author

@achala did you test sync functionality with direct assignment as well?

@AchalaBelokar AchalaBelokar moved this from Done to QA Ready in Avni Product Feb 8, 2024
@vinayvenu vinayvenu reopened this Feb 8, 2024
@github-project-automation github-project-automation bot moved this from QA Ready to Triaged in Avni Product Feb 8, 2024
@AchalaBelokar AchalaBelokar moved this from Triaged to In QA in Avni Product Feb 9, 2024
@AchalaBelokar AchalaBelokar moved this from In QA to Done in Avni Product Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants