mirror of
https://github.com/roots/wp-packages
synced 2026-07-21 16:16:53 +08:00
* Set content_changed_at on package deactivation and reactivation DeactivatePackage and ReactivatePackage only set is_active and updated_at, so closures and re-openings detected by check-status never appeared in the metadata changes feed. Setting content_changed_at ensures Composer clients are notified of these changes and prepares for the Phase 3 DB-driven sync which uses this column to determine what needs uploading/deleting on R2. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add test assertions for content_changed_at on status change Verify that DeactivatePackage and ReactivatePackage set the content_changed_at column, ensuring closures and re-openings are reflected in the metadata changes feed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add integration-style test for status change content_changed_at flow Simulates the check-status lifecycle: active → deactivated (closure) → reactivated (re-opening), verifying content_changed_at is set on both transitions and advances monotonically. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Ben Word <ben@benword.com> |
||
|---|---|---|
| .. | ||
| api_mapper.go | ||
| package.go | ||
| package_test.go | ||
| seeds.go | ||
| site_meta.go | ||
| sync.go | ||