Skip to content

Add VS feedback tool integration for MIEngine diagnostic logs#1557

Merged
WardenGnaw merged 4 commits intomainfrom
dev/waan/addVSFeedbackLog
Apr 10, 2026
Merged

Add VS feedback tool integration for MIEngine diagnostic logs#1557
WardenGnaw merged 4 commits intomainfrom
dev/waan/addVSFeedbackLog

Conversation

@WardenGnaw
Copy link
Copy Markdown
Member

Attach MIEngine diagnostic logs to VS "Report a Problem" feedback reports via IFeedbackDiagnosticFileProvider (MEF export).

  • FeedbackLogBuffer: always-on 256KB circular buffer with sequence-tracked FlushNewEntries() to prevent duplicate entries across consumers
  • VSFeedbackLogger: FileSystemWatcher monitors feedback semaphore file; when VS starts "Record Steps", opens a StreamWriter and dumps buffered entries plus live-streams new ones
  • FeedbackDiagnosticFileProvider: MEF export discovered by VS feedback tool; flushes new buffer entries to temp file (MIEngine-{pid}.log) and returns the path
  • IL reference assembly for IFeedbackDiagnosticFileProvider interface (package is on Azure-Public but we cant have multifeeds)

Attach MIEngine diagnostic logs to VS "Report a Problem" feedback reports
via IFeedbackDiagnosticFileProvider (MEF export).

- FeedbackLogBuffer: always-on 256KB circular buffer with sequence-tracked
FlushNewEntries() to prevent duplicate entries across consumers
- VSFeedbackLogger: FileSystemWatcher monitors feedback semaphore file;
when VS starts "Record Steps", opens a StreamWriter and dumps buffered
entries plus live-streams new ones
- FeedbackDiagnosticFileProvider: MEF export discovered by VS feedback
tool; flushes new buffer entries to temp file (MIEngine-{pid}.log) and
returns the path
- IL reference assembly for IFeedbackDiagnosticFileProvider interface
  (package is on Azure-Public but we cant have multifeeds)
@WardenGnaw WardenGnaw force-pushed the dev/waan/addVSFeedbackLog branch from 0d3e295 to a503c38 Compare April 9, 2026 03:38
Copy link
Copy Markdown
Member

@gregg-miskelly gregg-miskelly left a comment

Choose a reason for hiding this comment

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

Aside from that one comment, looks good to me

@WardenGnaw WardenGnaw merged commit a411c5b into main Apr 10, 2026
6 checks passed
@WardenGnaw WardenGnaw deleted the dev/waan/addVSFeedbackLog branch April 10, 2026 17:52
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