Term Cleanup: When initially starting the term consolidation process, can take a while to reload the page

オープン
#907 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php

調査の方向性

多くの用語を含むタクソノミーで Find similar tags をクリックして遅延を再現し、その後、初期の用語統合リクエストを処理するアクションを追跡します。どの処理がページの再読み込みをブロックしているかを特定します。完了条件は、統合が意図したとおりに継続される一方で、初回のページ更新が速やかに行われることと、大規模なタクソノミーのケースをカバーすることです。

索引モデルが issue の本文から書いたものです。

説明

Describe the bug

Originally reported by @dkotter:

This may not be a big deal but I noticed that if I have a taxonomy with lots of terms (in my case, was testing with ~8000 tags), when I initially click the Find similar tags button, it reloads the page but takes quite awhile for that reload to work. I had assumed that clicking that button would trigger the process to start in the background, which means it wouldn't take any extra time to load. I'm guessing what's happening is it's starting the process and running the first iteration at the same time, thus resulting in the page taking a bit to load.

That assumption may be wrong but would be nice to figure out why that first load is so long and see if we can make that a normal page load.

Steps to Reproduce

Originally reported by @dkotter:

Start the term consolidation process with a taxonomy that has lots of terms. Note that it takes quite a few seconds for the page to refresh.

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

Originally reported in https://github.com/10up/classifai-cleanup/issues/4.

Code of Conduct
  • I agree to follow this project's Code of Conduct
主要言語
PHP
スター
714
フォーク
68
平均マージ
4時間 32分
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

10up/classifai のほかの issue

10up/classifai の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。