Skip to content

fix(cron): preserve existing conversation jobs across lifecycle changes#572

Merged
kaizhou-lab merged 1 commit into
mainfrom
fix/cron-existing-conversation-lifecycle
Jul 3, 2026
Merged

fix(cron): preserve existing conversation jobs across lifecycle changes#572
kaizhou-lab merged 1 commit into
mainfrom
fix/cron-existing-conversation-lifecycle

Conversation

@kaizhou-lab

@kaizhou-lab kaizhou-lab commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Preserve cron jobs when their bound conversation is deleted, and materialize a replacement conversation on the next existing-mode run.
  • Bind replacement conversations before scheduled/run-now execution so later runs reuse the recovered anchor.
  • Clear stale auto-provisioned workspace references while preserving custom workspaces and cron job records.
  • Inject helper runtime context into cron conversation state and document supported standard cron syntax.

Related Issues

Test Plan

  • cargo fmt --all -- --check
  • cargo nextest run -p aionui-cron
  • cargo nextest run -p aionui-app build_cron_state_conversation_service_injects_runtime_helper_context
  • cargo nextest run -p aionui-app --test cron_e2e
  • cargo nextest run --status-level fail --final-status-level fail (6646 passed, 18 skipped, 1 leaky)
  • cargo clippy -p aionui-cron -p aionui-conversation -p aionui-app -- -D warnings
  • git diff --check

@kaizhou-lab kaizhou-lab force-pushed the fix/cron-existing-conversation-lifecycle branch from 7f9ac33 to bcc2e8b Compare July 3, 2026 09:29
@kaizhou-lab kaizhou-lab merged commit fa4217a into main Jul 3, 2026
6 checks passed
@kaizhou-lab kaizhou-lab deleted the fix/cron-existing-conversation-lifecycle branch July 3, 2026 09:43
piorpua pushed a commit that referenced this pull request Jul 3, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.42](v0.1.41...v0.1.42)
(2026-07-03)


### Features

* **assistant:** 官方助手默认关闭 + 固定顺序 + 一次性重置迁移
([#567](#567))
([3e30b02](3e30b02))


### Bug Fixes

* **agent:** align unchecked availability with team runtime selection
([#571](#571))
([f80b0ce](f80b0ce))
* **agent:** avoid full availability refresh on reads
([#566](#566))
([1ffb7aa](1ffb7aa))
* **cron:** preserve existing conversation jobs across lifecycle changes
([#572](#572))
([fa4217a](fa4217a))
* **mcp:** support aionrs config path subcommand with legacy fallback
([#568](#568))
([72cfba1](72cfba1))
* preserve ACP config catalogs on resume
([#570](#570))
([a9c1955](a9c1955))
* preserve Linux GLIBC baselines
([#573](#573))
([ab6e227](ab6e227))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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