Skip to content

Conversation

@eskimor
Copy link
Member

@eskimor eskimor commented Nov 2, 2025

TODOS:

  • Make it typecheck
  • Make CoreState one state item for all cores
  • Runtime APIs must look into the future (retrieve claim queue for now +1)
  • Update scheduler + paras_inherent to use the new pop all cores at once API
  • Fix scheduler and paras_inherent to use the new API
  • Add back duplication of first assignment for on-demand
  • Limit assignments returned by the scheduler to availability cores count
  • Fix peek for on-demand
  • Fix benchmarks
  • Migrations
  • Add test that peek at block x correctly predicts pops at block x + n
  • Add test that on-demand order on empty core shows up in two next blocks (and no more)
  • Add test that bulk assignment coming in on an unoccupied core gets duplicated before the start
  • Add test that peek does not modify state (multiple calls will yield the same result)
  • Fix tests
  • Update docs
  • Drop other parachain assigner
  • Move coretime & ondemand assigner into scheduler folder
  • Migration OnDemandAssignmentProvider -> OnDemand (Westend)
  • Polish

Fixes: #1312 #6563

@eskimor eskimor changed the title Rk peek assigner WIP: Fix coretime partioning + super low latency on-demand Nov 2, 2025
@eskimor eskimor marked this pull request as ready for review November 6, 2025 22:13
@eskimor eskimor requested a review from a team as a code owner November 6, 2025 22:13
@eskimor eskimor added T2-pallets This PR/Issue is related to a particular pallet. T8-polkadot This PR/Issue is related to/affects the Polkadot network. labels Nov 7, 2025
@paritytech-workflow-stopper
Copy link

All GitHub workflows were cancelled due to failure one of the required jobs.
Failed workflow url: https://github.com/paritytech/polkadot-sdk/actions/runs/19176567296
Failed job name: build-rustdoc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T2-pallets This PR/Issue is related to a particular pallet. T8-polkadot This PR/Issue is related to/affects the Polkadot network.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Instant on-demand orders

2 participants