Flight Log / Azure/azure-dev #5368

Refactor: Use %v to log errors instead of %s + error.Error() — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in Azure/azure-dev on Jun 17, 2025; merged clean in 7.6 d: +326 −72, 36 files, 3 reviews.

All agent flights in Azure/azure-dev · GitHub Copilot flights

Merged cleanGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+326 −72
Files
36
Commits
12
Reviews
3
To merge
7.6 d
Task
refactor

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

The task was a refactor in Azure/azure-dev replacing log.Printf calls that used %s with err.Error() by %v with the error directly, across 36 files. The agent, GitHub Copilot, pushed 12 commits, adding 326 lines and removing 72. The PR received three reviews and zero change requests, and merged clean after 182.72 hours.

From the pull request description

This PR refactors all instances in .go files where errors are logged with `log.Printf()` using `%s` format specifier combined with calling `err.Error()` explicitly. The pattern has been replaced with the more idiomatic Go approach of using `%v` format specifier with the error directly. ## Changes M…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —committedcopilot-swe-agent[bot]
  4. —reviewed
  5. —reviewed
  6. —reviewed
  7. —committedVictor Vazquez
  8. —committedVictor Vazquez
  9. —committedVictor Vazquez
  10. —committedVictor Vazquez
  11. —committedVictor Vazquez
  12. —committedVictor Vazquez
  13. —committedVictor Vazquez
  14. —committedVictor Vazquez
  15. —committedVictor Vazquez

Cite this flight: AgentRiders Flight Log, Azure/azure-dev#5368, record updated Nov 3, 2026, https://agentriders.com/logs/Azure/azure-dev/5368/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.