Idle shutdown: notify owners of stopped containers (digest + unsubscribe)

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
backend

調査の方向性

Start by reading the idle sweep job and the existing mail-account and Notification implementations; the issue does not name their file paths. Trace how system mail selects an account and how recipient suppression and unsubscribe headers are handled, then check whether transactional mail uses the same sender. Done means one owner digest per sweep, a bell notification per stopped container, honored unsubscribes on later sweeps, and unaffected password-reset and invite mail.

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

説明

enhancement idle-shutdown

Part of the Idle Container Shutdown epic. Depends on the idle sweep job.

Summary

Notify owners when their containers were stopped for inactivity, with the ability to unsubscribe.

Details

  • Recipients: owner only (not collaborators).
  • One digest email per owner per sweep, listing every container stopped, its last access, and how to start it again (wake-on-request / start button / request idleTime = 0).
  • Also create a bell notification (existing Notification model) per stopped container, source: idle-sweep, regardless of email preference.
  • No pre-shutdown warning email.

Unsubscribe

Send system mail through a mail account (existing mail-account feature) so unsubscribe comes from the built-in suppression list and List-Unsubscribe headers instead of a new preference system.

  • Configure system/noreply sending to use a designated mail account.
  • Enable unsubscribeHeaders on that account; suppressed recipients are skipped.
  • Confirm suppression applies per-recipient for this sender and that password-reset/invite mail is either sent from a different account or exempt (transactional mail must not be suppressible).

Acceptance criteria

  • Owners receive one digest per sweep.
  • Bell notification per stopped container.
  • Unsubscribe link works and is honored on subsequent sweeps.
  • Transactional mail (password reset, invites) is unaffected by idle-notification unsubscribes.
主要言語
JavaScript
スター
10
フォーク
6
平均マージ
5日 14時間
マージ済み PR(30日)
5

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

mieweb/opensource-server のほかの issue

mieweb/opensource-server の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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