Idle shutdown: add idleTime resource request (default 72h)
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 57/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript, node.js
調査の方向性
Start with create-a-container/models/resourcerequest.js, then trace the resource approval flow, applyResourceToExistingContainers, the /resource-requests/effective endpoint, and the frontend request form. Run the relevant tests and add coverage for the default of 72 and the inverted approval rules. Done means requests follow those rules, approval does not enqueue a reconfigure job, and the effective endpoint returns idleTime.
索引モデルが issue の本文から書いたものです。
説明
Part of the Idle Container Shutdown epic.
Summary
Add a new resource request type idleTime that controls how long a container may go without proxied access before it is stopped automatically.
Details
- Unit: hours (integer). Default 72.
0= never stop (exempt from idle shutdown).- Add to
VALID_RESOURCE_TYPES/RESOURCE_DEFAULTSincreate-a-container/models/resourcerequest.js. No migration needed (resourceTypeisSTRING(20)). - Approval is inverted vs. other types: values
1..72(shorter than default) auto-approve; values> 72and0(never) require admin approval. Admins always auto-approve. idleTimeis not a Proxmox resource:applyResourceToExistingContainersmust not enqueuereconfigure-container.jsfor it.- Relax the "requires a provisioned container" rule on admin approval for this type.
- Expose in
/resource-requests/effectiveand the frontend request form.
Acceptance criteria
- Users can request
idleTime; shorter values auto-approve, longer /0go pending. - Approving does not enqueue a reconfigure job.
- Effective resources endpoint returns
idleTime(default 72). - Tests cover approval direction and default.
- 主要言語
- JavaScript
- スター
- 10
- フォーク
- 6
- 平均マージ
- 5日 14時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mieweb/opensource-server のほかの issue
-
Render the docs site per installation from /etc/default config instead of at package build timeオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
mieweb/opensource-server#538 ·
メンテナーはふだん 4 日以内に返信
-
enhancement idle-shutdown
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
mieweb/opensource-server#531 ·
メンテナーはふだん 4 日以内に返信
-
enhancement idle-shutdown
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
mieweb/opensource-server#530 ·
メンテナーはふだん 4 日以内に返信
-
enhancement idle-shutdown
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
mieweb/opensource-server#529 ·
メンテナーはふだん 4 日以内に返信
-
enhancement idle-shutdown
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
mieweb/opensource-server#528 ·
メンテナーはふだん 4 日以内に返信
mieweb/opensource-server の issue をすべて見る
似ている issue
-
Name the maintainers in CODEOWNERS対応中かも @TorecLuik が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
[Bug] AM Context Monitor (am-monitor): Session turns count is capped at 80 due to turns.slice(-80)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
lbjlaq/Antigravity-Manager#4180 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
[workshop-sync] workshop/06-install-gh-aw.md: example version output is outdated (0.81.6 vs v1.2.2)オープンdocumentation
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
githubnext/gh-aw-workshop#6467 ·
メンテナーはふだん 1 日以内に返信