Skip to content

Conversation

@amnguye
Copy link
Member

@amnguye amnguye commented Oct 8, 2025

Reverts #52977

Copilot AI review requested due to automatic review settings October 8, 2025 19:33
@github-actions github-actions bot added the Storage Storage Service (Queues, Blobs, Files) label Oct 8, 2025
Copy link
Contributor

Copilot AI left a comment

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 a previous implementation that added lightweight detection for new write operations in the Azure Storage WebJobs extensions. The revert removes functionality that was designed to optimize blob write detection by checking metadata without fully parsing log entries.

Key changes:

  • Removes the HasBlobWritesAsync method and related test infrastructure
  • Reverts to the original approach of using GetRecentBlobWritesAsync for detecting blob writes
  • Removes test cases and mock infrastructure for the lightweight detection feature

Reviewed Changes

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

File Description
BlobLogListenerTests.cs Removes test cases for HasBlobWritesAsync method and associated mock infrastructure
BlobScalerMonitorProvider.cs Reverts from lightweight HasBlobWritesAsync back to GetRecentBlobWritesAsync for write detection
BlobLogListener.cs Removes the HasBlobWritesAsync method implementation and makes constructor private again

@amnguye amnguye enabled auto-merge (squash) October 8, 2025 19:38
@amnguye amnguye merged commit 7f39476 into main Oct 8, 2025
25 checks passed
@amnguye amnguye deleted the revert-52977-alrod/lighweight-new-writes-detection branch October 8, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants