Skip to content

feat: exposes rpc queries on xscheduler#874

Draft
amimart wants to merge 16 commits into
arnaud/engn-4255-expose-events-on-xscheduler-modulefrom
arnaud/engn-4254-exposes-rpc-queries-on-xscheduler
Draft

feat: exposes rpc queries on xscheduler#874
amimart wants to merge 16 commits into
arnaud/engn-4255-expose-events-on-xscheduler-modulefrom
arnaud/engn-4254-exposes-rpc-queries-on-xscheduler

Conversation

@amimart

@amimart amimart commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Purpose of Changes and their Description

The PR brings RPC queries allowing to inspect the x/scheduler module 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;

⚠️ The Handlers query 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 Tasks and ScheduledTasks queries.

For each RPC query a related CLI query command has been added.

Are these changes tested and documented?

  • If tested, please describe how. If not, why tests are not needed.
  • If documented, please describe where. If not, describe why docs are not needed.
  • Added to Unreleased section of CHANGELOG.md?

Still Left Todo

  • Tests
  • CLI

@github-actions

github-actions Bot commented Oct 10, 2025

Copy link
Copy Markdown

The latest Buf updates on your PR. Results from workflow Buf Linter / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed⏩ skippedJan 28, 2026, 6:44 PM

@amimart amimart force-pushed the arnaud/design-scheduler branch from a96e5b7 to ee375bb Compare October 20, 2025 17:47
@amimart amimart force-pushed the arnaud/engn-4254-exposes-rpc-queries-on-xscheduler branch from 7373341 to d8934df Compare October 20, 2025 20:01
@amimart amimart force-pushed the arnaud/design-scheduler branch from 9b9c432 to ada7012 Compare October 20, 2025 20:27
@amimart amimart force-pushed the arnaud/engn-4254-exposes-rpc-queries-on-xscheduler branch from d8934df to e23f349 Compare October 20, 2025 20:34
Comment thread x/scheduler/proto/scheduler/v1/query.proto Outdated
@amimart amimart changed the base branch from arnaud/design-scheduler to arnaud/engn-4255-expose-events-on-xscheduler-module October 21, 2025 06:29
@amimart amimart force-pushed the arnaud/engn-4255-expose-events-on-xscheduler-module branch from c5936b1 to c487365 Compare October 21, 2025 12:32
@amimart amimart force-pushed the arnaud/engn-4254-exposes-rpc-queries-on-xscheduler branch from e23f349 to 51947c1 Compare October 21, 2025 15:05
@amimart amimart force-pushed the arnaud/engn-4255-expose-events-on-xscheduler-module branch from 64e85e7 to 5df6925 Compare January 27, 2026 18:44
@amimart amimart force-pushed the arnaud/engn-4254-exposes-rpc-queries-on-xscheduler branch from b22d3f8 to 5b280ce Compare January 28, 2026 18:44
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