Skip to content

[timers] Fix missing wakeups in timer service - #5093

Merged
MohamedBassem merged 1 commit into
mainfrom
pr5093
Jul 30, 2026
Merged

[timers] Fix missing wakeups in timer service#5093
MohamedBassem merged 1 commit into
mainfrom
pr5093

Conversation

@MohamedBassem

@MohamedBassem MohamedBassem commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Exactly as (#5085) but for the timer service. Changes to the scheduling were not correctly waking up
the wakers for poll_next_timer. This was ok in the existing code because we were reconstructing the timer stream in every LeaderState::run call.
Now that this is changing in the next PR, this has to be fixed.

For full disclaimer, this was caught and fixed by codex.

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

Test Results

  8 files  ±0    8 suites  ±0   5m 10s ⏱️ -1s
 61 tests ±0   61 ✅ ±0  0 💤 ±0  0 ❌ ±0 
268 runs  ±0  268 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit faa9b94. ± Comparison against base commit 2561670.

♻️ This comment has been updated with latest results.

@tillrohrmann tillrohrmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fde725cd21

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

///
/// Since v1.7.3
#[cfg_attr(feature = "schemars", schemars(skip))]
pub self_proposal_queue_memory_limit: NonZeroByteCount,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add release notes for the new queue limit

This adds a user-facing worker.self-proposal-queue-memory-limit option and switches self-proposal buffering/backpressure to a per-partition memory budget, but the commit does not add a release-notes/unreleased entry. Operators upgrading will otherwise miss the new knob and its memory/latency trade-off, so please add an unreleased note for this behavior/configuration change.

AGENTS.md reference: AGENTS.md:L51-L51

Useful? React with 👍 / 👎.

Exactly as (#5085) but for the timer service. Changes to the scheduling were not correctly waking up
the wakers for `poll_next_timer`. This was ok in the existing code because we were reconstructing the timer stream in every `LeaderState::run` call.
Now that this is changing in the next PR, this has to be fixed.

> For full disclaimer, this was caught and fixed by codex.
@MohamedBassem
MohamedBassem merged commit 3604050 into main Jul 30, 2026
57 checks passed
@MohamedBassem
MohamedBassem deleted the pr5093 branch July 30, 2026 10:54
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants