[self-care:debug-logging] Add describePage not-found debug logging to agent catalog
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 90/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- javascript
調査の方向性
dashboard/site/src/agent/catalog.js から始め、既存の describeQuery のログ動作を確認してから、test/unit/agent-catalog-debug.test.js を拡張します。対象を絞ったユニットテストを実行し、miss イベント、メタデータ、無効時の動作、hit イベント、およびページ ID の除外を検証します。ページ検索が失敗した場合に、制御フローを変更したりページ ID を公開したりせずに、指定されたデバッグイベントが発生raperceptionたら作業完了です。
索引モデルが issue の本文から書いたものです。
説明
Adds one debug log to dashboard/site/src/agent/catalog.js (first file in the rotation with a diagnostic gap), so a failed page lookup can be told apart from a failed query lookup.
Diagnostic gap: describeQuery logged not-found, but describePage returned null silently. Agent and WebMCP page lookups that failed gave no signal.
Category: catalog, the existing module logger. Enable it with ?debug=catalog (or ?debug=1, ?debug=*). The new event is describe-page.
**Logged meta(redacted) { event: 'describe-page', status: 'not-found', idLength, pageCount }. All values are scalars derived from values already computed in the function (the id length and the size of the memoized index). The page ID text is not logged. The call only fires on the miss path.
Boundaries: No control-flow change, no I/O, timers, or events, and no new collection scans. When logging is disabled, the cost is one disabled no-op call on a miss.
Validation: Extended test/unit/agent-catalog-debug.test.js to cover disabled behavior, the emitted metadata, no log on a hit, and exclusion of the page ID. Focused tests, typecheck, lint and the full dashboard unit suite (425 files) all pass.
Control Plane
- Correlation ID:
46184883736-5033 - Central repository:
githubnext/gh-cao - Control plane run: https://github.com/githubnext/gh-cao/actions/runs/46184883736
[!NOTE]
This was originally intended as a pull request, but the git push operation failed.Original error: ERR_VALIDATION: pushSignedCommits: refusing unsigned push for branch 'self-care/debug-logging-agent-catalog-5093d2908d159371': GitHub did not verify the initial commit signature; refusing to publish branch 'self-care/debug-logging-agent-catalog-5093d2908d159371'
Workflow Run: View run details and download bundle artifact
The bundle file is available in the
agentartifact in the workflow run linked above.
Create the pull request manually
# Download the artifact from the workflow run
gh run download '46185343482' -n agent -D '/tmp/agent-46185343482'
# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-46185343482/aw-githubnext-gh-cao-self-care-debug-logging-agent-catalog.bundle'
temp_ref='refs/bundles/create-pr-self-care-debug-logging-agent-catalog-5093d2908d159371-ac0b38f4'
target_ref='refs/heads/self-care/debug-logging-agent-catalog-5093d2908d159371'
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 ~ /^refs\/heads\// { print $2 }')
if [ -z "$bundle_source_ref" ]; then
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 == "HEAD" { print $2 }')
fi
if [ "$(printf '%s\n' "$bundle_source_ref" | sed '/^$/d' | wc -l | tr -d ' ')" != "1" ]; then
echo "Expected exactly one bundle source ref, found: $bundle_source_ref" >&2
exit 1
fi
git fetch "$bundle_path" "${bundle_source_ref}:${temp_ref}"
git update-ref "$target_ref" "$temp_ref"
git checkout 'self-care/debug-logging-agent-catalog-5093d2908d159371'
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d "$temp_ref"
# Push the branch to the target remote
git push 'origin' 'self-care/debug-logging-agent-catalog-5093d2908d159371'
# Create the pull request
gh pr create --title '[self-care:debug-logging] Add describePage not-found debug logging to agent catalog' --base 'main' --head 'self-care/debug-logging-agent-catalog-5093d2908d159371' --repo 'githubnext/gh-cao'
Generated by SelfCare / Dashboard Debug Logging · copilot · routed: sonnet55 high · ~92 AIC · ⌖ ~2 AIC · ⊞ 9.3K · history
- expires on Dec 5, 2026, 8:29 PM UTC
- 主要言語
- JavaScript
- スター
- 23
- フォーク
- 8
- 平均マージ
- 7時間 18分
- マージ済み PR(30日)
- 426
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
githubnext/gh-cao のほかの issue
-
agentic-workflows self-care self-care:dashboard-debug-logging
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
githubnext/gh-cao#21781 ·
メンテナーはふだん 1 日以内に返信
-
repo-assist repo-assist:maintenance
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
githubnext/gh-cao#21758 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
githubnext/gh-cao#21740 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
githubnext/gh-cao#21728 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows self-care self-care:server-go-logging
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
githubnext/gh-cao#21725 ·
メンテナーはふだん 1 日以内に返信
githubnext/gh-cao の issue をすべて見る
似ている issue
-
Bug Nethernet Tests
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JSPrismarine/JSPrismarine#3949 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
Jason-Vaughan/TangleClaw#3360 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
OWASP/cve-lite-cli#1880 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MetaMask/eth-phishing-detect#317371 ·
メンテナーはふだん 1 日以内に返信
-
Docs: explain the Human Eval YAML export and connect viewer ratings to the LLM judge calibration guide対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信