Skip to content

feat(cosmos): support AllChangesAndDelete changefeed mode#3420

Merged
jviau merged 1 commit into
mainfrom
u/jviau/cosmos-allchangesanddelete
May 20, 2026
Merged

feat(cosmos): support AllChangesAndDelete changefeed mode#3420
jviau merged 1 commit into
mainfrom
u/jviau/cosmos-allchangesanddelete

Conversation

@jviau
Copy link
Copy Markdown
Contributor

@jviau jviau commented May 20, 2026

Issue describing the changes in this PR

resolves #3182

Pull request checklist

  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Adds support for CosmosDB 'AllChangesAndDelete' change-feed mode.

Copilot AI review requested due to automatic review settings May 20, 2026 16:05
@jviau jviau force-pushed the u/jviau/cosmos-allchangesanddelete branch from 8ca1527 to ebf730f Compare May 20, 2026 16:06
Copy link
Copy Markdown
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

Note

Copilot was unable to run its full agentic suite in this review.

Adds support for configuring Cosmos DB Trigger change feed mode to include deletes and intermediate versions, aligning the isolated worker extension with newer Cosmos DB change feed capabilities.

Changes:

  • Bumps Worker CosmosDB extension version and updates the underlying WebJobs CosmosDB extension dependency.
  • Introduces CosmosDBChangeFeedMode enum and exposes it via CosmosDBTriggerAttribute.ChangeFeedMode.
  • Updates release notes entry for the new feature.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
extensions/Worker.Extensions.CosmosDB/src/Worker.Extensions.CosmosDB.csproj Updates package version and bumps WebJobs CosmosDB extension dependency.
extensions/Worker.Extensions.CosmosDB/src/CosmosDBTriggerAttribute.cs Adds ChangeFeedMode property to the trigger attribute.
extensions/Worker.Extensions.CosmosDB/src/CosmosDBChangeFeedMode.cs Adds a public enum to represent supported change feed modes.
extensions/Worker.Extensions.CosmosDB/release_notes.md Updates release notes for the new version/feature.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread extensions/Worker.Extensions.CosmosDB/release_notes.md Outdated
Comment thread extensions/Worker.Extensions.CosmosDB/release_notes.md Outdated
@jviau jviau force-pushed the u/jviau/cosmos-allchangesanddelete branch from ebf730f to cd42d23 Compare May 20, 2026 16:34
@jviau jviau force-pushed the u/jviau/cosmos-allchangesanddelete branch from cd42d23 to aa1873b Compare May 20, 2026 17:57
Copy link
Copy Markdown
Member

@satvu satvu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"AllVersionsAndDeletes" as a release note description does seem to match better but otherwise looks good.

@jviau jviau requested a review from satvu May 20, 2026 17:57
@jviau jviau merged commit 27ab536 into main May 20, 2026
32 checks passed
@jviau jviau deleted the u/jviau/cosmos-allchangesanddelete branch May 20, 2026 18:17
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.

Support Cosmos DB change feed all versions and deletes mode

3 participants