[wp-trac] [WordPress Trac] #56467: Update @wordpress packages and backport changes from Gutenberg plugin into Core

WordPress Trac noreply at wordpress.org
Mon Sep 26 23:37:12 UTC 2022


#56467: Update @wordpress packages and backport changes from Gutenberg plugin into
Core
--------------------------------------+------------------------------
 Reporter:  Bernhard Reiter           |       Owner:  Bernhard Reiter
     Type:  task (blessed)            |      Status:  assigned
 Priority:  normal                    |   Milestone:  6.1
Component:  Editor                    |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by jrf):

 @gziolo Commit [54257] is now the second commit in as many days which I've
 identified as breaking the WP Core test suite ...

 At the top of every test run in GH Actions you can now see the following
 error messages since this commit:

 {{{
 Creating wordpress-develop_php_run ...
 Creating wordpress-develop_php_run ... done
 WordPress database error Table 'wordpress_develop_tests.wptests_posts'
 doesn't exist for query
                         SELECT   wptests_posts.*
 <div id="error"><p class="wpdberror"><strong>WordPress database
 error:</strong> [Table 'wordpress_develop_tests.wptests_posts'
 doesn't exist]<br /><code>
                         SELECT   wptests_posts.*
                         FROM wptests_posts
                         WHERE 1=1  AND (
   0 = 1
 ) AND wptests_posts.post_type = 'wp_template_part' AND
 ((wptests_posts.post_status = 'publish'))
                         GROUP BY wptests_posts.ID
                         ORDER BY wptests_posts.post_date DESC

                         FROM wptests_posts
                         WHERE 1=1  AND (
   0 = 1
 ) AND wptests_posts.post_type = 'wp_template_part' AND
 ((wptests_posts.post_status = 'publish'))
                         GROUP BY wptests_posts.ID
                         ORDER BY wptests_posts.post_date DESC

                  made by require_once('wp-settings.php'),
 do_action('init'), WP_Hook->do_action, WP_Hook->apply_filters,
 register_block_core_template_part, build_template_part_block_variations,
 build_template_part_block_instance_variations, get_block_templates,
 WP_Query->__construct, WP_Query->query, WP_Query->get_posts
                 </code></p></div>Installing...
 Running as single site... To run multisite, use -c
 tests/phpunit/multisite.xml
 }}}


 These errors aren't triggering build failures as they are thrown in the
 test bootstrapping and the test bootstrapping doesn't throw exceptions on
 errors (while it probably should).

 Still not pretty. This needs to be fixed ASAP.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56467#comment:241>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list