Skip to content

Conversation

@marien-probesys
Copy link
Member

@marien-probesys marien-probesys commented Dec 19, 2025

Related issue(s)

An issue happened when there was a high number of untreated messages associated to users without the "bypass human authentication" option. Indeed, the getSearchQuery() could return 1000 messages concerning these users, while the 1001th message (not returned) could have concerned a user with the "bypass" option enabled.

Now, we iterate on the users with the option enabled and we get their untreated messages so we are sure to always load messages that need to be loaded.

How to test manually

  1. Load a large database with many untreated messages and few users
  2. Deactivate human authentication for one of the user
  3. Run ./scripts/console agentj:auto-release-message and verify that messages are released for this user only

Reviewer checklist

  • Code is manually tested
  • Interface works on both mobiles and big screens
  • Interface works on both Firefox and Chrome
  • Tests are up to date
  • Documentation is up to date
  • Pull request has been reviewed and approved

An issue happened when there was a high number of untreated messages
associated to users without the "bypass human authentication" option.
Indeed, the `getSearchQuery()` could return 1000 messages concerning
these users, while the 1001th message (not returned) could have
concerned a user with the "bypass" option enabled.

Now, we iterate on the users with the option enabled and we get their
untreated messages so we are sure to always load messages that need to
be loaded.
@marien-probesys marien-probesys changed the base branch from fix/locale to 2.4 December 19, 2025 15:45
@marien-probesys marien-probesys merged commit faccbb2 into 2.4 Dec 19, 2025
3 checks passed
@marien-probesys marien-probesys deleted the fix/autorelease branch December 19, 2025 15:45
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