Skip to content

Revert "Detect and report outdated Maestro URLs" - #6572

Merged
premun merged 1 commit into
mainfrom
revert-6555-copilot/detect-report-old-maestro-urls
Aug 12, 2026
Merged

Revert "Detect and report outdated Maestro URLs"#6572
premun merged 1 commit into
mainfrom
revert-6555-copilot/detect-report-old-maestro-urls

Conversation

@premun

@premun premun commented Aug 12, 2026

Copy link
Copy Markdown
Member

Reverts #6555

Copilot AI lite review requested due to automatic review settings August 12, 2026 13:45
@premun
premun enabled auto-merge (squash) August 12, 2026 13:46

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

This PR reverts #6555, removing the DARC behavior that detected/outdated Maestro (BAR) base URIs and warned users, along with the associated tests and documentation updates.

Changes:

  • Removed the “warn if using non-default/outdated Maestro URI” logic from DARC options initialization.
  • Removed unit tests covering Maestro URI warning behavior.
  • Removed corresponding documentation text describing the warning behavior.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
test/Darc/Microsoft.DotNet.Darc.Tests/Operations/OperationsTests.cs Removes tests that validated warning/no-warning behavior for default/outdated Maestro URIs.
src/Microsoft.DotNet.Darc/Darc/Options/CommandLineOptions.cs Reverts settings-initialization warning logic and simplifies console logging configuration.
docs/Darc.md Removes documentation describing the non-default/outdated Maestro URI warning behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 127 to 131
services.AddLogging(b => b
.AddConsole(o =>
{
o.FormatterName = CompactConsoleLoggerFormatter.FormatterName;
// Route warnings and above to stderr so they don't corrupt machine-readable
// output (e.g. `--output-format json`) written to stdout.
o.LogToStandardErrorThreshold = LogLevel.Warning;
})
.AddConsole(o => o.FormatterName = CompactConsoleLoggerFormatter.FormatterName)
.AddConsoleFormatter<CompactConsoleLoggerFormatter, SimpleConsoleFormatterOptions>()
.SetMinimumLevel(level)
.AddFilter("Microsoft.DotNet.DarcLib.VirtualMonoRepo." + nameof(VmrPatchHandler), LogLevel.Warning));
@premun
premun merged commit dd7bb27 into main Aug 12, 2026
8 of 10 checks passed
@premun
premun deleted the revert-6555-copilot/detect-report-old-maestro-urls branch August 12, 2026 14:18
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