Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help text
メンテナーはふだん 1 日以内に返信
@VanshajPoonia がすでに取り組んでいます。
2026年12月2日 から。
評価
調査の方向性
server/cli/maintenance.py にある4つのコマンド定義を読み、既存の help= 文字列をissueに記載されたオプションと比較してください。各オプションの目的と関連するデフォルト値を示す説明を追加します。Python 3.12で tests/unit/snapshots/cli_tree.json と cli_help.json を再生成し、その後CLIスナップショットテストと python scripts/codegen/docs_reference.py --check を実行してください。両方が成功し、スナップショットの変更にヘルプテキストのみが含まれていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Company
ClickHouse
Component
CLI
Describe what's wrong
Four memory maintenance commands have options that print no description in --help. Each command's other options already have one:
| Command | Options with no help text |
|---|---|
loom demote-activity-narration |
--org, --namespace, --action |
loom reextract |
--org, --base-url, --concurrency |
loom reconcile-status |
--org, --limit |
loom period-digest |
--org, --namespace, --max-identities, --max-periods |
All of them are defined in server/cli/maintenance.py.
Does it reproduce on the latest release or main?
Yes
How to reproduce
loom period-digest --help
loom reextract --help
Expected behavior
Every option in the table has a short help= string in the lower-case style of the options beside it (--days on demote-activity-narration: "read-by-name protection window"), naming the default where it matters. What each option does, and where to confirm it:
--orgon all four, and--namespaceondemote-activity-narrationandperiod-digest: the org and the namespace the command reads and writes. Onreextract,--namespaceis already "Source namespace (read only)", so--orgthere is the org of both the source and--into.demote-activity-narration --action:demotelowers each matched fact's confidence to a quarter,labeltags it instead (defaultdemote; the command's own help andapplyinserver/memory/app/activity_trivia_cleanup.py).reextract --base-url: the running server the sessions are posted to (defaultLOOM_BASE_URL, elsehttp://127.0.0.1:7777).--concurrency: sessions posted at once (default 2;replayinserver/memory/app/reextract.py).reconcile-status --limit: the most diverged identity rows read per namespace (default 5000). Rows held back for the Postgres authority count against it (reconcile_embedding_statusinserver/memory/store/embeddings.py).period-digest --max-identities: the most identities planned in one run, those with the most session digests first (default 50;_fetch_namespacesinserver/memory/app/period_digest.py).--max-periods: the most periods written per identity (default 50).
Only the help strings change, not the options' names, defaults or behaviour.
How to make the change:
- Add the
help=strings inserver/cli/maintenance.py. - Regenerate the CLI snapshots under Python 3.12, the version CI runs (argparse output differs between versions):
LOOM_UPDATE_CLI_SNAPSHOT=1 python -m pytest tests/unit/test_cli_surface_snapshot.py. This rewritestests/unit/snapshots/cli_tree.jsonandcli_help.json; commit both, and check that every changed line is a help string. - Run
python -m pytest tests/unit/test_cli_surface_snapshot.pyandpython scripts/codegen/docs_reference.py --check. Both should pass.
Error message and logs
$ loom period-digest --help
...
--org ORG
--namespace NAMESPACE
--sessions SESSIONS digests per period (K)
--max-identities MAX_IDENTITIES
--max-periods MAX_PERIODS
Environment
main at d850bba919, Python 3.12
Related issues and pull requests
Related: https://github.com/ClickHouse/loom/issues/1941
Related: https://github.com/ClickHouse/loom/issues/1945
How this was found
An AI tool helped find it, and I reproduced it myself
Redaction
- I removed tokens, keys, passwords and personal or customer data from everything above.
- 主要言語
- Python
- スター
- 263
- フォーク
- 47
- 平均マージ
- 14時間 21分
- マージ済み PR(30日)
- 873
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ClickHouse/loom のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 76/100
ClickHouse/loom#2014 ·
メンテナーはふだん 1 日以内に返信
-
A compiler-tier checkout fetch from a shallow mirror never records its head対応中かも @KaloyanNaumov が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
ClickHouse/loom#2016 ·
メンテナーはふだん 1 日以内に返信
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limit対応中かも @KaloyanNaumov が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
ClickHouse/loom#2012 ·
メンテナーはふだん 1 日以内に返信
-
loom participant retire cannot retire an orphaned participant after container replacement or host reboot対応中かも @l0K1ngg が今日担当しました。 オープンbug help wanted up-for-grabs
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
ClickHouse/loom#2007 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 40/100
ClickHouse/loom#2001 ·
メンテナーはふだん 1 日以内に返信
ClickHouse/loom の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TigreGotico/orthography2ipa#2950 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Unstructured-IO/unstructured#4876 ·
メンテナーはふだん 6 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
openfoodfacts/openfoodfacts-python#579 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
fairagro/m4.2_sql_to_arc#388 ·
メンテナーはふだん 1 日以内に返信