microsoft / microsoft/aspire

Update Aspire skill to inspect browser log resources from WithBrowserLogs

Open
#16,657 1 comment 3 reactions 0 assignees View on GitHub
agentic-workflows area-copilot copilot-task dashboard-logs
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

## Summary
Update the general Aspire skill so agents know how to inspect browser log resources when a resource is configured with `WithBrowserLogs()`.

## Motivation
When an AppHost uses `WithBrowserLogs()` on a resource, browser-side diagnostics are exposed as an Aspire resource. Agents diagnosing frontend or dashboard/browser problems should know to look for that resource and read its logs instead of only checking the application resource logs.

## Proposed behavior
- Teach the skill to detect or ask for browser log resources associated with `WithBrowserLogs()`.
- When investigating frontend/browser failures, check Aspire resources for browser log resources and read their console/structured logs as appropriate.
- Explain how to correlate browser log output back to the resource/page under investigation.
- Include guidance for cases where `WithBrowserLogs()` is not configured, so agents do not assume browser logs always exist.

## Example scenario
An AppHost resource is configured with `.WithBrowserLogs()`. The agent is asked to debug a browser-side issue and should inspect the browser logs resource in addition to backend/resource logs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.