Skip to content

refactor: isolate qihe actor#285

Merged
hongjr03 merged 1 commit into
masterfrom
refactor/qihe-actor
Jun 26, 2026
Merged

refactor: isolate qihe actor#285
hongjr03 merged 1 commit into
masterfrom
refactor/qihe-actor

Conversation

@hongjr03

Copy link
Copy Markdown
Member

Summary

  • Replace QiheState on GlobalState with an owned Qihe actor that manages run generation, active progress/cancel tokens, and the external diagnostics cache.
  • Keep GlobalState as a thin facade for qihe start/handle/cancel paths, with environment access routed through a small QiheCtx implementation.
  • Share push-diagnostics publishing through DiagnosticsPublisher, update snapshot/process-change call sites, and move qihe tests into src/global_state/qihe/tests.rs.

Validation

  • cargo fmt --all -- --check
  • git diff --check
  • cargo build --workspace
  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo xtask check-config-artifacts

@hongjr03 hongjr03 marked this pull request as ready for review June 26, 2026 17:07
@hongjr03 hongjr03 merged commit b69b8c4 into master Jun 26, 2026
18 checks passed
@hongjr03 hongjr03 deleted the refactor/qihe-actor branch June 26, 2026 17:07
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