Skip to content

Conversation

@gmickel
Copy link
Owner

@gmickel gmickel commented Jan 15, 2026

sync upstream flowctl efficiency + docs

@coderabbitai
Copy link

coderabbitai bot commented Jan 15, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

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

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: f5c76674c0

ℹ️ 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".

Comment on lines +4347 to +4351
# Restore tasks
tasks_dir = flow_dir / TASKS_DIR
restored_tasks = []
for task in checkpoint["tasks"]:
task_id = task["id"]

Choose a reason for hiding this comment

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

P2 Badge Remove tasks missing from checkpoint on restore

The restore path only rewrites tasks present in the checkpoint but never deletes tasks created after the checkpoint. If a user saves a checkpoint, adds new tasks under the epic, and then runs checkpoint restore, those extra task JSON/spec files remain, so the epic is not actually rolled back to the snapshot (e.g., plan review and status will still see the post‑checkpoint tasks). Consider pruning any fn-N.* task files not listed in the checkpoint before writing restored tasks to make restore semantics match the snapshot.

Useful? React with 👍 / 👎.

@gmickel gmickel closed this Jan 15, 2026
@gmickel gmickel deleted the sync-20260115-upstream branch January 15, 2026 12:56
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