Skip to content

Bump Polly from 8.2.0 to 8.7.0 - #67

Closed
dependabot[bot] wants to merge 28 commits into
mainfrom
dependabot/nuget/Polly-8.7.0
Closed

dependabot[bot] wants to merge 28 commits into
mainfrom
dependabot/nuget/Polly-8.7.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 15, 2026

Copy link
Copy Markdown

Updated Polly from 8.2.0 to 8.7.0.

Release notes

Sourced from Polly's releases.

8.7.0

Highlights

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.6.6...8.7.0

8.6.6

Highlights

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.6.5...8.6.6

8.6.5

What's Changed

Full Changelog: App-vNext/Polly@8.6.4...8.6.5

8.6.4

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.6.3...8.6.4

8.6.3

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.6.2...8.6.3

8.6.2

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.6.1...8.6.2

8.6.1

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.6.0...8.6.1

8.6.0

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.5.2...8.6.0

8.5.2

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.5.1...8.5.2

8.5.1

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.5.0...8.5.1

8.5.0

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.4.2...8.5.0

8.4.2

What's Changed

8.4.1

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.4.0...8.4.1

8.4.0

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.3.1...8.4.0

8.3.1

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.3.0...8.3.1

8.3.0

What's Changed

This release makes Simmy chaos engineering strategies part of the Polly.Core package. 🐵🚀

image

New Contributors

Full Changelog: App-vNext/Polly@8.2.1...8.3.0
... (truncated)

8.2.1

What's Changed

New Contributors

Full Changelog: App-vNext/Polly@8.2.0...8.2.1

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Sarmkadan and others added 28 commits February 14, 2026 13:31
The Math.Max(delaySeconds, 1) floor was applied unconditionally,
causing NoRetry policy to still report a 1-second delay. Added
early return for NoRetry before the delay calculation logic.

Closes #38
RetryPolicyHelper.CalculateStatistics divided by TotalRetries without
checking for zero, causing DivideByZeroException when maxAttempts is 1.
Added a guard to return TimeSpan.Zero when there are no retries.

Also fixed OutboxProcessor health tracking: ConsecutiveFailures was
being reset even on partial batch failures (when some messages failed
but ProcessedCount > 0). Now only resets on fully successful batches.

Fixes #42, ref #44
…and-health

Fix divide-by-zero in retry stats and health tracking
- Add pre-check for IsLocked/Processing state before acquiring lock in
  ProcessSingleMessageAsync to avoid contention when multiple processor
  instances run in parallel (e.g. multiple Kubernetes replicas)
- Catch OutboxRepositoryException wrapping DbUpdateConcurrencyException
  so the instance that loses the lock race skips gracefully instead of
  failing
- Fix missing using directive for DbUpdateConcurrencyException
- Fix broken transaction-wrapper code that referenced non-existent
  BeginTransactionAsync, undeclared startTime and _outboxMetrics vars,
  and stray duplicate closing braces
- Fix OutboxException declared sealed, preventing all derived exception
  types from compiling
- Fix ExportController syntax error ([]<string>() → Array.Empty<string>())
- Fix DependencyInjectionExtensions OTel configuration (SetResourceBuilder
  removed in newer SDK; use ConfigureResource; add missing using directives)
- Add GetPrometheusMetricsAsync to IMetricsService interface to match impl
- Update OutboxServiceTests to pass required IOutboxSerializer argument

closes #40
- Add GetOldestPendingMessageCreatedAtAsync to IOutboxRepository and
  OutboxRepository to efficiently query only the oldest pending message
  timestamp (avoids loading all messages into memory)
- Add OldestMessageAgeThresholdMinutes (default: 5 min) to
  OutboxProcessorOptions for configurable alert threshold
- Add OldestMessageAge property to HealthMetrics so consumers can
  observe the current age
- Add CheckOldestMessageAgeAsync method to OutboxProcessor; called
  every polling cycle — logs a Warning when the oldest pending message
  exceeds the configured threshold, helping detect stuck processors
- Expose OldestMessageAge in the HealthCheckService health-cache object
  so it appears in the /health endpoint response

closes #46
Add comprehensive unit tests for:
- MessagePublishingService: message publishing workflow, retry handling, and error conditions
- BatchProcessingService: batch processing with chunking and parallel execution
- RetryPolicyHelper: retry delay calculation and statistics
- DefaultMessagePublisher: message publisher implementation

Tests include edge cases, error handling, and integration scenarios.
Add comprehensive integration tests that exercise the full outbox pattern:
- Health check endpoint
- Event publishing and message creation
- Message retrieval and statistics
- Idempotency handling with duplicate events
- Dead letter queue workflow
- Message review and requeue functionality
- Concurrent message publishing
- End-to-end message processing
Add comprehensive unit tests for the export service covering:
- JSON and CSV format exports
- Format case-insensitivity
- Content type and size tracking
- Timestamp tracking
- Unsupported format error handling
---
updated-dependencies:
- dependency-name: Polly
  dependency-version: 8.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Jun 15, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 11, 2026

Copy link
Copy Markdown
Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/nuget/Polly-8.7.0 branch July 11, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant