cakephp / cakephp/queue

RFC - Implement Failed Job Admin

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

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

enhancement
主要言語
PHP
スター
36
フォーク
22
平均マージ
20時間 36分
マージ済み PR(30日)
2

説明

It might be nice to implement a job admin panel that lists all failed jobs. This could be done by having custom middleware/listeners that push the failed jobs into a database table, and then a basic page to view said jobs. We would also need a migration for creating that table, and ideally this would be something a user could generate for use with their app vs coming built-into the queue plugin.

I think @dereuromark has an example here, though in his case it also allows viewing more info about all jobs since they are all queued to the database.

In the future, we might even be able to expose other functionality/metrics in such an admin - this might involve work upstream to get the proper interfaces exposed - but I think starting here would be good enough :)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

まず、参照されている dereuromark/cakephp-queue のドキュメントと docs/admin-backend の例を読み、そのアプローチをこのプラグインのキューインターフェースと比較します。失敗したジョブの保存、migration、ユーザーが生成する admin ページを含む最小限の最初のマイルストーンを定義します。実装前に、何を「done」とするかについて合意しておく必要があります。

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

評価

技術スタック
php
領域
backend, database
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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