Figure out random failures of testTokenCount test

Created on 25 August 2025, 10 days ago

Problem/Motivation

The testTokenCount test fails randomly around 10-15% of the time on the first item. See an example here: https://git.drupalcode.org/issue/ai-3503947/-/jobs/6214945

Code is here: https://git.drupalcode.org/project/ai/-/blob/1.2.x/tests/src/Kernel/Util...

We need to figure out why and fix it.

Proposed resolution

Figure out why the testTokenCount failure and fix it.

πŸ› Bug report
Status

Active

Version

1.2

Component

AI Core module

Created by

πŸ‡©πŸ‡ͺGermany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024