Skip to content

fix(slack): Preserve progress across agent resumes#860

Merged
dcramer merged 2 commits into
mainfrom
codex/preserve-progress-on-resume
Jul 12, 2026
Merged

fix(slack): Preserve progress across agent resumes#860
dcramer merged 2 commits into
mainfrom
codex/preserve-progress-on-resume

Conversation

@dcramer

@dcramer dcramer commented Jul 12, 2026

Copy link
Copy Markdown
Member

Queued Slack continuations now restore the active turn's latest explicit progress instead of restarting with generic loading. Compaction and model handoff also report deterministic phases through the same assistant status update path.

Restoration reads the already-durable Pi transcript scoped to the current turn, avoiding a parallel progress store. Regression coverage verifies prior-turn progress is ignored, the latest active phase is restored first, and status observer failures cannot abort model handoff.

Restore the active turn's latest reportProgress status when a queued agent run resumes instead of resetting Slack to generic loading.

Use the same status update path for deterministic compaction and model handoff progress while keeping observer failures best effort.

Co-Authored-By: GPT-5 Codex <noreply@openai.com>
@vercel

vercel Bot commented Jul 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Jul 12, 2026 11:43pm

Request Review

@cursor cursor 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.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e1fd8f4. Configure here.

Comment thread packages/junior/src/chat/runtime/report-progress.ts Outdated
Continue scanning the active turn when its newest reportProgress call does not produce a visible status. This matches the live status behavior and preserves the previous valid phase.

Co-Authored-By: GPT-5 Codex <noreply@openai.com>
@dcramer dcramer marked this pull request as ready for review July 12, 2026 23:52
@github-actions github-actions Bot added the risk: medium PR risk score: medium label Jul 12, 2026
@dcramer dcramer merged commit 9fa31dc into main Jul 12, 2026
34 checks passed
@dcramer dcramer deleted the codex/preserve-progress-on-resume branch July 12, 2026 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant