Skip to content

Temporarily disable PeriodicHandoffCheckpoints dogfood flag - #15286

Draft
warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
joeywangzr/disable-periodic-handoff-checkpoints-remote-2557
Draft

Temporarily disable PeriodicHandoffCheckpoints dogfood flag#15286
warp-agent-staging[bot] wants to merge 1 commit into
masterfrom
joeywangzr/disable-periodic-handoff-checkpoints-remote-2557

Conversation

@warp-agent-staging

Copy link
Copy Markdown
Contributor

Description

Temporarily removes FeatureFlag::PeriodicHandoffCheckpoints from DOGFOOD_FLAGS so periodic handoff checkpoints are off on all channels, including dogfood, while the checkpoint-commit bug tracked in REMOTE-2557 is being fixed.

This is a rollout toggle, not a feature removal: the PeriodicHandoffCheckpoints flag variant, checkpoint_interval, the checkpoint coordinator, the pipeline, and the CLI flags all stay in place. With the flag off, app/src/ai/agent_sdk/driver.rs never constructs the checkpoint_coordinator, so runs fall back to the legacy end-of-run run_snapshot_upload path — the only path that ever calls the failing client.commit_snapshot(...). This removes the failing commit path while leaving end-of-run handoff snapshots working as before.

The flag's doc comment is updated to note it's temporarily disabled pending the checkpoint-commit fix, pointing back at REMOTE-2557 so the next reader knows to re-add it once that issue is resolved.

Note: cloud agent runs only pick this up once they execute a dogfood build that contains this change — it has no effect on runs using an older dogfood build.

Linked Issue

  • Tracked by REMOTE-2557 (no GitHub issue for this change).

Testing

  • cargo check -p warp_features — builds cleanly.
  • cargo test -p warp_features — existing tests pass (local_child_harnesses_are_local_only_by_default; test_all_preview_flags_have_a_description is #[ignore]d, per CORE-3768).
  • cargo fmt -p warp_features -- --check and cargo clippy -p warp_features --all-targets --all-features -- -D warnings — clean.
  • Not a user-facing UI change; no screenshots/video included. A full workspace build was not run, per the size of this change, but the affected crate builds and its tests pass.

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Removes FeatureFlag::PeriodicHandoffCheckpoints from DOGFOOD_FLAGS so
periodic handoff checkpoints are off on all channels while the
checkpoint-commit bug tracked in REMOTE-2557 is being fixed. This is a
rollout toggle only: the flag variant, checkpoint_interval, the
coordinator, and the pipeline all stay in place. Runs fall back to the
legacy end-of-run snapshot upload path, which does not hit the failing
commit_snapshot call.

See https://linear.app/warpdotdev/issue/REMOTE-2557
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

Comment @warp-factory on this PR to send it follow-up work.

View run View conversation

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants