[self-care:debug-logging] Add describePage not-found debug logging to agent catalog
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 90/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- observability
Hướng nghiên cứu
Bắt đầu với dashboard/site/src/agent/catalog.js và xem lại hành vi ghi log hiện có của describeQuery, sau đó mở rộng test/unit/agent-catalog-debug.test.js. Chạy bài kiểm thử đơn vị có mục tiêu để xác minh sự kiện không tìm thấy, siêu dữ liệu, hành vi bị vô hiệu hóa, sự kiện tìm thấy và việc loại trừ ID trang. Công việc hoàn tất khi một lần tra cứu trang thất bại tạo ra sự kiện gỡ lỗi đã chỉ định mà không thay đổi luồng điều khiển hoặc làm lộ ID trang.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- JavaScript
- Star
- 23
- Fork
- 8
- Merge trung bình
- 7 giờ 18 phút
- Pull request đã merge (30 ngày)
- 426
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của githubnext/gh-cao
-
agentic-workflows self-care self-care:dashboard-debug-logging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
githubnext/gh-cao#21781 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[repo-assist:maintenance] githubnext/gh-cao maintenance dashboard-readme-mobile-command reviewĐang mởrepo-assist repo-assist:maintenance
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
githubnext/gh-cao#21758 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[self-care:reactive-ui] Sync reactive-ui skill with element registration and view validationĐang mởagentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
githubnext/gh-cao#21740 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
githubnext/gh-cao#21728 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[self-care:server-go-logging] Extract ADX visibility digest comparison with diagnostic loggingĐang mởagentic-workflows self-care self-care:server-go-logging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
githubnext/gh-cao#21725 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của githubnext/gh-cao
Issue tương tự
-
Bug Nethernet Tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
JSPrismarine/JSPrismarine#3949 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Jason-Vaughan/TangleClaw#3360 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
OWASP/cve-lite-cli#1880 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MetaMask/eth-phishing-detect#317371 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs: explain the Human Eval YAML export and connect viewer ratings to the LLM judge calibration guideCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày