hardening 2.2: 2meet-data-optimizer-woocommerce-addon 0.2.0 (WooCommerce meta stays native) #3

Merged
wpdev merged 2 commits from hardening/2.2 into main 2026-09-27 10:56:59 +08:00
Owner

Hardening 2.2 for the WooCommerce AddOn (0.2.0), released with 2meet-data-optimizer 1.2.0 (ADR-004 decision 2).

Summary

  • No longer registers product / order / subscription zone fields or the user hot group: WooCommerce reads its meta directly and writes stock by SQL, so a flat copy drifted. (PR-085)
  • Kept: wp_wc_* custom table registry, HPOS notice, Marketplace commissions, term count filter.
  • Upgrading: nothing is dropped; in aeav_only core restores user/hot as an orphan group, bridge-restore-native user --group=hot --retire writes it back and archives the table. (PR-088)

Acceptance on dev36 (100k listings): dev30/notes/tmdo-acceptance-2.2-2026-09-27.md. Backlog: dev30/notes/pr-backlog.md (PR-066〜089).

Test plan

  • unit 11, integration 22
  • dev36: customer save/restore, order stock 452 → 451 and back, no DB error; V1 WC_Customer reads == native
  • CI green on this PR
Hardening 2.2 for the WooCommerce AddOn (0.2.0), released with 2meet-data-optimizer 1.2.0 (ADR-004 decision 2). ## Summary - No longer registers product / order / subscription zone fields or the user `hot` group: WooCommerce reads its meta directly and writes stock by SQL, so a flat copy drifted. (PR-085) - Kept: `wp_wc_*` custom table registry, HPOS notice, Marketplace commissions, term count filter. - Upgrading: nothing is dropped; in aeav_only core restores `user/hot` as an orphan group, `bridge-restore-native user --group=hot --retire` writes it back and archives the table. (PR-088) Acceptance on dev36 (100k listings): `dev30/notes/tmdo-acceptance-2.2-2026-09-27.md`. Backlog: `dev30/notes/pr-backlog.md` (PR-066〜089). ## Test plan - [x] unit 11, integration 22 - [x] dev36: customer save/restore, order stock 452 → 451 and back, no DB error; V1 WC_Customer reads == native - [ ] CI green on this PR
wpdev added 2 commits 2026-09-27 10:47:20 +08:00
- Stop registering WC product/order/subscription zone fields and the user hot group; WC reads its meta directly and writes stock by SQL, so a flat copy drifts
- Keep the custom tables registration, the HPOS notice and the commissions
- Verify: composer test / test:integration; dev36 customer save, order stock reduce/restore with no DB errors
- PR: PR-085
docs(2meet-data-optimizer-woocommerce-addon): 0.2.0 release notes
Tests / PHP Lint (pull_request) Successful in 11s
Tests / Unit Tests (pull_request) Successful in 1m30s
Tests / Integration Tests (pull_request) Successful in 1m27s
655ab88e86
- Bump to 0.2.0; CHANGELOG entry for PR-085 with the upgrade path for the user hot table
- Verify: composer test, integration
- PR: PR-088
wpdev merged commit 6294ee2374 into main 2026-09-27 10:56:59 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wpdev/2meet-data-optimizer-woocommerce-addon#3