Fixed
Project:
Xray Audit
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2026 at 09:25 UTC
Updated:
7 Oct 2026 at 14:46 UTC
Jump to comment: Most recent
The table xray_audit_entity_host, introduced in #3623607, is created without a primary key. With the recommended transaction isolation level (READ COMMITTED), the status report shows:
Transaction isolation level: For this to work correctly, all tables must have a primary key. The following table(s) do not have a primary key: xray_audit_entity_host.
id column as primary key.Review.
New id primary key column in xray_audit_entity_host.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
juanjolThe composer job fails uploading artifacts (413 Request Entity Too Large), so the rest of the pipeline is skipped. This is not related to the MR.
Kernel tests run locally (Drupal 11, PHP 8.3) on SQLite and MySQL:
Also tested on a real site: after
drush updbthe table is dropped, it is created again with the primary key the next time it is needed, and the status report error is gone.Comment #4
juanjolThe CI/CD problems, not related to this change, are fixed in #3628804.
Running the pipeline manually with _COMPOSER_YARN_INSTALL=0 passes: https://git.drupalcode.org/issue/xray_audit-3628792/-/pipelines/991130
Comment #6
lpeidro commentedI merge the MR.