Skip to content

fix(core): hide scheduler background sessions - #1650

Open
AaronZ345 wants to merge 1 commit into
chenhg5:mainfrom
AaronZ345:fix/background-session-list-20260806
Open

fix(core): hide scheduler background sessions#1650
AaronZ345 wants to merge 1 commit into
chenhg5:mainfrom
AaronZ345:fix/background-session-list-20260806

Conversation

@AaronZ345

Copy link
Copy Markdown
Contributor

Summary

  • Mark cron/timer new_per_run sessions as background sessions.
  • Hide scheduler background agent sessions from normal /list, /switch, and /delete filtering by default, including current and past agent session IDs.
  • Add a compatibility opt-out via core.hide_scheduler_sessions = false, plus config docs, changelog, and tests.

Fixes #1077.

Tests

  • go test ./core
  • go test -tags no_web ./cmd/cc-connect

Supersedes #1417. This is the same rebased patch on a fresh PR branch, including the requested compatibility opt-out.

Supersedes #1497. This fresh replacement carries the same patch rebased onto the latest main after the original PR exceeded 30 days.

@AaronZ345
AaronZ345 requested a review from chenhg5 as a code owner August 6, 2026 14:44
@AaronZ345
AaronZ345 force-pushed the fix/background-session-list-20260806 branch from 2c403e2 to 929bcc5 Compare August 7, 2026 14:41
@AaronZ345
AaronZ345 force-pushed the fix/background-session-list-20260806 branch from 929bcc5 to 596b07d Compare August 13, 2026 14:44
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.

[Bug] new_per_run cron sessions remain visible in /list after completion

1 participant