hardening 2.4: 2meet-data-optimizer-hivepress-addon 0.5.0 (sort indexes, a day's transient TTL) #5

Merged
wpdev merged 3 commits from hardening/2.4 into main 2026-09-27 23:57:57 +08:00
Owner

Release 2.4 — 2meet-data-optimizer-hivepress-addon 0.5.0 (with core 1.4.0)

  • PR-119 hp_listing_core indexes (hp_price|hp_rating|hp_hourly_rate, post_id) for the listing sorts HivePress offers (core 1.3.0 ignores them)
  • PR-120 HivePress transients live a day in the object cache (was a week; dev36 held 4.7M entries / 1 GB in the shared Redis)

dev36 (1.3M listings), routed vs native: price sort 0.37 s / 14 s, hourly rate 0.35 / 11.5 s, rating 0.51 / 43 s.

Verify: composer test 148, integration 53.

🤖 Generated with Claude Code

https://claude.ai/code/session_01U9oVDuhVvJnmARBmtue7rt

Release 2.4 — 2meet-data-optimizer-hivepress-addon 0.5.0 (with core 1.4.0) - PR-119 `hp_listing_core` indexes `(hp_price|hp_rating|hp_hourly_rate, post_id)` for the listing sorts HivePress offers (core 1.3.0 ignores them) - PR-120 HivePress transients live a day in the object cache (was a week; dev36 held 4.7M entries / 1 GB in the shared Redis) dev36 (1.3M listings), routed vs native: price sort 0.37 s / 14 s, hourly rate 0.35 / 11.5 s, rating 0.51 / 43 s. Verify: composer test 148, integration 53. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01U9oVDuhVvJnmARBmtue7rt
wpdev added 3 commits 2026-09-27 23:40:34 +08:00
- hp_listing_core declares (hp_price, post_id), (hp_rating, post_id) and
  (hp_hourly_rate, post_id): with core 1.4.0 a flat-first price, rating or
  hourly-rate sort reads them in order instead of sorting every match
  (dev36 stage 3: the price-range + price-sort search was the slowest routed
  page, 2.9 s at 1.3M listings); core 1.3.0 ignores indexes ending with post_id
- the pinned schema hash is unchanged (indexes are not part of it)
- Verify: HivePressEntityGroupsTest, unit 148, integration 53, phpcs;
  dev36 front-end sorts
- PR: PR-119
- MAX_CACHE_TTL: a week -> a day (HivePress's own default); a timeout still
  outlives its value by a minute
- dev36 (1.3M listings): 4.7M entries / 1 GB in the shared Redis at a week,
  evicting other sites' keys
- Verify: composer test (148), integration (53), phpcs clean on the file
- PR: PR-120
chore(2meet-data-optimizer-hivepress-addon): 0.5.0 release notes and version
Tests / PHP Lint (pull_request) Successful in 7s
Tests / Unit Tests (pull_request) Successful in 1m23s
Tests / Integration Tests (pull_request) Successful in 1m16s
bfe8912600
- CHANGELOG: PR-119 (sort indexes ending with post_id), PR-120 (a day's TTL)
- Version 0.4.0 -> 0.5.0 (header, TMDO_HIVEPRESS_VERSION)
- PR: PR-125
wpdev closed this pull request 2026-09-27 23:55:14 +08:00
wpdev reopened this pull request 2026-09-27 23:55:15 +08:00
wpdev merged commit f7f9bc5cc4 into main 2026-09-27 23:57:57 +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-hivepress-addon#5