Skip to content

Conversation

tienquocbui
Copy link
Member

The AdvancedConsoleOutputRecorder previously stored a full Event.ConsoleOutputRecorder instance (_fallbackRecorder) solely to access its options property. This created an unnecessary dependency on the entire ConsoleOutputRecorder implementation when only the options were needed. This PR removes an unnecessary dependency in AdvancedConsoleOutputRecorder by replacing the stored Event.ConsoleOutputRecorder instance with direct storage of Event.ConsoleOutputRecorder.Options.

@grynspan grynspan added bug 🪲 Something isn't working performance 🏎️ Performance issues command-line experience ⌨️ enhancements to the command line interface labels Oct 5, 2025
@grynspan grynspan added this to the Swift 6.x (main) milestone Oct 5, 2025
@stmontgomery stmontgomery merged commit c6512ff into swiftlang:main Oct 6, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working command-line experience ⌨️ enhancements to the command line interface performance 🏎️ Performance issues
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants