Skip to content

[feat-request] want a resume ability #265

Description

@ScarletCarpet

Problem Statement

I start a task to review a range work.

ocr review --from a36f0c53cd68a1f8b4c9d3a0e17d206f2daed08f --to HEAD --exclude "sdk/**" -max-tools 120 -timeout 30 -f json

all changes have about 600+ files.
the task failed caz the payment exceeded, the task finish partially.

.....
    {
      "file": "xxx.cpp",
      "message": "LLM completion error: POST \"https://api.deepseek.com/v1/chat/completions\": 402 Payment Required {\"message\":\"Insufficient Balance\",\"type\":\"unknown_error\",\"param\":null,\"code\":\"invalid_request_error\"}",
      "type": "subtask_error"
    }

Proposed Solution

want mark which commit finished,

start a review task

ocr review --from a36f0c53cd68a1f8b4c9d3a0e17d206f2daed08f --to HEAD --exclude "sdk/**" -max-tools 120 -timeout 30 -f json

task save finish or ingprogress status in .opencodereview for example:

file: ~/.opencodereview/sessions/{project}/{sessionid},jsonl

"comments": [ ... ]
"warnings": [ ... ]
"done": [ "hash-1", "hash-2", "hash-3", .... ]
"failed": [ "hash-4", "hash-5", ... ]

and then the user can resume task by:

ocr review --from a36f0c53cd68a1f8b4c9d3a0e17d206f2daed08f --to HEAD --exclude "sdk/**" -max-tools 120 -timeout 30 -f json --resume {sessionid}

Alternatives Considered

No response

Affected Area

CLI / Commands

Additional Context

No response

Activity

  1. added
    enhancement
    on Jul 2, 2026
  2. ScarletCarpet commented on Jul 2, 2026

    @ScarletCarpet
    ContributorAuthor

    i think this is very important feature for tokesave...
    i've finished 500 files. and left 100 files to review. i don't want to restart whole task again to consume unnecessary costs.

  3. lizhengfeng101 commented on Jul 2, 2026

    @lizhengfeng101
    Contributor

    Thanks for the feedback! This is a great idea and is already on our roadmap. We plan to ship this feature after Ultra mode lands. Stay tuned!

  4. ScarletCarpet commented on Jul 3, 2026

    @ScarletCarpet
    ContributorAuthor

    Thanks for the feedback! This is a great idea and is already on our roadmap. We plan to ship this feature after Ultra mode lands. Stay tuned!

    is it in progess? i can provide a PR to support this feature. it's important for me to do a large review task.

  5. MuoDoo commented on Jul 3, 2026

    @MuoDoo
    Collaborator

    is it in progess? i can provide a PR to support this feature. it's important for me to do a large review task.

    We will support this feature in these days.

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

Metadata

Metadata

Labels

enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions