RTC: Fix race condition on room creation which can cause a split update log#77675
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @danluu! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
6a3168f to
a02b370
Compare
| return null; | ||
| } | ||
|
|
||
| clean_post_cache( $post_id ); |
There was a problem hiding this comment.
I haven’t followed the post-cache issues too closely, but I wonder if this is going to be problematic as well.
I would expect that promoting a non-canonical storage meta will occur rarely (vs. multiple times per second as was occurring in trunk for edits), but I would like some double-checking on this to make sure it would not cause thrashing on the site with other posts.
@peterwilsoncc this PR might seem a bit random, but are you able to speak to the use of clean_post_cache() here? the situation is that two sessions opened a post and due to a race condition, created two separate wp_sync_storage rows. this code is resolving that race.
There was a problem hiding this comment.
I think this can use wp_update_post()
There was a problem hiding this comment.
thanks @peterwilsoncc — I’ve made that update in a871f1c, but I wonder if there’s important gains running through all the additional machinery in get_posts(). given that this is going to be occurring frequently during an edit session.
I’ll leave it and we can see later if it’s problematic. if this code disappears in favor of a table then I suppose this is good enough.
| self::POST_TYPE, | ||
| $room_hash, | ||
| $wpdb->esc_like( $room_hash . '-' ) . '%' | ||
| ) |
There was a problem hiding this comment.
I think the concern may be minor here, but I wanted to ask if this OR clause is hiding a needless table scan. I asked an LLM to analyze it and it suggested that a UNION instead could introduce two index-scans to replace a single table scan.
Here is MariaDB’s EXPLAIN for the two versions:
MariaDB [wordpress]> EXPLAIN SELECT ID FROM wp_posts WHERE post_type = "wp_sync_storage" AND post_status = "publish" AND ( post_name = "abc123" OR post_name LIKE "abc123-" ) ORDER BY ID ASC;
+------+-------------+----------+-------+-----------------------------------------------+---------+---------+------+------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+------+-------------+----------+-------+-----------------------------------------------+---------+---------+------+------+-------------+
| 1 | SIMPLE | wp_posts | index | post_name,type_status_date,type_status_author | PRIMARY | 8 | NULL | 35 | Using where |
+------+-------------+----------+-------+-----------------------------------------------+---------+---------+------+------+-------------+
1 row in set (0.003 sec)
MariaDB [wordpress]> EXPLAIN SELECT ID FROM wp_posts WHERE post_type = "wp_sync_storage" AND post_status = "publish" AND post_name = "abc123" UNION SELECT ID FROM wp_posts WHERE post_type = "wp_sync_storage" AND post_status = "publish" AND post_name LIKE "abc123-" ORDER BY ID ASC;
+------+--------------+------------+-------+-----------------------------------------------+-----------+---------+-------+------+----------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+------+--------------+------------+-------+-----------------------------------------------+-----------+---------+-------+------+----------------+
| 1 | PRIMARY | wp_posts | ref | post_name,type_status_date,type_status_author | post_name | 766 | const | 1 | Using where |
| 2 | UNION | wp_posts | range | post_name,type_status_date,type_status_author | post_name | 766 | NULL | 1 | Using where |
| NULL | UNION RESULT | <union1,2> | ALL | NULL | NULL | NULL | NULL | NULL | Using filesort |
+------+--------------+------------+-------+-----------------------------------------------+-----------+---------+-------+------+----------------+
3 rows in set (0.002 sec)Granted, for my little test site with two posts both are going to be roughly equivalent, but if we hit a site with thousands of posts, I wonder if this could introduce noticeable DB overhead.
Not being sure how to interpret the Using filesort I also asked about eliminating that by sorting in PHP and there was no clear guidance other than to say that when the expected set is small (which it is here) there’s no practical difference.
|
@danluu Are you able to provide more information about how the race condition is being forced, so I can do so locally. The reason I am asking is that I'd like to know how real world this is, the additional work being done will slow down requests which would make any race condition more likely to occur. @dmsnell The |
peterwilsoncc
left a comment
There was a problem hiding this comment.
I've added some first view notes inline but my main question is in the comment above re: reproduction steps.
I know from conversations with Matt that he is pretty keen on avoiding the post/post_meta approach so I'd really prefer to focus our energies there rather than on code that's unlikely to make a WordPress release.
As the updates are added to a row identified by the room name, the race condition isn't able to occur with the improved storage structure.
Aside: while post_meta has been the prompt for Core-64696 (don't read all of it), using posts for rooms is an abuse of both the posts and posts_meta tables in my view.
| $move_result = $wpdb->update( | ||
| $wpdb->postmeta, | ||
| array( 'post_id' => $canonical_post_id ), | ||
| array( 'post_id' => $duplicate_id ), | ||
| array( '%d' ), | ||
| array( '%d' ) | ||
| ); |
There was a problem hiding this comment.
This may result in two copies of awareness post_meta stored against a single post ID.
There was a problem hiding this comment.
do you have the mechanism for how this would create the duplicates? we did some investigation into meta_id, but trying to prevent that ended up adding considerable complexity and was addressing a secondary effect of this PR, which itself is preventing duplicate posts at a more frequent rate.
I think that even in the presence of new risk here, my assessment is that this is significantly lowering the overall risk. that is, we’re not introducing the possibility of creating duplicate awareness posts; we’re starting in a system that already duplicates them and we’re removing one common way it does that.
| $post_id = $wpdb->get_var( | ||
| $wpdb->prepare( | ||
| "SELECT ID FROM {$wpdb->posts} WHERE post_type = %s AND post_status = 'publish' AND post_name = %s ORDER BY ID ASC LIMIT 1", | ||
| self::POST_TYPE, | ||
| $room_hash | ||
| ) | ||
| ); |
There was a problem hiding this comment.
This can use the get_posts API.
$posts = get_posts(
array(
'post_type' => self::POST_TYPE,
'posts_per_page' => 1,
'post_status' => 'publish',
'name' => $room_hash,
'fields' => 'ids',
'orderby' => 'ID',
'order' => 'ASC',
)
);There was a problem hiding this comment.
thanks @peterwilsoncc — I’ve made that update in a871f1c, but I wonder if there’s important gains running through all the additional machinery in get_posts(). given that this is going to be occurring frequently during an edit session.
I’ll leave it and we can see later if it’s problematic. if this code disappears in favor of a table then I suppose this is good enough.
| return null; | ||
| } | ||
|
|
||
| clean_post_cache( $post_id ); |
There was a problem hiding this comment.
I think this can use wp_update_post()
|
@peterwilsoncc Thanks for taking a look! Specifically on the question of the repro, the checked in e2e test forced a race by creating a For a less artificial (but non-deterministic) repro, this script attempts to demonstrate the race: https://github.com/danluu/gutenberg/blob/danluu/rtc-room-split-explanation/docs/explanations/fuzzer-bugs/rtc-issue-08-normal-rest-repro.sh. The script creates concurrent draft posts across users and then checks if there was a room split. It works on my machine fairly consistently, but it may be less consistent in a different environment. |
Thanks for the script @danluu -- while feedback comes in from hosts on the performance of the various options (see the call for testing on make/hosting), I'm going to compare the effects across the various options. There's a good chance something will be needed but the exact shape is yet to be determined. |
I might have missed the news in the flurry over the past week, but I thought we are still shipping the post meta approach for 7.0? If so, the goal is to get this code in for the release, as a bug fix to the RTC functionality introduced in 7.0. The idea being that it would be best to risk duplicating some effort now to prevent people from getting corrupted documents when they try out the new hallmark feature of the release. |
|
No such comment has been posted on the core ticket so I have been working on the basis that we’d be proceeding with the table given that was why Matt delayed the release.
If you’re hearing otherwise are you able to ask someone to post on the core ticket to the effect and modify the milestone accordingly
… I might have missed the news in the flurry over the past week, but I thought we are still shipping the post meta approach for 7.0?
|
@peterwilsoncc thank you for your insight here and your helpful review on this PR. I hear that feedback, but I want to provide a bit more context:
I just want to say that as far as we can guarantee, we will be monitoring this code and happy to handle any necessary follow-ups or reverts. as we stack up detected bugs and fixes though, it’s becoming harder and harder to address them because we’re finding the same bugs repeatedly. |
dmsnell
left a comment
There was a problem hiding this comment.
There could be some follow-up work on this, but it appears to solve a real problem. I’ll handle the backport.
If anything serious turns up we can revert.
|
The unit tests are failing on trunk after this was merged. Details - https://github.com/WordPress/gutenberg/actions/runs/25459792903/job/74699025309 |
|
These unit tests should be fixed here: #78053 Furthermore, let's backport this to |
|
I just cherry-picked this PR to the wp/7.0 branch to get it included in the next release: 888812a |
…te log (#77675) When two edit sessions create a “room” for the same document, they can encounter a race where WordPress creates two copies of the sync post meta for that document and the editors can work on two different histories of the document, leading to data loss. This change introduces a process to merge updates into a canonical sync post meta to avoid this race. When duplicates are detected, the newest sync’d meta is chosen as the new canonical copy and it replaces the other copies. During this process, additional database activity occurs to resolve the duplicates, though that should normatively present itself when duplicates already exist. Due to a lack of a broadly-supported way to perform database locking, there remains a secondary race when resolving the duplicates; this condition should be rarer than the one which motivated this in the first place. That means that while risk still exists, the overall risk should be much lower. An attempt was made to cover this secondary risk but the solution was complicated and itself unclear. Co-authored-by: danluu <danluu@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
Trac ticket: Core-65138 Backport of WordPress/gutenberg#77675 A race condition on opening an editor session allows for Core to create duplicate post meta for sync storage. This creates two copies of the document which the editors operate on independently, leading to a mismatch between the sessions. In this patch, when such a duplicate storage row is detected, a canonical version of the post meta is chosen (the one with the lowest id viz. the oldest one) and the duplicate is merged into it. This should ensure that all edit sessions for a given post use the same synchronized backing store. Co-authored-by: Dennis Snell <dmsnell@git.wordpress.org>
…te log (#77675) When two edit sessions create a “room” for the same document, they can encounter a race where WordPress creates two copies of the sync post meta for that document and the editors can work on two different histories of the document, leading to data loss. This change introduces a process to merge updates into a canonical sync post meta to avoid this race. When duplicates are detected, the newest sync’d meta is chosen as the new canonical copy and it replaces the other copies. During this process, additional database activity occurs to resolve the duplicates, though that should normatively present itself when duplicates already exist. Due to a lack of a broadly-supported way to perform database locking, there remains a secondary race when resolving the duplicates; this condition should be rarer than the one which motivated this in the first place. That means that while risk still exists, the overall risk should be much lower. An attempt was made to cover this secondary risk but the solution was complicated and itself unclear. Co-authored-by: danluu <danluu@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
This updates the pinned hash from the `gutenberg` from `e2970ba736edb99e08fb369d4fb0c378189468ee ` to `c15cef1d6b07f666df28dac0383bafb0edfe0914`. The following changes are included: - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) (WordPress/gutenberg#77110) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) (WordPress/gutenberg#77325) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Test: Connectors Point to the righ page. (WordPress/gutenberg#77272) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Core Abilities: Export initialization promise as `ready` (WordPress/gutenberg#77254) - Block Editor: Strip per-block custom CSS on save for users without edit_css (WordPress/gutenberg#76650) - Add heading level 1 for the fonts page (WordPress/gutenberg#77482) - Connectors: Treat network-active plugins as active in plugin status check (WordPress/gutenberg#77661) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - RTC: Fix "Connection Lost" dialog when too many entities are loaded (WordPress/gutenberg#77631) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - Patterns: add confirmation dialog before disconnecting/detaching (WordPress/gutenberg#75713) - Template parts: make 'Detach' context menu item consistent across patterns and template parts (WordPress/gutenberg#77581) - Remove sandbox `allow-same-origin` for core/html blocks (Merge WordPress/gutenberg#77212 to `wp/7.0`) (WordPress/gutenberg#77699) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Backport: Writing Flow: fix arrow keys skipping paragraph containing link (WordPress/gutenberg#77478) - Revisions: Improve screen reader accessibility for diff markers region and slider (WordPress/gutenberg#77660) - Connectors: Add role="list" wrapper to connector cards for valid ARIA structure (WordPress/gutenberg#77689) - Command Palette: Fix macOs label for sites unable to determine UA via PHP (WordPress/gutenberg#77638) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) (WordPress/gutenberg#77706) - Connectors: keep focus on action Button during install (WordPress/gutenberg#77544) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Core Data: Treat single-item responses specially (WordPress/gutenberg#76318) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - i18n: add context to scale (WordPress/gutenberg#76917) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - e2e: Add e2e tests for template and template part revisions (WordPress/gutenberg#76923) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) (WordPress/gutenberg#78070) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Real-time collaboration: Bundle @wordpress/sync instead of exposing as wp.sync (WordPress/gutenberg#78085) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/e2970ba736edb99e08fb369d4fb0c378189468ee…c15cef1d6b07f666df28dac0383bafb0edfe0914. Log created with: git log --reverse --format="- %s" e2970ba736edb99e08fb369d4fb0c378189468ee..c15cef1d6b07f666df28dac0383bafb0edfe0914 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy See #64595. git-svn-id: https://develop.svn.wordpress.org/trunk@62333 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `e2970ba736edb99e08fb369d4fb0c378189468ee ` to `c15cef1d6b07f666df28dac0383bafb0edfe0914`. The following changes are included: - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) (WordPress/gutenberg#77110) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) (WordPress/gutenberg#77325) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Test: Connectors Point to the righ page. (WordPress/gutenberg#77272) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Core Abilities: Export initialization promise as `ready` (WordPress/gutenberg#77254) - Block Editor: Strip per-block custom CSS on save for users without edit_css (WordPress/gutenberg#76650) - Add heading level 1 for the fonts page (WordPress/gutenberg#77482) - Connectors: Treat network-active plugins as active in plugin status check (WordPress/gutenberg#77661) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - RTC: Fix "Connection Lost" dialog when too many entities are loaded (WordPress/gutenberg#77631) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - Patterns: add confirmation dialog before disconnecting/detaching (WordPress/gutenberg#75713) - Template parts: make 'Detach' context menu item consistent across patterns and template parts (WordPress/gutenberg#77581) - Remove sandbox `allow-same-origin` for core/html blocks (Merge WordPress/gutenberg#77212 to `wp/7.0`) (WordPress/gutenberg#77699) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Backport: Writing Flow: fix arrow keys skipping paragraph containing link (WordPress/gutenberg#77478) - Revisions: Improve screen reader accessibility for diff markers region and slider (WordPress/gutenberg#77660) - Connectors: Add role="list" wrapper to connector cards for valid ARIA structure (WordPress/gutenberg#77689) - Command Palette: Fix macOs label for sites unable to determine UA via PHP (WordPress/gutenberg#77638) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) (WordPress/gutenberg#77706) - Connectors: keep focus on action Button during install (WordPress/gutenberg#77544) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Core Data: Treat single-item responses specially (WordPress/gutenberg#76318) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - i18n: add context to scale (WordPress/gutenberg#76917) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - e2e: Add e2e tests for template and template part revisions (WordPress/gutenberg#76923) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) (WordPress/gutenberg#78070) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Real-time collaboration: Bundle @wordpress/sync instead of exposing as wp.sync (WordPress/gutenberg#78085) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/e2970ba736edb99e08fb369d4fb0c378189468ee…c15cef1d6b07f666df28dac0383bafb0edfe0914. Log created with: git log --reverse --format="- %s" e2970ba736edb99e08fb369d4fb0c378189468ee..c15cef1d6b07f666df28dac0383bafb0edfe0914 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy See #64595. Built from https://develop.svn.wordpress.org/trunk@62333 git-svn-id: http://core.svn.wordpress.org/trunk@61614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the pinned hash from the `gutenberg` from `e2970ba736edb99e08fb369d4fb0c378189468ee ` to `c15cef1d6b07f666df28dac0383bafb0edfe0914`. The following changes are included: - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) (WordPress/gutenberg#77110) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) (WordPress/gutenberg#77325) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Test: Connectors Point to the righ page. (WordPress/gutenberg#77272) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Core Abilities: Export initialization promise as `ready` (WordPress/gutenberg#77254) - Block Editor: Strip per-block custom CSS on save for users without edit_css (WordPress/gutenberg#76650) - Add heading level 1 for the fonts page (WordPress/gutenberg#77482) - Connectors: Treat network-active plugins as active in plugin status check (WordPress/gutenberg#77661) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - RTC: Fix "Connection Lost" dialog when too many entities are loaded (WordPress/gutenberg#77631) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - Patterns: add confirmation dialog before disconnecting/detaching (WordPress/gutenberg#75713) - Template parts: make 'Detach' context menu item consistent across patterns and template parts (WordPress/gutenberg#77581) - Remove sandbox `allow-same-origin` for core/html blocks (Merge WordPress/gutenberg#77212 to `wp/7.0`) (WordPress/gutenberg#77699) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Backport: Writing Flow: fix arrow keys skipping paragraph containing link (WordPress/gutenberg#77478) - Revisions: Improve screen reader accessibility for diff markers region and slider (WordPress/gutenberg#77660) - Connectors: Add role="list" wrapper to connector cards for valid ARIA structure (WordPress/gutenberg#77689) - Command Palette: Fix macOs label for sites unable to determine UA via PHP (WordPress/gutenberg#77638) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) (WordPress/gutenberg#77706) - Connectors: keep focus on action Button during install (WordPress/gutenberg#77544) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Core Data: Treat single-item responses specially (WordPress/gutenberg#76318) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - i18n: add context to scale (WordPress/gutenberg#76917) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - e2e: Add e2e tests for template and template part revisions (WordPress/gutenberg#76923) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) (WordPress/gutenberg#78070) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Real-time collaboration: Bundle @wordpress/sync instead of exposing as wp.sync (WordPress/gutenberg#78085) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/e2970ba736edb99e08fb369d4fb0c378189468ee…c15cef1d6b07f666df28dac0383bafb0edfe0914. Log created with: git log --reverse --format="- %s" e2970ba736edb99e08fb369d4fb0c378189468ee..c15cef1d6b07f666df28dac0383bafb0edfe0914 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy Reviewed by desrosj. Merges [62333] to the 7.0 branch. Props ellatrix, desrosj. See #64595. git-svn-id: https://develop.svn.wordpress.org/branches/7.0@62335 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned hash from the `gutenberg` from `e2970ba736edb99e08fb369d4fb0c378189468ee ` to `c15cef1d6b07f666df28dac0383bafb0edfe0914`. The following changes are included: - RTC: Predefined retry schedules for disconnect dialog, make more lenient (WordPress/gutenberg#76966) - Block Editor: Prevent Enter key from inserting paragraphs in contentOnly sections (WordPress/gutenberg#76989) - Cover block: fix embed video background Error 153 in editor (WordPress/gutenberg#76904) - Restore original template registration tests alongside activation variants (WordPress/gutenberg#77068) - Avoid stale values in core/cover block for RTC compatibility (WordPress/gutenberg#76916) - Bump oras-project/setup-oras (WordPress/gutenberg#77096) (WordPress/gutenberg#77110) - RTC: Change SyncConnectionModal to isSyncConnectionErrorHandled filter and drop IS_GUTENBERG_PLUGIN check (WordPress/gutenberg#76853) - contentOnly template lock: Fix block insertion and removal rules (WordPress/gutenberg#77119) - Global Styles Revisions: Fix footer overflow (WordPress/gutenberg#77103) - Revision: Fix 'Show changes' button reset state (WordPress/gutenberg#77122) - Link picker: Decode HTML entities in link preview title (WordPress/gutenberg#77170) - Connectors: don't clobber third-party custom render in registerDefaultConnectors (WordPress/gutenberg#77116) - Connectors: Replace speak() with notice store for state changes (WordPress/gutenberg#77174) - Core Data: Fix 'useEntityProp' for raw attributes (WordPress/gutenberg#77120) - Fix PatternsActions prop name from postType to type (WordPress/gutenberg#77251) - Fix: restore editor canvas padding in classic themes (WordPress/gutenberg#76864) - RTC: Add filterable flag for meta box RTC compatibility (WordPress/gutenberg#76939) - Fix failing 'WP_HTTP_Polling_Sync_Server' unit test (WordPress/gutenberg#77025) (WordPress/gutenberg#77325) - Edit Post: Fix warning in 'useMetaBoxInitialization' hook (WordPress/gutenberg#77311) - Update the page slug we link to for the AI plugin after the plugin has been installed and activated (WordPress/gutenberg#77336) - Test: Connectors Point to the righ page. (WordPress/gutenberg#77272) - Post Editor: Store metaboxes RTC-compatible flag on location entries (WordPress/gutenberg#77361) - Core Abilities: Export initialization promise as `ready` (WordPress/gutenberg#77254) - Block Editor: Strip per-block custom CSS on save for users without edit_css (WordPress/gutenberg#76650) - Add heading level 1 for the fonts page (WordPress/gutenberg#77482) - Connectors: Treat network-active plugins as active in plugin status check (WordPress/gutenberg#77661) - RTC: Fix disconnect dialog due to uneditable entity (WordPress/gutenberg#77242) - RTC: Fix "Connection Lost" dialog when too many entities are loaded (WordPress/gutenberg#77631) - RTC: Fix "Edit as HTML" content reset during collaboration (WordPress/gutenberg#77043) - RTC: Add optional `shouldSync` function to entity sync config (WordPress/gutenberg#76947) - RTC: Fixed orphaned meta causing dirty editor state (WordPress/gutenberg#77529) - Ensure "Retry" button is stable during retries (WordPress/gutenberg#77234) - Patterns: add confirmation dialog before disconnecting/detaching (WordPress/gutenberg#75713) - Template parts: make 'Detach' context menu item consistent across patterns and template parts (WordPress/gutenberg#77581) - Remove sandbox `allow-same-origin` for core/html blocks (Merge WordPress/gutenberg#77212 to `wp/7.0`) (WordPress/gutenberg#77699) - Added Context for Next/Prev Enlarge Image (WordPress/gutenberg#76967) - Backport: Writing Flow: fix arrow keys skipping paragraph containing link (WordPress/gutenberg#77478) - Revisions: Improve screen reader accessibility for diff markers region and slider (WordPress/gutenberg#77660) - Connectors: Add role="list" wrapper to connector cards for valid ARIA structure (WordPress/gutenberg#77689) - Command Palette: Fix macOs label for sites unable to determine UA via PHP (WordPress/gutenberg#77638) - RTC: Fix inline inserter reset on update sync (WordPress/gutenberg#76980) (WordPress/gutenberg#77706) - Connectors: keep focus on action Button during install (WordPress/gutenberg#77544) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Core Data: Treat single-item responses specially (WordPress/gutenberg#76318) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - i18n: add context to scale (WordPress/gutenberg#76917) - Revisions: Simplify fetching (WordPress/gutenberg#77086) - e2e: Add e2e tests for template and template part revisions (WordPress/gutenberg#76923) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) (WordPress/gutenberg#78070) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Real-time collaboration: Bundle @wordpress/sync instead of exposing as wp.sync (WordPress/gutenberg#78085) A full list of changes can be found on GitHub: https://github.com/WordPress/gutenberg/compare/e2970ba736edb99e08fb369d4fb0c378189468ee…c15cef1d6b07f666df28dac0383bafb0edfe0914. Log created with: git log --reverse --format="- %s" e2970ba736edb99e08fb369d4fb0c378189468ee..c15cef1d6b07f666df28dac0383bafb0edfe0914 | sed 's|#\([0-9][0-9]*\)|https://github.com/WordPress/gutenberg/pull/\1|g; /github\.com\/WordPress\/gutenberg\/pull/!d' | pbcopy Reviewed by desrosj. Merges [62333] to the 7.0 branch. Props ellatrix, desrosj. See #64595. Built from https://develop.svn.wordpress.org/branches/7.0@62335 git-svn-id: http://core.svn.wordpress.org/branches/7.0@61616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
…te log (#77675) When two edit sessions create a “room” for the same document, they can encounter a race where WordPress creates two copies of the sync post meta for that document and the editors can work on two different histories of the document, leading to data loss. This change introduces a process to merge updates into a canonical sync post meta to avoid this race. When duplicates are detected, the newest sync’d meta is chosen as the new canonical copy and it replaces the other copies. During this process, additional database activity occurs to resolve the duplicates, though that should normatively present itself when duplicates already exist. Due to a lack of a broadly-supported way to perform database locking, there remains a secondary race when resolving the duplicates; this condition should be rarer than the one which motivated this in the first place. That means that while risk still exists, the overall risk should be much lower. An attempt was made to cover this secondary risk but the solution was complicated and itself unclear. Co-authored-by: danluu <danluu@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
…te log (#77675) When two edit sessions create a “room” for the same document, they can encounter a race where WordPress creates two copies of the sync post meta for that document and the editors can work on two different histories of the document, leading to data loss. This change introduces a process to merge updates into a canonical sync post meta to avoid this race. When duplicates are detected, the newest sync’d meta is chosen as the new canonical copy and it replaces the other copies. During this process, additional database activity occurs to resolve the duplicates, though that should normatively present itself when duplicates already exist. Due to a lack of a broadly-supported way to perform database locking, there remains a secondary race when resolving the duplicates; this condition should be rarer than the one which motivated this in the first place. That means that while risk still exists, the overall risk should be much lower. An attempt was made to cover this secondary risk but the solution was complicated and itself unclear. Co-authored-by: danluu <danluu@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
…te log (#77675) When two edit sessions create a “room” for the same document, they can encounter a race where WordPress creates two copies of the sync post meta for that document and the editors can work on two different histories of the document, leading to data loss. This change introduces a process to merge updates into a canonical sync post meta to avoid this race. When duplicates are detected, the newest sync’d meta is chosen as the new canonical copy and it replaces the other copies. During this process, additional database activity occurs to resolve the duplicates, though that should normatively present itself when duplicates already exist. Due to a lack of a broadly-supported way to perform database locking, there remains a secondary race when resolving the duplicates; this condition should be rarer than the one which motivated this in the first place. That means that while risk still exists, the overall risk should be much lower. An attempt was made to cover this secondary risk but the solution was complicated and itself unclear. Co-authored-by: danluu <danluu@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
…te log (#77675) When two edit sessions create a “room” for the same document, they can encounter a race where WordPress creates two copies of the sync post meta for that document and the editors can work on two different histories of the document, leading to data loss. This change introduces a process to merge updates into a canonical sync post meta to avoid this race. When duplicates are detected, the newest sync’d meta is chosen as the new canonical copy and it replaces the other copies. During this process, additional database activity occurs to resolve the duplicates, though that should normatively present itself when duplicates already exist. Due to a lack of a broadly-supported way to perform database locking, there remains a secondary race when resolving the duplicates; this condition should be rarer than the one which motivated this in the first place. That means that while risk still exists, the overall risk should be much lower. An attempt was made to cover this secondary risk but the solution was complicated and itself unclear. Co-authored-by: danluu <danluu@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
…te log (#77675) When two edit sessions create a “room” for the same document, they can encounter a race where WordPress creates two copies of the sync post meta for that document and the editors can work on two different histories of the document, leading to data loss. This change introduces a process to merge updates into a canonical sync post meta to avoid this race. When duplicates are detected, the newest sync’d meta is chosen as the new canonical copy and it replaces the other copies. During this process, additional database activity occurs to resolve the duplicates, though that should normatively present itself when duplicates already exist. Due to a lack of a broadly-supported way to perform database locking, there remains a secondary race when resolving the duplicates; this condition should be rarer than the one which motivated this in the first place. That means that while risk still exists, the overall risk should be much lower. An attempt was made to cover this secondary risk but the solution was complicated and itself unclear. Co-authored-by: danluu <danluu@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
…te log (#77675) When two edit sessions create a “room” for the same document, they can encounter a race where WordPress creates two copies of the sync post meta for that document and the editors can work on two different histories of the document, leading to data loss. This change introduces a process to merge updates into a canonical sync post meta to avoid this race. When duplicates are detected, the newest sync’d meta is chosen as the new canonical copy and it replaces the other copies. During this process, additional database activity occurs to resolve the duplicates, though that should normatively present itself when duplicates already exist. Due to a lack of a broadly-supported way to perform database locking, there remains a secondary race when resolving the duplicates; this condition should be rarer than the one which motivated this in the first place. That means that while risk still exists, the overall risk should be much lower. An attempt was made to cover this secondary risk but the solution was complicated and itself unclear. Co-authored-by: danluu <danluu@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
…te log (#77675) When two edit sessions create a “room” for the same document, they can encounter a race where WordPress creates two copies of the sync post meta for that document and the editors can work on two different histories of the document, leading to data loss. This change introduces a process to merge updates into a canonical sync post meta to avoid this race. When duplicates are detected, the newest sync’d meta is chosen as the new canonical copy and it replaces the other copies. During this process, additional database activity occurs to resolve the duplicates, though that should normatively present itself when duplicates already exist. Due to a lack of a broadly-supported way to perform database locking, there remains a secondary race when resolving the duplicates; this condition should be rarer than the one which motivated this in the first place. That means that while risk still exists, the overall risk should be much lower. An attempt was made to cover this secondary risk but the solution was complicated and itself unclear. Co-authored-by: danluu <danluu@git.wordpress.org> Co-authored-by: dmsnell <dmsnell@git.wordpress.org> Co-authored-by: peterwilsoncc <peterwilsoncc@git.wordpress.org>
This updates the pinned commit hash of the Gutenberg repository from `585cf86bb6f408b1dc61175f75db016aa4760653 ` (version `23.1.0`) to `d5ac60e6118060529737127d44a6fdc8abf57eb9` (version `23.2.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.1.0..v23.2.0. The following commits are included: - Fix PHP multisite tests (WordPress/gutenberg#77825) - Revise README for FocalPointPicker component to use object-position (WordPress/gutenberg#77722) - Experiment: Add first e2e tests for Taxonomies (WordPress/gutenberg#77828) - Content Types: Add post type management (WordPress/gutenberg#77754) - Grid: lock document cursor during resize gesture (WordPress/gutenberg#77813) - Build: Add experimental `widgets/` folder support to @wordpress/build (WordPress/gutenberg#77347) - TabPanel: Fix tab indicator animation (WordPress/gutenberg#77812) - Disable TinyMCE: Repurpose experiment as Classic block removal (WordPress/gutenberg#77838) - Cover block: Inline z-index values (WordPress/gutenberg#77753) - Button: Align link variant underline with Link and ExternalLink (WordPress/gutenberg#77842) - ui/Drawer: Polish open/close animation, fix swipe on content padding (WordPress/gutenberg#77800) - Site Editor: Remove local z-index helper entries (WordPress/gutenberg#77808) - Inline sticky search z-index values (WordPress/gutenberg#77806) - Block Manager: Inline z-index values (WordPress/gutenberg#77759) - Update TypeScript to tsgo (try 2) (WordPress/gutenberg#77682) - Editor: Inline pattern chooser z-index values (WordPress/gutenberg#77772) - Media editor modal: disable scroll wheel zoom while a crop is active (WordPress/gutenberg#77826) - Media editor modal: disable scroll wheel zoom while a pan/drag is active (WordPress/gutenberg#77863) - Media Editor Modal: Try adding undo/redo for the image cropper (WordPress/gutenberg#77782) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Media Upload Modal: Fix pagination and search (WordPress/gutenberg#77872) - `defaultRenderingMode` value not respected when changed using `block_editor_settings_all` (WordPress/gutenberg#77870) - Media editor modal: expand keyboard shortcuts and add interaction helpers (WordPress/gutenberg#77871) - Media editor modal: name landmark regions and add panel headings (WordPress/gutenberg#77875) - Media Editor Modal: Use shift modifier to adjust keyboard pan speed (WordPress/gutenberg#77878) - Disable Classic block: Always register, hide from inserter conditionally (WordPress/gutenberg#77840) - ESLint: Replace `eslint-plugin-react-compiler` with `eslint-plugin-react-hooks` (WordPress/gutenberg#69962) - Disable Classic block: Control inserter support via filter (WordPress/gutenberg#77845) - Grid: add `renderResizeHandle` render prop (WordPress/gutenberg#77811) - Grid: render resize handle as component (WordPress/gutenberg#77888) - Update uuid dependency (WordPress/gutenberg#77848) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Media editor modal: add Shift+R for counter-clockwise rotation (WordPress/gutenberg#77898) - Update references to default branch. (WordPress/gutenberg#77606) - Notes: Keep tall floating threads scrollable on short content (WordPress/gutenberg#77821) - Taxonomy edit route: declare @wordpress/base-styles as dependency (WordPress/gutenberg#77901) - Post Types DataViews: Make titles clickable to open edit page (WordPress/gutenberg#77885) - Upgrade and unify @types/node version (WordPress/gutenberg#77900) - Widget Types: replace bootstrap with resolver (WordPress/gutenberg#77847) - SlotFill: add dependencies to updateFill effect (WordPress/gutenberg#77907) - Grid: prevent resize runaway near viewport edge (WordPress/gutenberg#77854) - Experiment: Add taxonomy visibility fields (WordPress/gutenberg#77835) - Content Types: Add Duplicate action to taxonomy management (WordPress/gutenberg#77853) - Site Editor: Inline layout z-index values (WordPress/gutenberg#77807) - RTC: Clarify WPBlockSelection type and link to duplicates in other packages. (WordPress/gutenberg#77862) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Media Editor Modal: In the image cropper, pan when dragging the crop instead of constraining to the visible area (WordPress/gutenberg#77899) - Block Editor: Clarify logic for 'directInsert' inner blocks setting (WordPress/gutenberg#77873) - Block Editor: Fix target block for copying direct insert block attributes (WordPress/gutenberg#77877) - Link: Fix awkward focus outline around the new-tab icon (WordPress/gutenberg#77910) - Plugin loader: use require for build/constants.php (WordPress/gutenberg#77908) - Tests: Fix argument forwarding for test:unit workspace scripts (WordPress/gutenberg#77541) - Try responsive global block styles with states (WordPress/gutenberg#77513) - Image editor: suppress image editor undo/redo while a crop interaction is active (WordPress/gutenberg#77930) - Experimental: Content types - disable create/save button based on form validity (WordPress/gutenberg#77931) - Guidelines: Refactor accordion to use CollapsibleCard (WordPress/gutenberg#77903) - Guidelines REST: Require read access for standard route (WordPress/gutenberg#77843) - Embed: Add '[embed]' shortcode transform (WordPress/gutenberg#77937) - Edit Post: Fix suppressed errors in Layout component (WordPress/gutenberg#77940) - Experiment: User post types REST controller (WordPress/gutenberg#77915) - Content Types: Add Duplicate action to post type management (WordPress/gutenberg#77844) - Experiment: Content types fix new instance returned in `useSelect` (WordPress/gutenberg#77916) - Select: Hide user agent focus ring in popup (WordPress/gutenberg#77919) - Interactivity API: Fix popover bind hydration (WordPress/gutenberg#77797) - UI: Use string label type for form controls (WordPress/gutenberg#77860) - Widget Types: bootstrap registry into the dashboard client (WordPress/gutenberg#77917) - ui/Drawer: Forward `render` prop on `Drawer.Content` to the scroll container (WordPress/gutenberg#77941) - ColorPicker : Fix inconsistent HEX input clearing behavior (WordPress/gutenberg#77912) - ExternalLink: Fix focus outline under wp-admin (WordPress/gutenberg#77935) - Experiment: Auto fill `slug` from singular label for taxonomies and post types (WordPress/gutenberg#77938) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - Classic Block: Unwrap experiment to hide it from inserter (WordPress/gutenberg#77911) - Migrate native tests to workspace (WordPress/gutenberg#77425) - Remove root uuid dependency (WordPress/gutenberg#77960) - Build: Update lint-staged to 16.4.0 (WordPress/gutenberg#77963) - docgen: Automatic documentation handle for TypeScript overloads (WordPress/gutenberg#77558) - Dashboard: Add experimental `WidgetDashboard` rendering engine (WordPress/gutenberg#77770) - Fix flaky Menu test (WordPress/gutenberg#77972) - Widget Types: server-side registry, decouple wp-build pages (WordPress/gutenberg#77958) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - Media editor: replace fine-rotation slider with RotationRuler (WordPress/gutenberg#77906) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - RTC: Attach sync observers after hydrating persisted CRDT doc (WordPress/gutenberg#77966) - Fix: Buttons block shows inserter picker when multiple allowed blocks are registered (WordPress/gutenberg#77858) - Update nvm installation script to version 0.40.4 (WordPress/gutenberg#77996) - Use theme gray for muted Text (WordPress/gutenberg#77999) - Add lint rule for non-module stylesheet imports (WordPress/gutenberg#77984) - Dashboard experiment: new icon (WordPress/gutenberg#78016) - Testing: Add `createRecord` e2e request util (WordPress/gutenberg#78017) - Widget Types: REST endpoint and core-data entity (WordPress/gutenberg#77987) - Block Editor: Remove unused reducer action types (WordPress/gutenberg#77880) - Experiment: Sync user taxonomies with post types (WordPress/gutenberg#77997) - Dashboard experiment: remove storybook examples for now (WordPress/gutenberg#78020) - Dashboard: add `WidgetDashboard.Actions` compound (WordPress/gutenberg#78019) - Experiment: add first basic user post types e2e tests and update taxonomy tests (WordPress/gutenberg#77998) - Fill in E2E tests for client-side media processing (WordPress/gutenberg#75949) - Modal: Render as a bottom sheet on mobile (WordPress/gutenberg#77956) - Grid: add warning about being under development (WordPress/gutenberg#78022) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Image editor: update sidebar aspect ratio and resize controls (WordPress/gutenberg#78046) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - Site Editor e2e tests: reimplement the wait for load (WordPress/gutenberg#77981) - Make Block Inserter search input sticky while scrolling (WordPress/gutenberg#77698) - Embed: Tighten raw URL transform isMatch (WordPress/gutenberg#78021) - Notes: Separate intent from mechanics in openTheSidebar (WordPress/gutenberg#78039) - Image editor: improve media editor crop accessibility and dialog focus (WordPress/gutenberg#78047) - Fix flaky e2e test for Pages dataview keyboard navigation (WordPress/gutenberg#78054) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - Dashboard: persist layout via @wordpress/preferences (WordPress/gutenberg#78034) - Dashboard: backend default layout filter (WordPress/gutenberg#78040) - i18n: add context to scale (WordPress/gutenberg#76917) - Dashboard: lift Suspense + error boundary into widget chrome and add a default header (WordPress/gutenberg#78012) - Dashboard: add widget inserter modal (WordPress/gutenberg#78033) - Fix flaky homepage-settings e2e test (WordPress/gutenberg#78063) - Experiment: Content types single route and package (WordPress/gutenberg#78059) - Configure global fallbackFn for timezone-mock to handle Date subclasses (WordPress/gutenberg#78056) - Content types: flush rewrite rules on rewrite-impacting changes (WordPress/gutenberg#78058) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) - Add RTC cursor-scope regression tests (WordPress/gutenberg#77662) - Dashboard: REST endpoint for the default layout (WordPress/gutenberg#78066) - Paste: preserve leading number when pasting single-line text like dates (WordPress/gutenberg#77949) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Global Styles: Refactor client side style states to use nodes (WordPress/gutenberg#78000) - Media Editor Modal: Add focus border styles to the stencil rect when the canvas is keyboard focused (WordPress/gutenberg#78078) - Post Content focus mode: Fix flaky e2e test (WordPress/gutenberg#78084) - Update date-fns to v4.1.0 in components and editor packages (WordPress/gutenberg#78057) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Admin UI: Fix nested landmark in Page header (WordPress/gutenberg#78001) - Fix: Shortcode block does not render in Navigation Overlay (WordPress/gutenberg#77511) - Fix flaky 'publish panel' e2e test (WordPress/gutenberg#78082) - Experiment: Content types reuse some commone utils (WordPress/gutenberg#78091) - Style Runtime: Support CSS module style injection across documents (WordPress/gutenberg#77965) - Experiment: Add Classic block migration notice (WordPress/gutenberg#78090) - Content Types: Abstract and reuse label autofilling for post types (WordPress/gutenberg#78099) - i18n: add context to table header/footer label (WordPress/gutenberg#78007) - Experiment: Content types reuse `createStatusAction` (WordPress/gutenberg#78102) - Select: Support placeholder prop on Trigger (WordPress/gutenberg#78076) - feat: Enhance Connectors page on read-only file system (WordPress/gutenberg#77521) - Add missing Portal Storybook subcomponents (WordPress/gutenberg#78108) - RTC: Fix title divergence between users on page refresh after title update (WordPress/gutenberg#77666) - Docs: shortcode transforms with wrapped content + rawHandler JSDoc (WordPress/gutenberg#78003) - Connectors: Refine PHPStan type shapes (WordPress/gutenberg#78103) - Fix lockfile drift and missing dep from content-types consolidation (WordPress/gutenberg#78109) - Classic Block: Use onReplace prop for migration actions (WordPress/gutenberg#78113) - Media Editor Experiment: Add a route, based on the media editor modal, refactor the modal components (WordPress/gutenberg#77994) - i18n: add context to (site) identity (WordPress/gutenberg#78132) - Script Modules: Guard setAccessible() calls behind PHP < 8.1 check (WordPress/gutenberg#78137) - Connectors: Avoid using centered text (WordPress/gutenberg#78125) - Content Types: Introduce view items actions (WordPress/gutenberg#78104) - Fix: Guard require_once calls in generated PHP files against deployment race conditions (WordPress/gutenberg#78110) - bin/dev.mjs: warn (not exit) on stale webpack watching this checkout (WordPress/gutenberg#78098) - E2E: Reset preferences after navigable-toolbar tests (WordPress/gutenberg#78115) - Editor: Refactor 'PostPublishPanel' into function component (WordPress/gutenberg#78083) - Document how to ignore VSCode Workplace Settings. (WordPress/gutenberg#77608) - Select: Fix disabled cursor styles (WordPress/gutenberg#78112) - Revisions: Add tooltip to diff marker buttons (WordPress/gutenberg#77690) - Experiment: Make content types `_builtin` (WordPress/gutenberg#78150) - Experiment: Content types - use `form` for quick edit dialogs (WordPress/gutenberg#78149) - Experiment: Content types use `toggle` for `active` prop edit (WordPress/gutenberg#78146) - Experiment: Update view content types actions (WordPress/gutenberg#78159) - Block Editor: Add translation context for “Exit pattern” (WordPress/gutenberg#78158) - ColorPalette: Fix duplicate-key warnings and incorrect selection with identical color values (WordPress/gutenberg#78004) - Menu: Fix flaky keyboard focus test (WordPress/gutenberg#78162) - e2e tests: use editPost and createNewPost helpers everywhere (WordPress/gutenberg#78170) - Support object values in Select primitive (WordPress/gutenberg#77861) - Text: Fix render prop CSS defenses (WordPress/gutenberg#78172) - Design System: Add missing packages to Storybook introduction (WordPress/gutenberg#77504) - Add SelectControl component to @wordpress/ui (WordPress/gutenberg#77809) - Dashboard experiment: animate customize UX (WordPress/gutenberg#78065) - Add RTC y-websocket-server tests (WordPress/gutenberg#78179) - Grid: add DashboardLanes masonry surface (WordPress/gutenberg#78107) - Dashboard: staging layer for in-progress layout edits (WordPress/gutenberg#78071) - Media: Guard gutenberg_delete_heic_companion_file() against non-string $metadata['original'] (WordPress/gutenberg#78128) - Image block: Try syncing updated metadata fields (alt and caption) from the media editor (WordPress/gutenberg#78139) - Correct capitalization in help text for Breadcrumbs block (WordPress/gutenberg#78175) - Add min release age to npm config (WordPress/gutenberg#78191) - isFulfilled: don't change resolution state, call in resolveSelect (WordPress/gutenberg#78151) - Add aria-label to Revisions button in Post Summary sidebar (WordPress/gutenberg#78140) - Experiment: Content types invaidate cache for synced taxonomies-post types (WordPress/gutenberg#78143) - Shortcode: Offer block-specific transforms when text matches a registered shortcode (WordPress/gutenberg#77944) - E2E: Remove slash from bad embed request mock (WordPress/gutenberg#78200) - UI: Add component status notes to Storybook (WordPress/gutenberg#77988) - ui/Tooltip, ui/IconButton: Add positioner slot API (WordPress/gutenberg#78089) - Add motion design tokens (duration and easing) to @wordpress/theme (WordPress/gutenberg#76097) - Grid: add edit-mode overlay to DashboardGrid and DashboardLanes (WordPress/gutenberg#78199) - Grid: fix keyboard activation on draggable items (WordPress/gutenberg#78163) - ui/CollapsibleCard: support rendering Header as a heading element (WordPress/gutenberg#77962) - Revisions diff markers: enforce 24×24px minimum target size (WCAG 2.5.8) (WordPress/gutenberg#77671) - Popover: Remove close button z-index (WordPress/gutenberg#78180) - Button: Align compound component metadata (WordPress/gutenberg#78184) - Dashboard: use design animation tokens (WordPress/gutenberg#78204) - Tools: Remove save-exact from .npmrc (WordPress/gutenberg#78196) - UI: Improve docs for compound exports (WordPress/gutenberg#78212) - Bump addressable in /packages/react-native-editor/ios (WordPress/gutenberg#77128) - Bump follow-redirects from 1.15.6 to 1.16.0 (WordPress/gutenberg#77278) - Bump vite from 7.3.0 to 7.3.2 (WordPress/gutenberg#77076) - Bump flatted from 3.3.1 to 3.4.2 (WordPress/gutenberg#76708) - Bump @xmldom/xmldom from 0.8.10 to 0.8.13 (WordPress/gutenberg#77577) - Media Editor Modal: Fix empty author and attached to fields (WordPress/gutenberg#78189) - Bump fast-xml-parser from 4.5.0 to 4.5.4 (WordPress/gutenberg#76081) - Bump node-forge from 1.3.1 to 1.3.2 (WordPress/gutenberg#73601) - Experiment: Integrate `useView` in content types lists (WordPress/gutenberg#78197) - Experiment: Add term/post type count fields in content types (WordPress/gutenberg#78157) - Connectors: Increase right padding of callout for mobile layout (WordPress/gutenberg#78126) - UI: Fix subcomponent story labels (WordPress/gutenberg#78210) - Fonts: Move admin menu compat from experimental to wordpress-7.0 (WordPress/gutenberg#78227) - Experiment: Render badges for some content types' fields (WordPress/gutenberg#78194) - Testing: Consolidate CI workflows for changelog testing (WordPress/gutenberg#78169) - Edit Post: Inline meta boxes z-index values (WordPress/gutenberg#78181) - Backport package publish commits to release/23.2 (WordPress/gutenberg#78347) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65559. git-svn-id: https://develop.svn.wordpress.org/trunk@62582 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from `585cf86bb6f408b1dc61175f75db016aa4760653 ` (version `23.1.0`) to `d5ac60e6118060529737127d44a6fdc8abf57eb9` (version `23.2.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.1.0..v23.2.0. The following commits are included: - Fix PHP multisite tests (WordPress/gutenberg#77825) - Revise README for FocalPointPicker component to use object-position (WordPress/gutenberg#77722) - Experiment: Add first e2e tests for Taxonomies (WordPress/gutenberg#77828) - Content Types: Add post type management (WordPress/gutenberg#77754) - Grid: lock document cursor during resize gesture (WordPress/gutenberg#77813) - Build: Add experimental `widgets/` folder support to @wordpress/build (WordPress/gutenberg#77347) - TabPanel: Fix tab indicator animation (WordPress/gutenberg#77812) - Disable TinyMCE: Repurpose experiment as Classic block removal (WordPress/gutenberg#77838) - Cover block: Inline z-index values (WordPress/gutenberg#77753) - Button: Align link variant underline with Link and ExternalLink (WordPress/gutenberg#77842) - ui/Drawer: Polish open/close animation, fix swipe on content padding (WordPress/gutenberg#77800) - Site Editor: Remove local z-index helper entries (WordPress/gutenberg#77808) - Inline sticky search z-index values (WordPress/gutenberg#77806) - Block Manager: Inline z-index values (WordPress/gutenberg#77759) - Update TypeScript to tsgo (try 2) (WordPress/gutenberg#77682) - Editor: Inline pattern chooser z-index values (WordPress/gutenberg#77772) - Media editor modal: disable scroll wheel zoom while a crop is active (WordPress/gutenberg#77826) - Media editor modal: disable scroll wheel zoom while a pan/drag is active (WordPress/gutenberg#77863) - Media Editor Modal: Try adding undo/redo for the image cropper (WordPress/gutenberg#77782) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Media Upload Modal: Fix pagination and search (WordPress/gutenberg#77872) - `defaultRenderingMode` value not respected when changed using `block_editor_settings_all` (WordPress/gutenberg#77870) - Media editor modal: expand keyboard shortcuts and add interaction helpers (WordPress/gutenberg#77871) - Media editor modal: name landmark regions and add panel headings (WordPress/gutenberg#77875) - Media Editor Modal: Use shift modifier to adjust keyboard pan speed (WordPress/gutenberg#77878) - Disable Classic block: Always register, hide from inserter conditionally (WordPress/gutenberg#77840) - ESLint: Replace `eslint-plugin-react-compiler` with `eslint-plugin-react-hooks` (WordPress/gutenberg#69962) - Disable Classic block: Control inserter support via filter (WordPress/gutenberg#77845) - Grid: add `renderResizeHandle` render prop (WordPress/gutenberg#77811) - Grid: render resize handle as component (WordPress/gutenberg#77888) - Update uuid dependency (WordPress/gutenberg#77848) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Media editor modal: add Shift+R for counter-clockwise rotation (WordPress/gutenberg#77898) - Update references to default branch. (WordPress/gutenberg#77606) - Notes: Keep tall floating threads scrollable on short content (WordPress/gutenberg#77821) - Taxonomy edit route: declare @wordpress/base-styles as dependency (WordPress/gutenberg#77901) - Post Types DataViews: Make titles clickable to open edit page (WordPress/gutenberg#77885) - Upgrade and unify @types/node version (WordPress/gutenberg#77900) - Widget Types: replace bootstrap with resolver (WordPress/gutenberg#77847) - SlotFill: add dependencies to updateFill effect (WordPress/gutenberg#77907) - Grid: prevent resize runaway near viewport edge (WordPress/gutenberg#77854) - Experiment: Add taxonomy visibility fields (WordPress/gutenberg#77835) - Content Types: Add Duplicate action to taxonomy management (WordPress/gutenberg#77853) - Site Editor: Inline layout z-index values (WordPress/gutenberg#77807) - RTC: Clarify WPBlockSelection type and link to duplicates in other packages. (WordPress/gutenberg#77862) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Media Editor Modal: In the image cropper, pan when dragging the crop instead of constraining to the visible area (WordPress/gutenberg#77899) - Block Editor: Clarify logic for 'directInsert' inner blocks setting (WordPress/gutenberg#77873) - Block Editor: Fix target block for copying direct insert block attributes (WordPress/gutenberg#77877) - Link: Fix awkward focus outline around the new-tab icon (WordPress/gutenberg#77910) - Plugin loader: use require for build/constants.php (WordPress/gutenberg#77908) - Tests: Fix argument forwarding for test:unit workspace scripts (WordPress/gutenberg#77541) - Try responsive global block styles with states (WordPress/gutenberg#77513) - Image editor: suppress image editor undo/redo while a crop interaction is active (WordPress/gutenberg#77930) - Experimental: Content types - disable create/save button based on form validity (WordPress/gutenberg#77931) - Guidelines: Refactor accordion to use CollapsibleCard (WordPress/gutenberg#77903) - Guidelines REST: Require read access for standard route (WordPress/gutenberg#77843) - Embed: Add '[embed]' shortcode transform (WordPress/gutenberg#77937) - Edit Post: Fix suppressed errors in Layout component (WordPress/gutenberg#77940) - Experiment: User post types REST controller (WordPress/gutenberg#77915) - Content Types: Add Duplicate action to post type management (WordPress/gutenberg#77844) - Experiment: Content types fix new instance returned in `useSelect` (WordPress/gutenberg#77916) - Select: Hide user agent focus ring in popup (WordPress/gutenberg#77919) - Interactivity API: Fix popover bind hydration (WordPress/gutenberg#77797) - UI: Use string label type for form controls (WordPress/gutenberg#77860) - Widget Types: bootstrap registry into the dashboard client (WordPress/gutenberg#77917) - ui/Drawer: Forward `render` prop on `Drawer.Content` to the scroll container (WordPress/gutenberg#77941) - ColorPicker : Fix inconsistent HEX input clearing behavior (WordPress/gutenberg#77912) - ExternalLink: Fix focus outline under wp-admin (WordPress/gutenberg#77935) - Experiment: Auto fill `slug` from singular label for taxonomies and post types (WordPress/gutenberg#77938) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - Classic Block: Unwrap experiment to hide it from inserter (WordPress/gutenberg#77911) - Migrate native tests to workspace (WordPress/gutenberg#77425) - Remove root uuid dependency (WordPress/gutenberg#77960) - Build: Update lint-staged to 16.4.0 (WordPress/gutenberg#77963) - docgen: Automatic documentation handle for TypeScript overloads (WordPress/gutenberg#77558) - Dashboard: Add experimental `WidgetDashboard` rendering engine (WordPress/gutenberg#77770) - Fix flaky Menu test (WordPress/gutenberg#77972) - Widget Types: server-side registry, decouple wp-build pages (WordPress/gutenberg#77958) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - Media editor: replace fine-rotation slider with RotationRuler (WordPress/gutenberg#77906) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - RTC: Attach sync observers after hydrating persisted CRDT doc (WordPress/gutenberg#77966) - Fix: Buttons block shows inserter picker when multiple allowed blocks are registered (WordPress/gutenberg#77858) - Update nvm installation script to version 0.40.4 (WordPress/gutenberg#77996) - Use theme gray for muted Text (WordPress/gutenberg#77999) - Add lint rule for non-module stylesheet imports (WordPress/gutenberg#77984) - Dashboard experiment: new icon (WordPress/gutenberg#78016) - Testing: Add `createRecord` e2e request util (WordPress/gutenberg#78017) - Widget Types: REST endpoint and core-data entity (WordPress/gutenberg#77987) - Block Editor: Remove unused reducer action types (WordPress/gutenberg#77880) - Experiment: Sync user taxonomies with post types (WordPress/gutenberg#77997) - Dashboard experiment: remove storybook examples for now (WordPress/gutenberg#78020) - Dashboard: add `WidgetDashboard.Actions` compound (WordPress/gutenberg#78019) - Experiment: add first basic user post types e2e tests and update taxonomy tests (WordPress/gutenberg#77998) - Fill in E2E tests for client-side media processing (WordPress/gutenberg#75949) - Modal: Render as a bottom sheet on mobile (WordPress/gutenberg#77956) - Grid: add warning about being under development (WordPress/gutenberg#78022) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Image editor: update sidebar aspect ratio and resize controls (WordPress/gutenberg#78046) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - Site Editor e2e tests: reimplement the wait for load (WordPress/gutenberg#77981) - Make Block Inserter search input sticky while scrolling (WordPress/gutenberg#77698) - Embed: Tighten raw URL transform isMatch (WordPress/gutenberg#78021) - Notes: Separate intent from mechanics in openTheSidebar (WordPress/gutenberg#78039) - Image editor: improve media editor crop accessibility and dialog focus (WordPress/gutenberg#78047) - Fix flaky e2e test for Pages dataview keyboard navigation (WordPress/gutenberg#78054) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - Dashboard: persist layout via @wordpress/preferences (WordPress/gutenberg#78034) - Dashboard: backend default layout filter (WordPress/gutenberg#78040) - i18n: add context to scale (WordPress/gutenberg#76917) - Dashboard: lift Suspense + error boundary into widget chrome and add a default header (WordPress/gutenberg#78012) - Dashboard: add widget inserter modal (WordPress/gutenberg#78033) - Fix flaky homepage-settings e2e test (WordPress/gutenberg#78063) - Experiment: Content types single route and package (WordPress/gutenberg#78059) - Configure global fallbackFn for timezone-mock to handle Date subclasses (WordPress/gutenberg#78056) - Content types: flush rewrite rules on rewrite-impacting changes (WordPress/gutenberg#78058) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) - Add RTC cursor-scope regression tests (WordPress/gutenberg#77662) - Dashboard: REST endpoint for the default layout (WordPress/gutenberg#78066) - Paste: preserve leading number when pasting single-line text like dates (WordPress/gutenberg#77949) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Global Styles: Refactor client side style states to use nodes (WordPress/gutenberg#78000) - Media Editor Modal: Add focus border styles to the stencil rect when the canvas is keyboard focused (WordPress/gutenberg#78078) - Post Content focus mode: Fix flaky e2e test (WordPress/gutenberg#78084) - Update date-fns to v4.1.0 in components and editor packages (WordPress/gutenberg#78057) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Admin UI: Fix nested landmark in Page header (WordPress/gutenberg#78001) - Fix: Shortcode block does not render in Navigation Overlay (WordPress/gutenberg#77511) - Fix flaky 'publish panel' e2e test (WordPress/gutenberg#78082) - Experiment: Content types reuse some commone utils (WordPress/gutenberg#78091) - Style Runtime: Support CSS module style injection across documents (WordPress/gutenberg#77965) - Experiment: Add Classic block migration notice (WordPress/gutenberg#78090) - Content Types: Abstract and reuse label autofilling for post types (WordPress/gutenberg#78099) - i18n: add context to table header/footer label (WordPress/gutenberg#78007) - Experiment: Content types reuse `createStatusAction` (WordPress/gutenberg#78102) - Select: Support placeholder prop on Trigger (WordPress/gutenberg#78076) - feat: Enhance Connectors page on read-only file system (WordPress/gutenberg#77521) - Add missing Portal Storybook subcomponents (WordPress/gutenberg#78108) - RTC: Fix title divergence between users on page refresh after title update (WordPress/gutenberg#77666) - Docs: shortcode transforms with wrapped content + rawHandler JSDoc (WordPress/gutenberg#78003) - Connectors: Refine PHPStan type shapes (WordPress/gutenberg#78103) - Fix lockfile drift and missing dep from content-types consolidation (WordPress/gutenberg#78109) - Classic Block: Use onReplace prop for migration actions (WordPress/gutenberg#78113) - Media Editor Experiment: Add a route, based on the media editor modal, refactor the modal components (WordPress/gutenberg#77994) - i18n: add context to (site) identity (WordPress/gutenberg#78132) - Script Modules: Guard setAccessible() calls behind PHP < 8.1 check (WordPress/gutenberg#78137) - Connectors: Avoid using centered text (WordPress/gutenberg#78125) - Content Types: Introduce view items actions (WordPress/gutenberg#78104) - Fix: Guard require_once calls in generated PHP files against deployment race conditions (WordPress/gutenberg#78110) - bin/dev.mjs: warn (not exit) on stale webpack watching this checkout (WordPress/gutenberg#78098) - E2E: Reset preferences after navigable-toolbar tests (WordPress/gutenberg#78115) - Editor: Refactor 'PostPublishPanel' into function component (WordPress/gutenberg#78083) - Document how to ignore VSCode Workplace Settings. (WordPress/gutenberg#77608) - Select: Fix disabled cursor styles (WordPress/gutenberg#78112) - Revisions: Add tooltip to diff marker buttons (WordPress/gutenberg#77690) - Experiment: Make content types `_builtin` (WordPress/gutenberg#78150) - Experiment: Content types - use `form` for quick edit dialogs (WordPress/gutenberg#78149) - Experiment: Content types use `toggle` for `active` prop edit (WordPress/gutenberg#78146) - Experiment: Update view content types actions (WordPress/gutenberg#78159) - Block Editor: Add translation context for “Exit pattern” (WordPress/gutenberg#78158) - ColorPalette: Fix duplicate-key warnings and incorrect selection with identical color values (WordPress/gutenberg#78004) - Menu: Fix flaky keyboard focus test (WordPress/gutenberg#78162) - e2e tests: use editPost and createNewPost helpers everywhere (WordPress/gutenberg#78170) - Support object values in Select primitive (WordPress/gutenberg#77861) - Text: Fix render prop CSS defenses (WordPress/gutenberg#78172) - Design System: Add missing packages to Storybook introduction (WordPress/gutenberg#77504) - Add SelectControl component to @wordpress/ui (WordPress/gutenberg#77809) - Dashboard experiment: animate customize UX (WordPress/gutenberg#78065) - Add RTC y-websocket-server tests (WordPress/gutenberg#78179) - Grid: add DashboardLanes masonry surface (WordPress/gutenberg#78107) - Dashboard: staging layer for in-progress layout edits (WordPress/gutenberg#78071) - Media: Guard gutenberg_delete_heic_companion_file() against non-string $metadata['original'] (WordPress/gutenberg#78128) - Image block: Try syncing updated metadata fields (alt and caption) from the media editor (WordPress/gutenberg#78139) - Correct capitalization in help text for Breadcrumbs block (WordPress/gutenberg#78175) - Add min release age to npm config (WordPress/gutenberg#78191) - isFulfilled: don't change resolution state, call in resolveSelect (WordPress/gutenberg#78151) - Add aria-label to Revisions button in Post Summary sidebar (WordPress/gutenberg#78140) - Experiment: Content types invaidate cache for synced taxonomies-post types (WordPress/gutenberg#78143) - Shortcode: Offer block-specific transforms when text matches a registered shortcode (WordPress/gutenberg#77944) - E2E: Remove slash from bad embed request mock (WordPress/gutenberg#78200) - UI: Add component status notes to Storybook (WordPress/gutenberg#77988) - ui/Tooltip, ui/IconButton: Add positioner slot API (WordPress/gutenberg#78089) - Add motion design tokens (duration and easing) to @wordpress/theme (WordPress/gutenberg#76097) - Grid: add edit-mode overlay to DashboardGrid and DashboardLanes (WordPress/gutenberg#78199) - Grid: fix keyboard activation on draggable items (WordPress/gutenberg#78163) - ui/CollapsibleCard: support rendering Header as a heading element (WordPress/gutenberg#77962) - Revisions diff markers: enforce 24×24px minimum target size (WCAG 2.5.8) (WordPress/gutenberg#77671) - Popover: Remove close button z-index (WordPress/gutenberg#78180) - Button: Align compound component metadata (WordPress/gutenberg#78184) - Dashboard: use design animation tokens (WordPress/gutenberg#78204) - Tools: Remove save-exact from .npmrc (WordPress/gutenberg#78196) - UI: Improve docs for compound exports (WordPress/gutenberg#78212) - Bump addressable in /packages/react-native-editor/ios (WordPress/gutenberg#77128) - Bump follow-redirects from 1.15.6 to 1.16.0 (WordPress/gutenberg#77278) - Bump vite from 7.3.0 to 7.3.2 (WordPress/gutenberg#77076) - Bump flatted from 3.3.1 to 3.4.2 (WordPress/gutenberg#76708) - Bump @xmldom/xmldom from 0.8.10 to 0.8.13 (WordPress/gutenberg#77577) - Media Editor Modal: Fix empty author and attached to fields (WordPress/gutenberg#78189) - Bump fast-xml-parser from 4.5.0 to 4.5.4 (WordPress/gutenberg#76081) - Bump node-forge from 1.3.1 to 1.3.2 (WordPress/gutenberg#73601) - Experiment: Integrate `useView` in content types lists (WordPress/gutenberg#78197) - Experiment: Add term/post type count fields in content types (WordPress/gutenberg#78157) - Connectors: Increase right padding of callout for mobile layout (WordPress/gutenberg#78126) - UI: Fix subcomponent story labels (WordPress/gutenberg#78210) - Fonts: Move admin menu compat from experimental to wordpress-7.0 (WordPress/gutenberg#78227) - Experiment: Render badges for some content types' fields (WordPress/gutenberg#78194) - Testing: Consolidate CI workflows for changelog testing (WordPress/gutenberg#78169) - Edit Post: Inline meta boxes z-index values (WordPress/gutenberg#78181) - Backport package publish commits to release/23.2 (WordPress/gutenberg#78347) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65559. Built from https://develop.svn.wordpress.org/trunk@62582 git-svn-id: http://core.svn.wordpress.org/trunk@61862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This updates the pinned commit hash of the Gutenberg repository from `585cf86bb6f408b1dc61175f75db016aa4760653 ` (version `23.1.0`) to `d5ac60e6118060529737127d44a6fdc8abf57eb9` (version `23.2.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.1.0..v23.2.0. The following commits are included: - Fix PHP multisite tests (WordPress/gutenberg#77825) - Revise README for FocalPointPicker component to use object-position (WordPress/gutenberg#77722) - Experiment: Add first e2e tests for Taxonomies (WordPress/gutenberg#77828) - Content Types: Add post type management (WordPress/gutenberg#77754) - Grid: lock document cursor during resize gesture (WordPress/gutenberg#77813) - Build: Add experimental `widgets/` folder support to @wordpress/build (WordPress/gutenberg#77347) - TabPanel: Fix tab indicator animation (WordPress/gutenberg#77812) - Disable TinyMCE: Repurpose experiment as Classic block removal (WordPress/gutenberg#77838) - Cover block: Inline z-index values (WordPress/gutenberg#77753) - Button: Align link variant underline with Link and ExternalLink (WordPress/gutenberg#77842) - ui/Drawer: Polish open/close animation, fix swipe on content padding (WordPress/gutenberg#77800) - Site Editor: Remove local z-index helper entries (WordPress/gutenberg#77808) - Inline sticky search z-index values (WordPress/gutenberg#77806) - Block Manager: Inline z-index values (WordPress/gutenberg#77759) - Update TypeScript to tsgo (try 2) (WordPress/gutenberg#77682) - Editor: Inline pattern chooser z-index values (WordPress/gutenberg#77772) - Media editor modal: disable scroll wheel zoom while a crop is active (WordPress/gutenberg#77826) - Media editor modal: disable scroll wheel zoom while a pan/drag is active (WordPress/gutenberg#77863) - Media Editor Modal: Try adding undo/redo for the image cropper (WordPress/gutenberg#77782) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Media Upload Modal: Fix pagination and search (WordPress/gutenberg#77872) - `defaultRenderingMode` value not respected when changed using `block_editor_settings_all` (WordPress/gutenberg#77870) - Media editor modal: expand keyboard shortcuts and add interaction helpers (WordPress/gutenberg#77871) - Media editor modal: name landmark regions and add panel headings (WordPress/gutenberg#77875) - Media Editor Modal: Use shift modifier to adjust keyboard pan speed (WordPress/gutenberg#77878) - Disable Classic block: Always register, hide from inserter conditionally (WordPress/gutenberg#77840) - ESLint: Replace `eslint-plugin-react-compiler` with `eslint-plugin-react-hooks` (WordPress/gutenberg#69962) - Disable Classic block: Control inserter support via filter (WordPress/gutenberg#77845) - Grid: add `renderResizeHandle` render prop (WordPress/gutenberg#77811) - Grid: render resize handle as component (WordPress/gutenberg#77888) - Update uuid dependency (WordPress/gutenberg#77848) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Media editor modal: add Shift+R for counter-clockwise rotation (WordPress/gutenberg#77898) - Update references to default branch. (WordPress/gutenberg#77606) - Notes: Keep tall floating threads scrollable on short content (WordPress/gutenberg#77821) - Taxonomy edit route: declare @wordpress/base-styles as dependency (WordPress/gutenberg#77901) - Post Types DataViews: Make titles clickable to open edit page (WordPress/gutenberg#77885) - Upgrade and unify @types/node version (WordPress/gutenberg#77900) - Widget Types: replace bootstrap with resolver (WordPress/gutenberg#77847) - SlotFill: add dependencies to updateFill effect (WordPress/gutenberg#77907) - Grid: prevent resize runaway near viewport edge (WordPress/gutenberg#77854) - Experiment: Add taxonomy visibility fields (WordPress/gutenberg#77835) - Content Types: Add Duplicate action to taxonomy management (WordPress/gutenberg#77853) - Site Editor: Inline layout z-index values (WordPress/gutenberg#77807) - RTC: Clarify WPBlockSelection type and link to duplicates in other packages. (WordPress/gutenberg#77862) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Media Editor Modal: In the image cropper, pan when dragging the crop instead of constraining to the visible area (WordPress/gutenberg#77899) - Block Editor: Clarify logic for 'directInsert' inner blocks setting (WordPress/gutenberg#77873) - Block Editor: Fix target block for copying direct insert block attributes (WordPress/gutenberg#77877) - Link: Fix awkward focus outline around the new-tab icon (WordPress/gutenberg#77910) - Plugin loader: use require for build/constants.php (WordPress/gutenberg#77908) - Tests: Fix argument forwarding for test:unit workspace scripts (WordPress/gutenberg#77541) - Try responsive global block styles with states (WordPress/gutenberg#77513) - Image editor: suppress image editor undo/redo while a crop interaction is active (WordPress/gutenberg#77930) - Experimental: Content types - disable create/save button based on form validity (WordPress/gutenberg#77931) - Guidelines: Refactor accordion to use CollapsibleCard (WordPress/gutenberg#77903) - Guidelines REST: Require read access for standard route (WordPress/gutenberg#77843) - Embed: Add '[embed]' shortcode transform (WordPress/gutenberg#77937) - Edit Post: Fix suppressed errors in Layout component (WordPress/gutenberg#77940) - Experiment: User post types REST controller (WordPress/gutenberg#77915) - Content Types: Add Duplicate action to post type management (WordPress/gutenberg#77844) - Experiment: Content types fix new instance returned in `useSelect` (WordPress/gutenberg#77916) - Select: Hide user agent focus ring in popup (WordPress/gutenberg#77919) - Interactivity API: Fix popover bind hydration (WordPress/gutenberg#77797) - UI: Use string label type for form controls (WordPress/gutenberg#77860) - Widget Types: bootstrap registry into the dashboard client (WordPress/gutenberg#77917) - ui/Drawer: Forward `render` prop on `Drawer.Content` to the scroll container (WordPress/gutenberg#77941) - ColorPicker : Fix inconsistent HEX input clearing behavior (WordPress/gutenberg#77912) - ExternalLink: Fix focus outline under wp-admin (WordPress/gutenberg#77935) - Experiment: Auto fill `slug` from singular label for taxonomies and post types (WordPress/gutenberg#77938) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - Classic Block: Unwrap experiment to hide it from inserter (WordPress/gutenberg#77911) - Migrate native tests to workspace (WordPress/gutenberg#77425) - Remove root uuid dependency (WordPress/gutenberg#77960) - Build: Update lint-staged to 16.4.0 (WordPress/gutenberg#77963) - docgen: Automatic documentation handle for TypeScript overloads (WordPress/gutenberg#77558) - Dashboard: Add experimental `WidgetDashboard` rendering engine (WordPress/gutenberg#77770) - Fix flaky Menu test (WordPress/gutenberg#77972) - Widget Types: server-side registry, decouple wp-build pages (WordPress/gutenberg#77958) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - Media editor: replace fine-rotation slider with RotationRuler (WordPress/gutenberg#77906) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - RTC: Attach sync observers after hydrating persisted CRDT doc (WordPress/gutenberg#77966) - Fix: Buttons block shows inserter picker when multiple allowed blocks are registered (WordPress/gutenberg#77858) - Update nvm installation script to version 0.40.4 (WordPress/gutenberg#77996) - Use theme gray for muted Text (WordPress/gutenberg#77999) - Add lint rule for non-module stylesheet imports (WordPress/gutenberg#77984) - Dashboard experiment: new icon (WordPress/gutenberg#78016) - Testing: Add `createRecord` e2e request util (WordPress/gutenberg#78017) - Widget Types: REST endpoint and core-data entity (WordPress/gutenberg#77987) - Block Editor: Remove unused reducer action types (WordPress/gutenberg#77880) - Experiment: Sync user taxonomies with post types (WordPress/gutenberg#77997) - Dashboard experiment: remove storybook examples for now (WordPress/gutenberg#78020) - Dashboard: add `WidgetDashboard.Actions` compound (WordPress/gutenberg#78019) - Experiment: add first basic user post types e2e tests and update taxonomy tests (WordPress/gutenberg#77998) - Fill in E2E tests for client-side media processing (WordPress/gutenberg#75949) - Modal: Render as a bottom sheet on mobile (WordPress/gutenberg#77956) - Grid: add warning about being under development (WordPress/gutenberg#78022) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Image editor: update sidebar aspect ratio and resize controls (WordPress/gutenberg#78046) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - Site Editor e2e tests: reimplement the wait for load (WordPress/gutenberg#77981) - Make Block Inserter search input sticky while scrolling (WordPress/gutenberg#77698) - Embed: Tighten raw URL transform isMatch (WordPress/gutenberg#78021) - Notes: Separate intent from mechanics in openTheSidebar (WordPress/gutenberg#78039) - Image editor: improve media editor crop accessibility and dialog focus (WordPress/gutenberg#78047) - Fix flaky e2e test for Pages dataview keyboard navigation (WordPress/gutenberg#78054) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - Dashboard: persist layout via @wordpress/preferences (WordPress/gutenberg#78034) - Dashboard: backend default layout filter (WordPress/gutenberg#78040) - i18n: add context to scale (WordPress/gutenberg#76917) - Dashboard: lift Suspense + error boundary into widget chrome and add a default header (WordPress/gutenberg#78012) - Dashboard: add widget inserter modal (WordPress/gutenberg#78033) - Fix flaky homepage-settings e2e test (WordPress/gutenberg#78063) - Experiment: Content types single route and package (WordPress/gutenberg#78059) - Configure global fallbackFn for timezone-mock to handle Date subclasses (WordPress/gutenberg#78056) - Content types: flush rewrite rules on rewrite-impacting changes (WordPress/gutenberg#78058) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) - Add RTC cursor-scope regression tests (WordPress/gutenberg#77662) - Dashboard: REST endpoint for the default layout (WordPress/gutenberg#78066) - Paste: preserve leading number when pasting single-line text like dates (WordPress/gutenberg#77949) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Global Styles: Refactor client side style states to use nodes (WordPress/gutenberg#78000) - Media Editor Modal: Add focus border styles to the stencil rect when the canvas is keyboard focused (WordPress/gutenberg#78078) - Post Content focus mode: Fix flaky e2e test (WordPress/gutenberg#78084) - Update date-fns to v4.1.0 in components and editor packages (WordPress/gutenberg#78057) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Admin UI: Fix nested landmark in Page header (WordPress/gutenberg#78001) - Fix: Shortcode block does not render in Navigation Overlay (WordPress/gutenberg#77511) - Fix flaky 'publish panel' e2e test (WordPress/gutenberg#78082) - Experiment: Content types reuse some commone utils (WordPress/gutenberg#78091) - Style Runtime: Support CSS module style injection across documents (WordPress/gutenberg#77965) - Experiment: Add Classic block migration notice (WordPress/gutenberg#78090) - Content Types: Abstract and reuse label autofilling for post types (WordPress/gutenberg#78099) - i18n: add context to table header/footer label (WordPress/gutenberg#78007) - Experiment: Content types reuse `createStatusAction` (WordPress/gutenberg#78102) - Select: Support placeholder prop on Trigger (WordPress/gutenberg#78076) - feat: Enhance Connectors page on read-only file system (WordPress/gutenberg#77521) - Add missing Portal Storybook subcomponents (WordPress/gutenberg#78108) - RTC: Fix title divergence between users on page refresh after title update (WordPress/gutenberg#77666) - Docs: shortcode transforms with wrapped content + rawHandler JSDoc (WordPress/gutenberg#78003) - Connectors: Refine PHPStan type shapes (WordPress/gutenberg#78103) - Fix lockfile drift and missing dep from content-types consolidation (WordPress/gutenberg#78109) - Classic Block: Use onReplace prop for migration actions (WordPress/gutenberg#78113) - Media Editor Experiment: Add a route, based on the media editor modal, refactor the modal components (WordPress/gutenberg#77994) - i18n: add context to (site) identity (WordPress/gutenberg#78132) - Script Modules: Guard setAccessible() calls behind PHP < 8.1 check (WordPress/gutenberg#78137) - Connectors: Avoid using centered text (WordPress/gutenberg#78125) - Content Types: Introduce view items actions (WordPress/gutenberg#78104) - Fix: Guard require_once calls in generated PHP files against deployment race conditions (WordPress/gutenberg#78110) - bin/dev.mjs: warn (not exit) on stale webpack watching this checkout (WordPress/gutenberg#78098) - E2E: Reset preferences after navigable-toolbar tests (WordPress/gutenberg#78115) - Editor: Refactor 'PostPublishPanel' into function component (WordPress/gutenberg#78083) - Document how to ignore VSCode Workplace Settings. (WordPress/gutenberg#77608) - Select: Fix disabled cursor styles (WordPress/gutenberg#78112) - Revisions: Add tooltip to diff marker buttons (WordPress/gutenberg#77690) - Experiment: Make content types `_builtin` (WordPress/gutenberg#78150) - Experiment: Content types - use `form` for quick edit dialogs (WordPress/gutenberg#78149) - Experiment: Content types use `toggle` for `active` prop edit (WordPress/gutenberg#78146) - Experiment: Update view content types actions (WordPress/gutenberg#78159) - Block Editor: Add translation context for “Exit pattern” (WordPress/gutenberg#78158) - ColorPalette: Fix duplicate-key warnings and incorrect selection with identical color values (WordPress/gutenberg#78004) - Menu: Fix flaky keyboard focus test (WordPress/gutenberg#78162) - e2e tests: use editPost and createNewPost helpers everywhere (WordPress/gutenberg#78170) - Support object values in Select primitive (WordPress/gutenberg#77861) - Text: Fix render prop CSS defenses (WordPress/gutenberg#78172) - Design System: Add missing packages to Storybook introduction (WordPress/gutenberg#77504) - Add SelectControl component to @wordpress/ui (WordPress/gutenberg#77809) - Dashboard experiment: animate customize UX (WordPress/gutenberg#78065) - Add RTC y-websocket-server tests (WordPress/gutenberg#78179) - Grid: add DashboardLanes masonry surface (WordPress/gutenberg#78107) - Dashboard: staging layer for in-progress layout edits (WordPress/gutenberg#78071) - Media: Guard gutenberg_delete_heic_companion_file() against non-string $metadata['original'] (WordPress/gutenberg#78128) - Image block: Try syncing updated metadata fields (alt and caption) from the media editor (WordPress/gutenberg#78139) - Correct capitalization in help text for Breadcrumbs block (WordPress/gutenberg#78175) - Add min release age to npm config (WordPress/gutenberg#78191) - isFulfilled: don't change resolution state, call in resolveSelect (WordPress/gutenberg#78151) - Add aria-label to Revisions button in Post Summary sidebar (WordPress/gutenberg#78140) - Experiment: Content types invaidate cache for synced taxonomies-post types (WordPress/gutenberg#78143) - Shortcode: Offer block-specific transforms when text matches a registered shortcode (WordPress/gutenberg#77944) - E2E: Remove slash from bad embed request mock (WordPress/gutenberg#78200) - UI: Add component status notes to Storybook (WordPress/gutenberg#77988) - ui/Tooltip, ui/IconButton: Add positioner slot API (WordPress/gutenberg#78089) - Add motion design tokens (duration and easing) to @wordpress/theme (WordPress/gutenberg#76097) - Grid: add edit-mode overlay to DashboardGrid and DashboardLanes (WordPress/gutenberg#78199) - Grid: fix keyboard activation on draggable items (WordPress/gutenberg#78163) - ui/CollapsibleCard: support rendering Header as a heading element (WordPress/gutenberg#77962) - Revisions diff markers: enforce 24×24px minimum target size (WCAG 2.5.8) (WordPress/gutenberg#77671) - Popover: Remove close button z-index (WordPress/gutenberg#78180) - Button: Align compound component metadata (WordPress/gutenberg#78184) - Dashboard: use design animation tokens (WordPress/gutenberg#78204) - Tools: Remove save-exact from .npmrc (WordPress/gutenberg#78196) - UI: Improve docs for compound exports (WordPress/gutenberg#78212) - Bump addressable in /packages/react-native-editor/ios (WordPress/gutenberg#77128) - Bump follow-redirects from 1.15.6 to 1.16.0 (WordPress/gutenberg#77278) - Bump vite from 7.3.0 to 7.3.2 (WordPress/gutenberg#77076) - Bump flatted from 3.3.1 to 3.4.2 (WordPress/gutenberg#76708) - Bump @xmldom/xmldom from 0.8.10 to 0.8.13 (WordPress/gutenberg#77577) - Media Editor Modal: Fix empty author and attached to fields (WordPress/gutenberg#78189) - Bump fast-xml-parser from 4.5.0 to 4.5.4 (WordPress/gutenberg#76081) - Bump node-forge from 1.3.1 to 1.3.2 (WordPress/gutenberg#73601) - Experiment: Integrate `useView` in content types lists (WordPress/gutenberg#78197) - Experiment: Add term/post type count fields in content types (WordPress/gutenberg#78157) - Connectors: Increase right padding of callout for mobile layout (WordPress/gutenberg#78126) - UI: Fix subcomponent story labels (WordPress/gutenberg#78210) - Fonts: Move admin menu compat from experimental to wordpress-7.0 (WordPress/gutenberg#78227) - Experiment: Render badges for some content types' fields (WordPress/gutenberg#78194) - Testing: Consolidate CI workflows for changelog testing (WordPress/gutenberg#78169) - Edit Post: Inline meta boxes z-index values (WordPress/gutenberg#78181) - Backport package publish commits to release/23.2 (WordPress/gutenberg#78347) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65559. git-svn-id: https://develop.svn.wordpress.org/trunk@62582 602fd350-edb4-49c9-b593-d223f7449a82
This updates the pinned commit hash of the Gutenberg repository from `585cf86bb6f408b1dc61175f75db016aa4760653 ` (version `23.1.0`) to `d5ac60e6118060529737127d44a6fdc8abf57eb9` (version `23.2.0`). A full list of changes included in this commit can be found on GitHub: https://github.com/WordPress/gutenberg/compare/v23.1.0..v23.2.0. The following commits are included: - Fix PHP multisite tests (WordPress/gutenberg#77825) - Revise README for FocalPointPicker component to use object-position (WordPress/gutenberg#77722) - Experiment: Add first e2e tests for Taxonomies (WordPress/gutenberg#77828) - Content Types: Add post type management (WordPress/gutenberg#77754) - Grid: lock document cursor during resize gesture (WordPress/gutenberg#77813) - Build: Add experimental `widgets/` folder support to @wordpress/build (WordPress/gutenberg#77347) - TabPanel: Fix tab indicator animation (WordPress/gutenberg#77812) - Disable TinyMCE: Repurpose experiment as Classic block removal (WordPress/gutenberg#77838) - Cover block: Inline z-index values (WordPress/gutenberg#77753) - Button: Align link variant underline with Link and ExternalLink (WordPress/gutenberg#77842) - ui/Drawer: Polish open/close animation, fix swipe on content padding (WordPress/gutenberg#77800) - Site Editor: Remove local z-index helper entries (WordPress/gutenberg#77808) - Inline sticky search z-index values (WordPress/gutenberg#77806) - Block Manager: Inline z-index values (WordPress/gutenberg#77759) - Update TypeScript to tsgo (try 2) (WordPress/gutenberg#77682) - Editor: Inline pattern chooser z-index values (WordPress/gutenberg#77772) - Media editor modal: disable scroll wheel zoom while a crop is active (WordPress/gutenberg#77826) - Media editor modal: disable scroll wheel zoom while a pan/drag is active (WordPress/gutenberg#77863) - Media Editor Modal: Try adding undo/redo for the image cropper (WordPress/gutenberg#77782) - Connectors: Stop e2e capability restriction from leaking across specs (WordPress/gutenberg#77857) - Media Upload Modal: Fix pagination and search (WordPress/gutenberg#77872) - `defaultRenderingMode` value not respected when changed using `block_editor_settings_all` (WordPress/gutenberg#77870) - Media editor modal: expand keyboard shortcuts and add interaction helpers (WordPress/gutenberg#77871) - Media editor modal: name landmark regions and add panel headings (WordPress/gutenberg#77875) - Media Editor Modal: Use shift modifier to adjust keyboard pan speed (WordPress/gutenberg#77878) - Disable Classic block: Always register, hide from inserter conditionally (WordPress/gutenberg#77840) - ESLint: Replace `eslint-plugin-react-compiler` with `eslint-plugin-react-hooks` (WordPress/gutenberg#69962) - Disable Classic block: Control inserter support via filter (WordPress/gutenberg#77845) - Grid: add `renderResizeHandle` render prop (WordPress/gutenberg#77811) - Grid: render resize handle as component (WordPress/gutenberg#77888) - Update uuid dependency (WordPress/gutenberg#77848) - Added Translator Context for Reply (WordPress/gutenberg#77891) - Media editor modal: add Shift+R for counter-clockwise rotation (WordPress/gutenberg#77898) - Update references to default branch. (WordPress/gutenberg#77606) - Notes: Keep tall floating threads scrollable on short content (WordPress/gutenberg#77821) - Taxonomy edit route: declare @wordpress/base-styles as dependency (WordPress/gutenberg#77901) - Post Types DataViews: Make titles clickable to open edit page (WordPress/gutenberg#77885) - Upgrade and unify @types/node version (WordPress/gutenberg#77900) - Widget Types: replace bootstrap with resolver (WordPress/gutenberg#77847) - SlotFill: add dependencies to updateFill effect (WordPress/gutenberg#77907) - Grid: prevent resize runaway near viewport edge (WordPress/gutenberg#77854) - Experiment: Add taxonomy visibility fields (WordPress/gutenberg#77835) - Content Types: Add Duplicate action to taxonomy management (WordPress/gutenberg#77853) - Site Editor: Inline layout z-index values (WordPress/gutenberg#77807) - RTC: Clarify WPBlockSelection type and link to duplicates in other packages. (WordPress/gutenberg#77862) - Editor: Improve revisions diff pairing performance (WordPress/gutenberg#77126) - Media Editor Modal: In the image cropper, pan when dragging the crop instead of constraining to the visible area (WordPress/gutenberg#77899) - Block Editor: Clarify logic for 'directInsert' inner blocks setting (WordPress/gutenberg#77873) - Block Editor: Fix target block for copying direct insert block attributes (WordPress/gutenberg#77877) - Link: Fix awkward focus outline around the new-tab icon (WordPress/gutenberg#77910) - Plugin loader: use require for build/constants.php (WordPress/gutenberg#77908) - Tests: Fix argument forwarding for test:unit workspace scripts (WordPress/gutenberg#77541) - Try responsive global block styles with states (WordPress/gutenberg#77513) - Image editor: suppress image editor undo/redo while a crop interaction is active (WordPress/gutenberg#77930) - Experimental: Content types - disable create/save button based on form validity (WordPress/gutenberg#77931) - Guidelines: Refactor accordion to use CollapsibleCard (WordPress/gutenberg#77903) - Guidelines REST: Require read access for standard route (WordPress/gutenberg#77843) - Embed: Add '[embed]' shortcode transform (WordPress/gutenberg#77937) - Edit Post: Fix suppressed errors in Layout component (WordPress/gutenberg#77940) - Experiment: User post types REST controller (WordPress/gutenberg#77915) - Content Types: Add Duplicate action to post type management (WordPress/gutenberg#77844) - Experiment: Content types fix new instance returned in `useSelect` (WordPress/gutenberg#77916) - Select: Hide user agent focus ring in popup (WordPress/gutenberg#77919) - Interactivity API: Fix popover bind hydration (WordPress/gutenberg#77797) - UI: Use string label type for form controls (WordPress/gutenberg#77860) - Widget Types: bootstrap registry into the dashboard client (WordPress/gutenberg#77917) - ui/Drawer: Forward `render` prop on `Drawer.Content` to the scroll container (WordPress/gutenberg#77941) - ColorPicker : Fix inconsistent HEX input clearing behavior (WordPress/gutenberg#77912) - ExternalLink: Fix focus outline under wp-admin (WordPress/gutenberg#77935) - Experiment: Auto fill `slug` from singular label for taxonomies and post types (WordPress/gutenberg#77938) - Site editor: preserve non-global styles in pattern previews (WordPress/gutenberg#77957) - Classic Block: Unwrap experiment to hide it from inserter (WordPress/gutenberg#77911) - Migrate native tests to workspace (WordPress/gutenberg#77425) - Remove root uuid dependency (WordPress/gutenberg#77960) - Build: Update lint-staged to 16.4.0 (WordPress/gutenberg#77963) - docgen: Automatic documentation handle for TypeScript overloads (WordPress/gutenberg#77558) - Dashboard: Add experimental `WidgetDashboard` rendering engine (WordPress/gutenberg#77770) - Fix flaky Menu test (WordPress/gutenberg#77972) - Widget Types: server-side registry, decouple wp-build pages (WordPress/gutenberg#77958) - RTC: Fix divergence when two offline users reconnect (WordPress/gutenberg#77980) - Media editor: replace fine-rotation slider with RotationRuler (WordPress/gutenberg#77906) - RTC: Fix compaction unit test (WordPress/gutenberg#77986) - RTC: Attach sync observers after hydrating persisted CRDT doc (WordPress/gutenberg#77966) - Fix: Buttons block shows inserter picker when multiple allowed blocks are registered (WordPress/gutenberg#77858) - Update nvm installation script to version 0.40.4 (WordPress/gutenberg#77996) - Use theme gray for muted Text (WordPress/gutenberg#77999) - Add lint rule for non-module stylesheet imports (WordPress/gutenberg#77984) - Dashboard experiment: new icon (WordPress/gutenberg#78016) - Testing: Add `createRecord` e2e request util (WordPress/gutenberg#78017) - Widget Types: REST endpoint and core-data entity (WordPress/gutenberg#77987) - Block Editor: Remove unused reducer action types (WordPress/gutenberg#77880) - Experiment: Sync user taxonomies with post types (WordPress/gutenberg#77997) - Dashboard experiment: remove storybook examples for now (WordPress/gutenberg#78020) - Dashboard: add `WidgetDashboard.Actions` compound (WordPress/gutenberg#78019) - Experiment: add first basic user post types e2e tests and update taxonomy tests (WordPress/gutenberg#77998) - Fill in E2E tests for client-side media processing (WordPress/gutenberg#75949) - Modal: Render as a bottom sheet on mobile (WordPress/gutenberg#77956) - Grid: add warning about being under development (WordPress/gutenberg#78022) - RTC: Fix race condition on room creation which can cause a split update log (WordPress/gutenberg#77675) - Connectors: Clarify AI plugin callout copy (WordPress/gutenberg#78043) - Image editor: update sidebar aspect ratio and resize controls (WordPress/gutenberg#78046) - Fix: Only auto register settings if the plugin the connector references is installed and active. (WordPress/gutenberg#77273) - Connectors: Add is_active callback support to plugin registration (WordPress/gutenberg#77897) - Site Editor e2e tests: reimplement the wait for load (WordPress/gutenberg#77981) - Make Block Inserter search input sticky while scrolling (WordPress/gutenberg#77698) - Embed: Tighten raw URL transform isMatch (WordPress/gutenberg#78021) - Notes: Separate intent from mechanics in openTheSidebar (WordPress/gutenberg#78039) - Image editor: improve media editor crop accessibility and dialog focus (WordPress/gutenberg#78047) - Fix flaky e2e test for Pages dataview keyboard navigation (WordPress/gutenberg#78054) - RTC: Fix find_canonical_storage_post_id() always returning null (WordPress/gutenberg#78053) - Dashboard: persist layout via @wordpress/preferences (WordPress/gutenberg#78034) - Dashboard: backend default layout filter (WordPress/gutenberg#78040) - i18n: add context to scale (WordPress/gutenberg#76917) - Dashboard: lift Suspense + error boundary into widget chrome and add a default header (WordPress/gutenberg#78012) - Dashboard: add widget inserter modal (WordPress/gutenberg#78033) - Fix flaky homepage-settings e2e test (WordPress/gutenberg#78063) - Experiment: Content types single route and package (WordPress/gutenberg#78059) - Configure global fallbackFn for timezone-mock to handle Date subclasses (WordPress/gutenberg#78056) - Content types: flush rewrite rules on rewrite-impacting changes (WordPress/gutenberg#78058) - Editor: Paginate revisions slider by 100 per page (WordPress/gutenberg#77200) - Add RTC cursor-scope regression tests (WordPress/gutenberg#77662) - Dashboard: REST endpoint for the default layout (WordPress/gutenberg#78066) - Paste: preserve leading number when pasting single-line text like dates (WordPress/gutenberg#77949) - Revision: Fix failing e2e test (WordPress/gutenberg#78079) - Global Styles: Refactor client side style states to use nodes (WordPress/gutenberg#78000) - Media Editor Modal: Add focus border styles to the stencil rect when the canvas is keyboard focused (WordPress/gutenberg#78078) - Post Content focus mode: Fix flaky e2e test (WordPress/gutenberg#78084) - Update date-fns to v4.1.0 in components and editor packages (WordPress/gutenberg#78057) - Revisions: Add diagonal stripe patterns to diff markers to avoid color-only distinction (WordPress/gutenberg#77904) - Admin UI: Fix nested landmark in Page header (WordPress/gutenberg#78001) - Fix: Shortcode block does not render in Navigation Overlay (WordPress/gutenberg#77511) - Fix flaky 'publish panel' e2e test (WordPress/gutenberg#78082) - Experiment: Content types reuse some commone utils (WordPress/gutenberg#78091) - Style Runtime: Support CSS module style injection across documents (WordPress/gutenberg#77965) - Experiment: Add Classic block migration notice (WordPress/gutenberg#78090) - Content Types: Abstract and reuse label autofilling for post types (WordPress/gutenberg#78099) - i18n: add context to table header/footer label (WordPress/gutenberg#78007) - Experiment: Content types reuse `createStatusAction` (WordPress/gutenberg#78102) - Select: Support placeholder prop on Trigger (WordPress/gutenberg#78076) - feat: Enhance Connectors page on read-only file system (WordPress/gutenberg#77521) - Add missing Portal Storybook subcomponents (WordPress/gutenberg#78108) - RTC: Fix title divergence between users on page refresh after title update (WordPress/gutenberg#77666) - Docs: shortcode transforms with wrapped content + rawHandler JSDoc (WordPress/gutenberg#78003) - Connectors: Refine PHPStan type shapes (WordPress/gutenberg#78103) - Fix lockfile drift and missing dep from content-types consolidation (WordPress/gutenberg#78109) - Classic Block: Use onReplace prop for migration actions (WordPress/gutenberg#78113) - Media Editor Experiment: Add a route, based on the media editor modal, refactor the modal components (WordPress/gutenberg#77994) - i18n: add context to (site) identity (WordPress/gutenberg#78132) - Script Modules: Guard setAccessible() calls behind PHP < 8.1 check (WordPress/gutenberg#78137) - Connectors: Avoid using centered text (WordPress/gutenberg#78125) - Content Types: Introduce view items actions (WordPress/gutenberg#78104) - Fix: Guard require_once calls in generated PHP files against deployment race conditions (WordPress/gutenberg#78110) - bin/dev.mjs: warn (not exit) on stale webpack watching this checkout (WordPress/gutenberg#78098) - E2E: Reset preferences after navigable-toolbar tests (WordPress/gutenberg#78115) - Editor: Refactor 'PostPublishPanel' into function component (WordPress/gutenberg#78083) - Document how to ignore VSCode Workplace Settings. (WordPress/gutenberg#77608) - Select: Fix disabled cursor styles (WordPress/gutenberg#78112) - Revisions: Add tooltip to diff marker buttons (WordPress/gutenberg#77690) - Experiment: Make content types `_builtin` (WordPress/gutenberg#78150) - Experiment: Content types - use `form` for quick edit dialogs (WordPress/gutenberg#78149) - Experiment: Content types use `toggle` for `active` prop edit (WordPress/gutenberg#78146) - Experiment: Update view content types actions (WordPress/gutenberg#78159) - Block Editor: Add translation context for “Exit pattern” (WordPress/gutenberg#78158) - ColorPalette: Fix duplicate-key warnings and incorrect selection with identical color values (WordPress/gutenberg#78004) - Menu: Fix flaky keyboard focus test (WordPress/gutenberg#78162) - e2e tests: use editPost and createNewPost helpers everywhere (WordPress/gutenberg#78170) - Support object values in Select primitive (WordPress/gutenberg#77861) - Text: Fix render prop CSS defenses (WordPress/gutenberg#78172) - Design System: Add missing packages to Storybook introduction (WordPress/gutenberg#77504) - Add SelectControl component to @wordpress/ui (WordPress/gutenberg#77809) - Dashboard experiment: animate customize UX (WordPress/gutenberg#78065) - Add RTC y-websocket-server tests (WordPress/gutenberg#78179) - Grid: add DashboardLanes masonry surface (WordPress/gutenberg#78107) - Dashboard: staging layer for in-progress layout edits (WordPress/gutenberg#78071) - Media: Guard gutenberg_delete_heic_companion_file() against non-string $metadata['original'] (WordPress/gutenberg#78128) - Image block: Try syncing updated metadata fields (alt and caption) from the media editor (WordPress/gutenberg#78139) - Correct capitalization in help text for Breadcrumbs block (WordPress/gutenberg#78175) - Add min release age to npm config (WordPress/gutenberg#78191) - isFulfilled: don't change resolution state, call in resolveSelect (WordPress/gutenberg#78151) - Add aria-label to Revisions button in Post Summary sidebar (WordPress/gutenberg#78140) - Experiment: Content types invaidate cache for synced taxonomies-post types (WordPress/gutenberg#78143) - Shortcode: Offer block-specific transforms when text matches a registered shortcode (WordPress/gutenberg#77944) - E2E: Remove slash from bad embed request mock (WordPress/gutenberg#78200) - UI: Add component status notes to Storybook (WordPress/gutenberg#77988) - ui/Tooltip, ui/IconButton: Add positioner slot API (WordPress/gutenberg#78089) - Add motion design tokens (duration and easing) to @wordpress/theme (WordPress/gutenberg#76097) - Grid: add edit-mode overlay to DashboardGrid and DashboardLanes (WordPress/gutenberg#78199) - Grid: fix keyboard activation on draggable items (WordPress/gutenberg#78163) - ui/CollapsibleCard: support rendering Header as a heading element (WordPress/gutenberg#77962) - Revisions diff markers: enforce 24×24px minimum target size (WCAG 2.5.8) (WordPress/gutenberg#77671) - Popover: Remove close button z-index (WordPress/gutenberg#78180) - Button: Align compound component metadata (WordPress/gutenberg#78184) - Dashboard: use design animation tokens (WordPress/gutenberg#78204) - Tools: Remove save-exact from .npmrc (WordPress/gutenberg#78196) - UI: Improve docs for compound exports (WordPress/gutenberg#78212) - Bump addressable in /packages/react-native-editor/ios (WordPress/gutenberg#77128) - Bump follow-redirects from 1.15.6 to 1.16.0 (WordPress/gutenberg#77278) - Bump vite from 7.3.0 to 7.3.2 (WordPress/gutenberg#77076) - Bump flatted from 3.3.1 to 3.4.2 (WordPress/gutenberg#76708) - Bump @xmldom/xmldom from 0.8.10 to 0.8.13 (WordPress/gutenberg#77577) - Media Editor Modal: Fix empty author and attached to fields (WordPress/gutenberg#78189) - Bump fast-xml-parser from 4.5.0 to 4.5.4 (WordPress/gutenberg#76081) - Bump node-forge from 1.3.1 to 1.3.2 (WordPress/gutenberg#73601) - Experiment: Integrate `useView` in content types lists (WordPress/gutenberg#78197) - Experiment: Add term/post type count fields in content types (WordPress/gutenberg#78157) - Connectors: Increase right padding of callout for mobile layout (WordPress/gutenberg#78126) - UI: Fix subcomponent story labels (WordPress/gutenberg#78210) - Fonts: Move admin menu compat from experimental to wordpress-7.0 (WordPress/gutenberg#78227) - Experiment: Render badges for some content types' fields (WordPress/gutenberg#78194) - Testing: Consolidate CI workflows for changelog testing (WordPress/gutenberg#78169) - Edit Post: Inline meta boxes z-index values (WordPress/gutenberg#78181) - Backport package publish commits to release/23.2 (WordPress/gutenberg#78347) Props adamsilverstein, jorbin, westonruter, wildworks. Fixes #65559. git-svn-id: https://develop.svn.wordpress.org/trunk@62582 602fd350-edb4-49c9-b593-d223f7449a82
What?
This is part of a series of bug reports and PRs from an AI fuzzing project. See #77532 for more details on that. I'm filing a few more of these after a discussion with @alecgeatches on how the fuzzer found a bug that I hadn't file that ended up taking some developer time to chase down and repro.
first-room-storage-live-repro.mp4
first-room-storage-document-edit-repro.mp4
BEGIN AI GENERATED TEXT
The post-meta sync storage backend creates one
wp_sync_storagepost per sync room and usesmd5( $room )as the post slug. On first access to a new room, two concurrent writers can both miss the existing-storage lookup and both callwp_insert_post()with the same slug. WordPress keeps slugs unique, so one request receives the canonical slug and the other receives a suffixed slug such as<hash>-2.There is one trunk/product bug covered by this fix:
First-writer split storage bug. The original storage creation path trusted the inserted post ID without checking whether WordPress kept the exact room-hash slug. If a request received a suffixed post, it could acknowledge awareness or sync updates written to the suffixed lineage. A fresh storage instance later looks up only the canonical room hash, so those acknowledged first-access writes are unreachable. Source:
get_storage_post_id()creates and caches the storage post. Repro/test:test_first_access_race_does_not_split_room_storage().Branch Layout
The PR branch
danluu/fix-rtc-room-splitintentionally contains only the PHPUnit regression tests and the storage fix. This explanation is kept on the separatedanluu/rtc-room-split-explanationbranch so it does not appear in the PR diff.There is no top-level Playwright/e2e test in the PR branch.
Reproduction Layers
PHPUnit storage repro
phpunit/tests/collaboration/wpSyncPostMetaStorage.php::test_first_access_race_does_not_split_room_storageThis test installs a
wp_insert_post_datafilter that injects a competingwp_insert_post()exactly between the storage layer's miss and its insert. It then asserts:wp_sync_storagelineage exists for the room hash;WP_Sync_Post_Meta_Storageinstance can read the acknowledged update.On the vulnerable implementation, the test fails because WordPress creates both
<hash>and<hash>-2, and the update can be written to the suffixed post.Browser/video repro
The local browser/video harness uses editor-visible presence to expose the split. It creates a draft post, enables a test-only race injector for the post's sync room, opens the post as admin, and delays the initial empty sync polls until the admin's presence payload contains visible collaborator metadata. The first meaningful admin presence poll then travels through the production
/wp-sync/v1/updatesendpoint and triggers the storage race.After that acknowledged first write, the test pauses admin polling so the normal retry loop cannot immediately heal the symptom. A collaborator opens the same post and polls the canonical room. The test then holds the collaborator's next poll and releases the admin poll. On the vulnerable implementation, the admin screen learns that the collaborator joined, but the collaborator screen still has no
Collaborators listbutton, because the admin's acknowledged first presence write was written to the suffixed storage lineage.The deterministic browser harness still drives the production editor and sync REST path. The artificial parts are the scheduler that forces the otherwise timing-dependent first-writer race and the short admin-poll pause that keeps the user-visible presence loss observable long enough for the assertion and video. The diagnostic REST endpoint verifies the supporting storage invariant. The browser/video harness is not part of the PR branch.
Annotated videos for this bug:
/Users/danluu/conductor/workspaces/gutenberg-v1/providence/.context/rtc-issue-08/first-room-storage-live-repro.mp4/Users/danluu/conductor/workspaces/gutenberg-v1/providence/.context/rtc-issue-08/first-room-storage-document-edit-repro.mp4Observed vulnerable-branch result:
Real-vs-False-Positive Analysis
Oracle validity
The oracle is valid. A sync room must have one reachable storage lineage because fresh readers find storage by the canonical room hash. If an acknowledged write lands in a suffixed lineage, it is not reachable through normal
get_storage_post_id()lookup in a new request.Generated shape validity
The generated room shape is valid. The low-level repro uses
postType/post:<id>:first-access-race, which matches the production REST room pattern. The browser repro uses the normal editor roompostType/post:<id>.Helper misuse
The failing path does not rely on private test-only storage calls for the browser repro. It opens normal editor sessions and lets the production sync endpoint call
WP_Sync_Post_Meta_Storage. The PHPUnit repro uses the storage class directly to minimize the race window, but the same get-or-insert code is used by production REST requests.Environment contamination
The tests reset the static room cache before fresh-reader checks. The room hash includes the test post ID and a unique suffix, and lineage counting filters by post type, publish status, exact room-hash slug, and suffixed room-hash slugs. The failure is not caused by stale cache state or older storage rows.
Race-injection-only behavior
The injection forces an interleaving that can occur with two concurrent HTTP requests first accessing a new room: both miss lookup, both insert, and WordPress uniquifies one slug. The injected writer uses
wp_insert_post()with the same post type, status, title, and slug as production storage creation.Known-fixed bug masking
The issue is independent of previously fixed cursor and compaction races. Those bugs affect update retrieval and deletion after storage already exists. This bug happens before the room has canonical storage and can lose the very first awareness or sync update into a suffixed lineage.
Fix Plan
The storage layer must treat the exact room-hash slug as the only canonical storage lineage:
The PR branch intentionally does not include this explanation, the browser-only diagnostic mu-plugin, or an e2e repro harness.
END AI GENERATED TEXT
Use of AI Tools
The code here is all AI generated. As noted above, the bug finding came from an AI fuzzing project.