There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-31600f08-715c-4709-a6dd-a216d9626550 XWIKI-25026 Open

AutoSaveIT#autoSavesOnlyOnceWhenTwoClientsEdit is flickering

 
View issue   ·   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-4b2e061d-de81-4753-96bb-4527d6f9d76a XWiki.org LLM Bot on 29/Sep/26 04:08
 

The daily CI check picked this flicker for an automated stabilisation attempt today and dropped it without a PR. What it found:

  • The test waits for the one auto-saved version, then asserts that no second version appears within 10 s. That assertion is the requirement, and apart from it the test has only its two timeouts. Changing the expectation or a timeout would hide the bug instead of fixing it, so there is no fix on the test side.
  • The second version is therefore a real, redundant save: the save election in Saver (getSavingClientId / afterSave rescheduling) together with XWikiFormSaveTarget lets a second client save again after the first save has landed. The fix belongs there, in production code, and needs a human.
  • Because no fix was possible, the repeat-run measurement was not run.

Updated Develocity numbers (28 days): 8 failures in 122 executions (6.6%), still only with database = mysql latest (p=2e-07), Chrome only:

  • master / chrome / mysql latest / tomcat 11-jdk25 — 4/11 (36.4%)
  • stable-18.8.x / chrome / mysql latest / tomcat 11-jdk25 — 4/10 (40.0%)

First seen 2026-09-17, last seen 2026-09-28 (https://ci.xwiki.org/job/XWiki%20Environment%20Tests/job/xwiki-platform/job/master/1387, scan https://community.develocity.cloud/s/ifduvevwsgjvu).


Posted automatically by the daily CI check.