Skip to content

feat(whaleflow): mark mock cancellation and budgets#2841

Merged
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-whaleflow-budget-cancel
Jun 6, 2026
Merged

feat(whaleflow): mark mock cancellation and budgets#2841
Hmbown merged 1 commit into
codex/v0.9.0-stewardshipfrom
codex/v090-whaleflow-budget-cancel

Conversation

@Hmbown
Copy link
Copy Markdown
Owner

@Hmbown Hmbown commented Jun 6, 2026

Summary

  • add a serializable budget_exceeded workflow status plus explicit execution markers for cancellation and budget exhaustion
  • teach the crate-local mock executor to stop on cancellation/global leaf budget/per-leaf zero-step budget
  • add focused mock executor tests for cancelled and budget-exhausted branch/leaf runs

Stewardship boundary

This is a narrow #2669 slice. It stays inside codewhale-whaleflow mock execution and does not expose workflow_run, spawn agents, apply worktrees, persist TraceStore writes, or add live runtime cancellation wiring.

Credits: thanks @AdityaVG13 for the WhaleFlow draft/runtime direction in #2482/#2486.

Verification

  • cargo test -p codewhale-whaleflow --locked
  • cargo clippy -p codewhale-whaleflow --all-targets --locked -- -D warnings
  • cargo fmt --all -- --check
  • ./scripts/release/check-versions.sh
  • ./scripts/release/check-ohos-deps.sh
  • git diff --check
  • cargo check --workspace --all-features --locked

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Hmbown has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@Hmbown Hmbown merged commit 7fc4ec8 into codex/v0.9.0-stewardship Jun 6, 2026
2 checks passed
@Hmbown Hmbown deleted the codex/v090-whaleflow-budget-cancel branch June 6, 2026 06:17
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.

1 participant