Skip to content

Task interrupt#1132

Open
snadrus wants to merge 47 commits intointeg/taskfrom
task_interrupt
Open

Task interrupt#1132
snadrus wants to merge 47 commits intointeg/taskfrom
task_interrupt

Conversation

@snadrus
Copy link
Copy Markdown
Contributor

@snadrus snadrus commented Mar 31, 2026

This allows tasks labelled "TimeSensitive" to bully other tasks out of resources to get started immediately. Other work is freed. Only the youngest set of blockers are chosen (and even then, the least possible).

Although this helps cases with those tasks, it needs to be added judiciously.

Though useful by itself,
This PR is part of an anti-starvation plan: the linear walk down the tasks in "importance order" must go away for a modified "oldest-first order" to fix starvation issues. When that happens, it's critical that time-sensitive tasks have an opt-out.

@snadrus snadrus requested a review from a team as a code owner March 31, 2026 15:28
@snadrus snadrus mentioned this pull request Apr 1, 2026
@snadrus
Copy link
Copy Markdown
Contributor Author

snadrus commented Apr 1, 2026

@LexLuthr I made the scheduler too fast and it exposed timing bugs in tests.

@snadrus snadrus mentioned this pull request Apr 2, 2026
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