Skip to content

[Copilot Dreaming] Preserve nonfatal startup recovery in exception guidance - #1651

Open
Copilot wants to merge 1 commit into
mainfrom
copilot/dream-curate-memories-20261129012744
Open

Copilot wants to merge 1 commit into
mainfrom
copilot/dream-curate-memories-20261129012744

Conversation

@Copilot

Copilot AI commented Nov 29, 2026

Copy link
Copy Markdown

🧠 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-memories Dream, analyzing main at 2bcf812.

…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
Copilot AI adaptive review requested due to automatic review settings November 29, 2026 01:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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)

@github-actions

Copy link
Copy Markdown

Unit Test Results

    1 files      1 suites   29s ⏱️
1 199 tests 1 199 ✅ 0 💤 0 ❌
1 200 runs  1 200 ✅ 0 💤 0 ❌

Results for commit 0af58a8.

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
ado2gh 71% 70% 749 ➖
bbs2gh 83% 78% 669 ✔
Octoshift 81% 71% 2048 ✔
gei 81% 74% 688 ✔
gl2gh 78% 71% 420 ✔
Summary 79% (9083 / 11436) 72% (2325 / 3221) 4574 ✔

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants