Skip to content

[Backport release-1.17] Fix workflow list MongoDB fallback#1622

Merged
JoshVanL merged 2 commits into
release-1.17from
backport-1608-to-release-1.17
Apr 7, 2026
Merged

[Backport release-1.17] Fix workflow list MongoDB fallback#1622
JoshVanL merged 2 commits into
release-1.17from
backport-1608-to-release-1.17

Conversation

@dapr-bot

@dapr-bot dapr-bot commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator

Backport 2d53a10 from #1608.

* Fix workflow list MongoDB fallback

The CLI's direct MongoDB fallback (used when gRPC ListInstanceIDs is
unavailable) searched for a "key" field, but the Dapr MongoDB state
store stores document keys in the "_id" field. This caused
`dapr workflow list -c 'mongodb://...'` to always return empty results.

Signed-off-by: joshvanl <[email protected]>

* Review comments

Signed-off-by: joshvanl <[email protected]>

* Review comments

Signed-off-by: joshvanl <[email protected]>

---------

Signed-off-by: joshvanl <[email protected]>
(cherry picked from commit 2d53a10)
Signed-off-by: dapr-bot <[email protected]>
@dapr-bot
dapr-bot requested review from a team as code owners April 6, 2026 22:02
JoshVanL
JoshVanL previously approved these changes Apr 6, 2026
@JoshVanL
JoshVanL merged commit 7aec890 into release-1.17 Apr 7, 2026
26 of 27 checks passed
@dapr-bot
dapr-bot deleted the backport-1608-to-release-1.17 branch April 7, 2026 12:45
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