Making WordPress.org

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#3478 closed defect (bug) (worksforme)

Cleaning up bloat in make/hosting post meta

Reported by: danielbachhuber's profile danielbachhuber Owned by:
Milestone: Priority: normal
Component: Make (Get Involved) / P2 Keywords:
Cc:

Description

Due to a design decision that I've since come to regret, there's a ton of unnecessary bloat in make/hosting's post meta.

Specifically, each PHPUnit testing result post includes thousands of lines of data in the testsuites array key of the result meta key. In this particular example, all of the testsuites data is unnecessary to store. It's only necessary to store any testsuites data if one of the test suites actually failed.

This issue is fixed in the test runner but I'd like to clean up our existing data too (in part so I can WXR export and use the data locally).

Here's a script to perform said cleanup. I've tested it locally and achieved the results I expected.

Can I run this against the make/hosting site in my sandbox, or is there some other preferred way of performing this task?

Change History (2)

#1 @danielbachhuber
7 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

:ship: Thanks @ocean90 for his help.

This ticket was mentioned in Slack in #hosting-community by earnjam. View the logs.


6 years ago

Note: See TracTickets for help on using tickets.