Skip to content

refactor: log agent state changes on config updates#11625

Merged
rvql merged 2 commits intov6.6from
cherrypick-0b0ae4cc-v6.6
Apr 16, 2026
Merged

refactor: log agent state changes on config updates#11625
rvql merged 2 commits intov6.6from
cherrypick-0b0ae4cc-v6.6

Conversation

@rvql
Copy link
Copy Markdown
Contributor

@rvql rvql commented Apr 15, 2026

This PR is for:

  • Agent

Backport refactor: log agent state changes on config updates

Checklist

  • Added state change log in AgentState::update_config.
  • Added state change log in AgentState::update_partial_config.
  • Kept behavior unchanged; only log visibility improved when enabled state changes.

Backport to branches

  • v6.6

rvql and others added 2 commits April 15, 2026 18:21
Add state transition logs in AgentState::update_config and update_partial_config so enabled/disabled changes from config updates are visible with the same format used by other AgentState transitions.
@rvql rvql enabled auto-merge (rebase) April 15, 2026 10:41
Copy link
Copy Markdown
Contributor

@kylewanginchina kylewanginchina left a comment

Choose a reason for hiding this comment

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

Reviewed, low-risk log enhancement. CI passed and diff is consistent with existing state transition handling.

@rvql rvql merged commit 27d1747 into v6.6 Apr 16, 2026
8 checks passed
@rvql rvql deleted the cherrypick-0b0ae4cc-v6.6 branch April 16, 2026 02:56
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.

2 participants