Skip to content

feat(cron): support per-job auto approval - #2444

Closed
embrace897 wants to merge 1 commit into
TencentCloud:developfrom
embrace897:codex/issue-2416-cron-auto-approve
Closed

embrace897 wants to merge 1 commit into
TencentCloud:developfrom
embrace897:codex/issue-2416-cron-auto-approve

Conversation

@embrace897

@embrace897 embrace897 commented Oct 27, 2026 •

Copy link
Copy Markdown

Summary

  • Add a per-job auto-approval option for scheduled agent tasks.
  • Persist the setting through the database, API, and Dashboard form.
  • Automatically resume approvable tool requests only during the current scheduled run.
  • Keep ask_user_question blocked so jobs still pause when user input is required.
  • Add migration, API, delivery, and job regression coverage.

Fixes #2416.

Target branch

  • Base is develop
  • Base is main

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactor / chore
  • Release / hotfix

Test plan

  • Cron unit and API tests — 157 passed

  • ruff check — passed

  • Dashboard TypeScript build — passed

  • Prettier check — passed

  • git diff --check — passed

  • make all passes locally

  • Added/updated tests

Checklist

  • Updated CHANGELOG.md
  • README / docs updated (not needed)

@embrace897

Copy link
Copy Markdown
Author

Closing this PR because the current develop branch implements the one-run approval bypass through #3047. Keeping this earlier implementation would duplicate the upstream behavior. This PR was not merged.

@embrace897 embrace897 closed this Nov 25, 2026
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