Repository navigation
Conversation
…idance Copilot could apply the blanket throw-or-propagate rule to optional startup checks and prevent an otherwise runnable command from starting. The CLI deliberately warns, logs verbose exception details and continues when its GitHub-status or latest-version checks fail. https://github.com/github/gh-gei/blob/2bcf81275394616762f4b921b98ef3eafb1139f5/src/gei/Program.cs#L68-L88 Stating that exception to the contributor rule helps preserve this recovery without relaxing fatal command handling. Other failures still use the friendly domain-exception or propagation rule, and the independent ban on silently swallowing exceptions remains in the same guidance. https://github.com/github/gh-gei/blob/2bcf81275394616762f4b921b98ef3eafb1139f5/src/gei/Program.cs#L138-L151
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Human review is warranted because the change revises repository-wide Copilot exception-handling guidance and requires confirming that its wording preserves the intended startup recovery boundary for future contributors and agents.
No open issues 🎉
What changed in this PR
Clarifies exception-handling guidance so optional startup availability and version checks remain nonfatal while preserving stricter handling for other failures.
Changes:
- Documents warning, verbose exception logging, and continuation for optional GitHub-status and latest-version startup checks.
- Retains user-friendly exception handling or top-level propagation for other failures.
| File | Description |
|---|---|
| .github/copilot-instructions.md | Clarifies exception-handling guidance for optional startup checks. |
Review effort: Lite (adaptive)
Unit Test Results 1 files 1 suites 29s ⏱️ Results for commit 0af58a8. |
This branch has not been deployed
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.
🧠 How this helps Copilot
Copilot could apply the blanket exception rule to optional GitHub-status and latest-version startup checks, making their failures block the requested command. Clarifying their existing warning-and-continue recovery helps preserve command availability without weakening error handling for other failures. This addresses the guidance concern in #1650.
Review commit by commit for each change's rationale and evidence.
Note
Copilot Dreaming curates this repository's Copilot instructions and skills in the background, proposing updates to help agents work here. Learn more about Copilot Dreaming.
Automated details
Source:
curate-memoriesDream, analyzingmainat2bcf812.