Repository navigation
ref(runtime): Continue paused work in the same worker - #1023
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dcramer
force-pushed
the
codex/conversation-worker-active-resume
branch
from
July 23, 2026 22:28
cd2bbdb to
ff7f7d0
Compare
dcramer
marked this pull request as ready for review
July 23, 2026 22:38
dcramer
force-pushed
the
codex/conversation-worker-active-resume
branch
from
July 23, 2026 22:48
ff7f7d0 to
39df72c
Compare
Member
Author
|
Not sure this isn’t like a normal while (hasWork()) loop. Need to review. |
dcramer
force-pushed
the
codex/conversation-worker-active-resume
branch
from
July 24, 2026 16:01
39df72c to
9d65621
Compare
dcramer
force-pushed
the
codex/conversation-worker-active-resume
branch
from
July 24, 2026 16:56
9d65621 to
eee288d
Compare
dcramer
force-pushed
the
codex/conversation-worker-active-resume
branch
from
July 24, 2026 17:42
eee288d to
6420836
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6420836. Configure here.
Reload durable state in a simple work loop so interrupts, parked continuations, and deferred messages run serially until the conversation is quiet or the worker must yield. Refs #876
dcramer
force-pushed
the
codex/conversation-worker-active-resume
branch
from
July 24, 2026 18:24
6420836 to
bbf2c27
Compare
This branch was successfully deployed
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.

When Junior receives another Slack message for paused work, it now saves the
message and continues the work in the same worker.
Previously, Junior saved the message, asked the queue to wake the conversation
again, and ended the current worker. That created an extra serverless request
before the work could continue.
This removes that extra hop without changing how Slack messages are saved or
how replies are delivered. Code outside the conversation worker keeps the old
queue fallback.
Refs #876