Skip to content

Adds ListInstanceIDs & GetInstanceHistory APIs#51

Merged
cicoyle merged 5 commits into
dapr:mainfrom
JoshVanL:instance-list-get-history
Nov 7, 2025
Merged

Adds ListInstanceIDs & GetInstanceHistory APIs#51
cicoyle merged 5 commits into
dapr:mainfrom
JoshVanL:instance-list-get-history

Conversation

@JoshVanL
Copy link
Copy Markdown

@JoshVanL JoshVanL commented Nov 5, 2025

Implements these new methods implementing dapr/proposals#93

Implements these new methods implementing dapr/proposals#93

Signed-off-by: joshvanl <me@joshvanl.dev>
@JoshVanL JoshVanL requested a review from a team as a code owner November 5, 2025 16:54
Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: joshvanl <me@joshvanl.dev>
@JoshVanL JoshVanL force-pushed the instance-list-get-history branch from 6471393 to ab1112c Compare November 5, 2025 22:56
Signed-off-by: joshvanl <me@joshvanl.dev>
Comment thread backend/postgres/postgres.go

rows, err := be.db.Query(
ctx,
"SELECT EventPayload FROM History WHERE InstanceID = $1 ORDER BY SequenceNumber ASC",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think we are missing the pgSize and continuationToken here and for the list()... unless I'm missing it?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

This backend implementation is only used for durabletask CI testing, so I don't think it matters too much. We have more robust testing on the Dapr side which is what will be used.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

oh yes, very true. thats fine to leave out I suppose

Signed-off-by: joshvanl <me@joshvanl.dev>
@cicoyle cicoyle merged commit 7f28b24 into dapr:main Nov 7, 2025
2 checks passed
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.

2 participants