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

[#12921] Reintroduce AccountRequest search indexing #12923

Conversation

jayasting98
Copy link
Contributor

Fixes #12921
Part of #12048

Outline of Solution

Search indexing for AccountRequest was reintroduced. There were effectively no integration tests for CreateAccountRequestAction; teammates.ui.webapi.CreateAccountRequestActionTest is not enabled, and even if it were, it tests using Datastore, not SQL. Thus, I also added CreateAccountRequestActionIT. However, I only give a minimal test because the behaviour of CreateAccountRequestAction will change with the upcoming account request form upgrade (see #12913). I felt it would not be very productive to test every single case. The minimal test only serves to give confidence that the core functionality of CreateAccountRequestAction works, especially the newly reintroduced search indexing.

@jayasting98 jayasting98 added s.Ongoing The PR is being worked on by the author(s) c.Feature User-facing feature; can be new feature or enhancement to existing feature labels Mar 21, 2024
@jayasting98 jayasting98 self-assigned this Mar 21, 2024
@jayasting98 jayasting98 marked this pull request as ready for review March 21, 2024 16:01
@jayasting98 jayasting98 added s.ToReview The PR is waiting for review(s) and removed s.Ongoing The PR is being worked on by the author(s) labels Mar 21, 2024
Copy link
Contributor

@ziqing26 ziqing26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for spotting this. I think we can add more tests in ARF feature when we touch this.

@jayasting98 jayasting98 added s.FinalReview The PR is ready for final review and removed s.ToReview The PR is waiting for review(s) labels Mar 22, 2024
@NicolasCwy NicolasCwy self-requested a review March 22, 2024 02:55
Copy link
Contributor

@NicolasCwy NicolasCwy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for the spot and the quick fix

@NicolasCwy NicolasCwy added the s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging label Mar 22, 2024
@NicolasCwy NicolasCwy merged commit d4ebcda into TEAMMATES:master Mar 22, 2024
12 checks passed
@jayasting98 jayasting98 removed the s.FinalReview The PR is ready for final review label Mar 22, 2024
@cedricongjh cedricongjh added this to the V9.0.0-beta.1 milestone Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c.Feature User-facing feature; can be new feature or enhancement to existing feature s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Account requests are no longer search indexed, when they should be
4 participants