feat: exposes rpc queries on xscheduler#874
Draft
amimart wants to merge 16 commits into
Draft
Conversation
|
The latest Buf updates on your PR. Results from workflow Buf Linter / buf (pull_request).
|
a96e5b7 to
ee375bb
Compare
7373341 to
d8934df
Compare
9b9c432 to
ada7012
Compare
d8934df to
e23f349
Compare
xmariachi
reviewed
Oct 20, 2025
c5936b1 to
c487365
Compare
e23f349 to
51947c1
Compare
64e85e7 to
5df6925
Compare
b22d3f8 to
5b280ce
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose of Changes and their Description
The PR brings RPC queries allowing to inspect the
x/schedulermodule state:Tasks: Retrieve all the tasks in the state, scheduled or not;Task: Retrieve the details of a task given its id;ScheduledTasks: Retrieve the currently scheduled tasks for a specific type, not the one created with no execution scheduled;Handlers: Retrieve the currently registered task handlers, in their execution order;Handlersquery is marked as unsafe as it is not based on any state but on the currently registered task handlers.There are some pagination and filtering options on the
TasksandScheduledTasksqueries.For each RPC query a related CLI query command has been added.
Are these changes tested and documented?
Unreleasedsection ofCHANGELOG.md?Still Left Todo