Skip to content

fix(runtime): harden compact rollback and strict task_state decode#7

Merged
wynxing merged 1 commit into
codex/taskstate-compact-prfrom
fork-pr-252-1776086745
Apr 13, 2026
Merged

fix(runtime): harden compact rollback and strict task_state decode#7
wynxing merged 1 commit into
codex/taskstate-compact-prfrom
fork-pr-252-1776086745

Conversation

@fennoai

@fennoai fennoai Bot commented Apr 13, 2026

Copy link
Copy Markdown

Requested by @Yumiue

Summary

  • rollback compact save failure across messages + task_state + token totals + updated_at
  • enforce strict compact summary JSON decoding to reject unknown fields
  • add regression tests and apply small simplification pass

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: Yumiue <188874804+Yumiue@users.noreply.github.com>
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 94.73684% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/runtime/compact_generator.go 89.47% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@wynxing wynxing merged commit f81f42d into codex/taskstate-compact-pr Apr 13, 2026
1 check passed
@fennoai fennoai Bot deleted the fork-pr-252-1776086745 branch April 13, 2026 13:34
wynxing pushed a commit that referenced this pull request Apr 15, 2026
fix(runtime): harden terminal event and tool parallelism
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.

3 participants