Create error recovery patterns documentation#9250
Merged
Conversation
- Add specs/error-recovery-patterns.md with comprehensive error handling guide - Cover error handling patterns (console formatting, error wrapping, debug logging, panic recovery) - Document common error scenarios with step-by-step recovery procedures - Provide error message templates for different error types - Include debugging runbook for analyzing failures - Categorize errors into user, configuration, system, and internal errors - Add links to related validation files and handlers - Update AGENTS.md to reference new documentation Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create documentation for error recovery patterns
Create error recovery patterns documentation
Jan 7, 2026
pelikhan
approved these changes
Jan 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Despite 51 references to error handling guides in the codebase, only one error message documentation existed. This created a gap in developer guidance for error patterns, recovery strategies, and debugging techniques.
Changes
New Documentation:
specs/error-recovery-patterns.md(1,137 lines)%wvs breaking chains), debug logging withDEBUGenv var, panic recovery guidelinesDEBUGpattern matching, error chain analysis, validation failure procedures, MCP troubleshootingUpdated:
AGENTS.md- Indexed new documentation in Core Development SkillsExample
Console formatting requirement:
MCP configuration recovery:
Links to 11 validation files, 6 related docs. Includes mermaid decision trees and reference tables for quick lookup.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login ithub/workflows go /usr/bin/git -json GO111MODULE 64/bin/go git rev-�� ithub/workflows go /opt/hostedtoolcache/go/1.25.0/x64/pkg/tool/linux_amd64/vet -json GO111MODULE 64/bin/go /opt/hostedtoolc1012(http block)/usr/bin/gh gh api user --jq .login /ref/tags/v8 go(http block)/usr/bin/gh gh api user --jq .login pload-artifact/g--workflow go eb87b34cb2e48008f0d6b276dc61471981f/log.json -json 816f67fd0234192brun 64/bin/go /usr/lib/git-cor12345 http�� k/gh-aw/gh-aw/.g/tmp/gh-aw-test-runs/20260107-150926-31320/test-orchestrator-3679073369/run-1234/usr/bin/networkctl go /usr/bin/git 4976089/run-2 GO111MODULE 64/bin/go git(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.