[self-care:debug-logging] Add describePage not-found debug logging to agent catalog
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 90/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript
- Ambito
- observability
Direzione di ricerca
Inizia da dashboard/site/src/agent/catalog.js ed esamina il comportamento di logging esistente di describeQuery, quindi estendi test/unit/agent-catalog-debug.test.js. Esegui il test unitario mirato per verificare l'evento di miss, i metadati, il comportamento disabilitato, l'evento di hit e l'esclusione del page ID. Il lavoro è completato quando una ricerca della pagina non riuscita produce l'evento di debug specificato senza modificare il flusso di controllo né esporre il page ID.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- JavaScript
- Stelle
- 23
- Fork
- 8
- Merge medio
- 7h 18m
- PR unite (30g)
- 426
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di githubnext/gh-cao
-
agentic-workflows self-care self-care:dashboard-debug-logging
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
githubnext/gh-cao#21781 ·
I maintainer di solito rispondono entro 1 giorno
-
[repo-assist:maintenance] githubnext/gh-cao maintenance dashboard-readme-mobile-command reviewApertarepo-assist repo-assist:maintenance
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
githubnext/gh-cao#21758 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
githubnext/gh-cao#21740 ·
I maintainer di solito rispondono entro 1 giorno
-
agentic-workflows pull-request-fallback self-care self-care:reactive-ui-expert
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
githubnext/gh-cao#21728 ·
I maintainer di solito rispondono entro 1 giorno
-
[self-care:server-go-logging] Extract ADX visibility digest comparison with diagnostic loggingApertaagentic-workflows self-care self-care:server-go-logging
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
githubnext/gh-cao#21725 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di githubnext/gh-cao
Issue simili
-
Bug Nethernet Tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
JSPrismarine/JSPrismarine#3949 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
Jason-Vaughan/TangleClaw#3360 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
OWASP/cve-lite-cli#1880 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
MetaMask/eth-phishing-detect#317371 ·
I maintainer di solito rispondono entro 1 giorno
-
Docs: explain the Human Eval YAML export and connect viewer ratings to the LLM judge calibration guideForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno