Refactor architecture into eight components and consolidate reliability work
Extract Grammaratur, Dregarnuhr, Geduldh, Mestionora, Ordoschnellic, Schutzaria, Kunstzeal and Seheweit behind compatible application contracts. Include accumulated editor resilience, navigation and theme UX, remote CLI, storage/schema and DR groundwork, tests and design/operations documentation. Verified: uncached full Go suite; go vet ./...; race tests for all eight components; 11 targeted Chromium tests; Node suites; 19 Python CLI tests; reproducible editor build. No push, release tag or deployment in this checkpoint.
This commit is contained in:
1 parent
9dd425f765
commit
d5d21b7841
302 files changed
+20037
-3492
No files matched your search
@@ -51,6 +51,9 @@ installed → configured → enabled → disabled/failed の状態遷移を監
|
||||
|
||||
## ビルトインのリソース監視
|
||||
|
||||
収集と履歴の期間・保持ルールは [Seheweit](ja/seheweit.md) に初期分離済み。
|
||||
serverが認可とキュー状態を扱い、storeが保存する。URI・schema・監視周期は変更しない。
|
||||
|
||||
- 定義ID `builtin.resource.sample`、イベント型 `resource.sample`。
|
||||
- 起動時に未登録の場合のみ追加。既定60秒、変更可能範囲30〜86400秒。
|
||||
- 既存キューのpriority=100、通常のclaim/履歴/ログ/キャンセルを利用する。
|
||||
@@ -59,7 +62,8 @@ installed → configured → enabled → disabled/failed の状態遷移を監
|
||||
同一jobの再実行は重複登録しない。書き込みと期限切れ削除は同一トランザクション。
|
||||
- 7日保持。期限切れ削除は収集時に実行する。停止中に過去データを捏造して補間しない。
|
||||
- `GET /_/api/v1/queue/resources/history?hours=1|24|168` は最大361点。
|
||||
timestamp索引で期間を絞り、バケット内の最終サンプルを返す。平均/最大値ではない。
|
||||
timestamp索引で期間を絞り、バケット内の最後に挿入されたサンプル(MAX(id))を返す。
|
||||
時刻が逆転した入力では最大timestampとは限らず、平均/最大値ではない。
|
||||
- 現在値APIと履歴を区別する。グラフの更新停止やブラウザを閉じる操作は収集を止めない。
|
||||
収集停止は監視イベントのenabledまたはキューのpausedによる。
|
||||
- ビルトイン定義は削除不可。無効化と間隔変更は再起動後も維持する。
|
||||
|
||||
Reference in new issue
Block a user