Skip to content

Improve pre-agent audit summary tree - #50129

Merged
pelikhan merged 1 commit into
mainfrom
copilot/update-pre-agent-audit-rendering
Aug 4, 2026
Merged

Improve pre-agent audit summary tree#50129
pelikhan merged 1 commit into
mainfrom
copilot/update-pre-agent-audit-rendering

Conversation

Copilot AI commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Pre-agent audit output now collapses by default while retaining a readable file tree in the step summary.

  • Collapsed summary

    • Wrap the audit tree in a <details> section titled “Pre-agent workspace audit”.
  • Tree rendering

    • Replace ASCII pipes with box-drawing branches.
    • Remove redundant header delimiters from rendered section names.
├── Copilot engine
│   ├── Workspace agents: /workspace/.github/agents
│   │   └── /workspace/.github/agents/agent.md
  • Coverage
    • Update shell assertions for details markup and the simplified tree format.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan August 4, 2026 01:00
@pelikhan
pelikhan marked this pull request as ready for review August 4, 2026 01:02
Copilot AI review requested due to automatic review settings August 4, 2026 01:02
@pelikhan
pelikhan merged commit d865d5b into main Aug 4, 2026
@pelikhan
pelikhan deleted the copilot/update-pre-agent-audit-rendering branch August 4, 2026 01:02

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.

Pull request overview

Collapses the pre-agent audit summary and modernizes its tree rendering.

Changes:

  • Wraps audit output in a <details> section.
  • Replaces ASCII branches and removes header delimiters.
  • Updates shell assertions for the new format.
Show a summary per file
File Description
actions/setup/sh/audit_pre_agent_workspace.sh Renders the collapsed box-drawing tree.
actions/setup/sh/audit_pre_agent_workspace_test.sh Verifies the updated summary markup and branches.

Review details

Tip

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

  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment on lines +122 to +124
"(not found)") echo " └── ${line}" ;;
"") continue ;;
*) echo "| | \-- ${line}" ;;
*) echo " └── ${line}" ;;
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.4

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