Skip to content

Use details/summary for progressive disclosure of failure reporting tip#24229

Merged
pelikhan merged 2 commits intomainfrom
copilot/improve-failure-message-disclosure
Apr 3, 2026
Merged

Use details/summary for progressive disclosure of failure reporting tip#24229
pelikhan merged 2 commits intomainfrom
copilot/improve-failure-message-disclosure

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 3, 2026

The "stop reporting failure" tip in agent failure issues was rendered as a [!TIP] blockquote, making it always visible and adding noise to the issue body. Wraps it in a <details>/<summary> collapsible block, consistent with the existing "Debug with any coding agent" and "Manually invoke the agent" sections.

> safe-outputs:
> report-failure-as-issue: false
> ```
<details>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@copilot the entire details section should be in a TIP

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in cee8c3d — the <details> section is now wrapped inside a > [!TIP] alert.

@pelikhan pelikhan marked this pull request as ready for review April 3, 2026 04:47
Copilot AI review requested due to automatic review settings April 3, 2026 04:47
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the agent failure issue template to reduce noise by hiding the “stop reporting failure” guidance behind a collapsible <details>/<summary> section, consistent with other progressive-disclosure sections in the template.

Changes:

  • Replaced the always-visible [!TIP] block with a <details>/<summary> collapsible section for the failure-reporting configuration guidance.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

> report-failure-as-issue: false
> ```
<details>
<summary><b>Stop reporting this workflow as a failure</b></summary>
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

The <summary> text says "Stop reporting this workflow as a failure", but the section body describes stopping failure issue creation. Consider updating the summary wording to match (e.g., "Stop reporting failure issues for this workflow") to avoid implying the workflow will no longer be marked as failed.

Suggested change
<summary><b>Stop reporting this workflow as a failure</b></summary>
<summary><b>Stop reporting failure issues for this workflow</b></summary>

Copilot uses AI. Check for mistakes.
Copilot AI requested a review from pelikhan April 3, 2026 04:51
@pelikhan pelikhan merged commit b8895d2 into main Apr 3, 2026
@pelikhan pelikhan deleted the copilot/improve-failure-message-disclosure branch April 3, 2026 04:55
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.

3 participants