Skip to content

Add scheduled tasks UI polish#354

Draft
jromualdez-scale wants to merge 5 commits into
mainfrom
jerome/scheduled-tasks-ui
Draft

Add scheduled tasks UI polish#354
jromualdez-scale wants to merge 5 commits into
mainfrom
jerome/scheduled-tasks-ui

Conversation

@jromualdez-scale

Copy link
Copy Markdown
Contributor

Summary

  • Add and polish the scheduled tasks UI, including agent scoping, Upcoming and All Schedules views, run-now confirmation, active toggles, skipped occurrence display, and task-sidebar scheduled-run labels.
  • Extend schedule APIs with task-backed run counts plus exact skip/unskip support for future scheduled occurrences.
  • Keep generated OpenAPI and focused schedule tests in sync with the new schedule response/action shape.

Test plan

  • npm --prefix agentex-ui run lint:all
  • npm --prefix agentex-ui run typecheck
  • npm --prefix agentex-ui run test:run -- lib/schedule-utils.test.ts
  • uv run ruff check src/api/schemas/agent_run_schedules.py src/adapters/temporal/port.py src/adapters/temporal/adapter_temporal.py src/domain/services/agent_run_schedule_service.py src/domain/use_cases/agent_run_schedules_use_case.py src/api/routes/agent_run_schedules.py tests/unit/services/test_agent_run_schedule_service.py tests/unit/api/test_agent_run_schedules_authz.py
  • uv run python -m py_compile src/api/schemas/agent_run_schedules.py src/adapters/temporal/port.py src/adapters/temporal/adapter_temporal.py src/domain/services/agent_run_schedule_service.py src/domain/use_cases/agent_run_schedules_use_case.py src/api/routes/agent_run_schedules.py tests/unit/services/test_agent_run_schedule_service.py tests/unit/api/test_agent_run_schedules_authz.py

Note: focused backend pytest is blocked locally by missing testcontainers.

Made with Cursor

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

✱ Stainless preview builds

This PR will update the agentex-sdk SDKs with the following commit messages.

openapi

feat(api): add skip/unskip/by-name methods, response fields to schedules

python

feat: Add scheduled tasks UI polish

typescript

feat(api): add num_tasks_created and skipped_action_times fields to schedules

Edit this comment to update them. They will appear in their respective SDK's changelogs.

agentex-sdk-openapi studio · code · diff

Your SDK build had at least one new note diagnostic, which is a regression from the base state.
generate ❗

New diagnostics (2 note)
💡 Endpoint/NotConfigured: Skipped endpoint because it's not in your Stainless config: `post /agents/{agent_id}/schedules/{schedule_id}/skip`
💡 Endpoint/NotConfigured: Skipped endpoint because it's not in your Stainless config: `post /agents/{agent_id}/schedules/{schedule_id}/unskip`
agentex-sdk-typescript studio · code · diff

Your SDK build had at least one new note diagnostic, which is a regression from the base state.
generate ❗build ✅lint ✅test ✅

npm install https://pkg.stainless.com/s/agentex-sdk-typescript/8cb79bd084af03a986befc8095d4a943d2c5301f/dist.tar.gz
New diagnostics (2 note)
💡 Endpoint/NotConfigured: Skipped endpoint because it's not in your Stainless config: `post /agents/{agent_id}/schedules/{schedule_id}/skip`
💡 Endpoint/NotConfigured: Skipped endpoint because it's not in your Stainless config: `post /agents/{agent_id}/schedules/{schedule_id}/unskip`
agentex-sdk-python studio · conflict

Your SDK build had at least one new note diagnostic, which is a regression from the base state.

New diagnostics (2 note)
💡 Endpoint/NotConfigured: Skipped endpoint because it's not in your Stainless config: `post /agents/{agent_id}/schedules/{schedule_id}/skip`
💡 Endpoint/NotConfigured: Skipped endpoint because it's not in your Stainless config: `post /agents/{agent_id}/schedules/{schedule_id}/unskip`

This comment is auto-generated by GitHub Actions and is automatically kept up to date as you push.
If you push custom code to the preview branch, re-run this workflow to update the comment.
Last updated: 2026-07-09 17:13:15 UTC

@jromualdez-scale jromualdez-scale force-pushed the jerome/scheduled-tasks-ui branch from d1e5a42 to 8445f04 Compare July 9, 2026 15:49
jromualdez-scale and others added 5 commits July 9, 2026 13:04
Co-authored-by: Cursor <cursoragent@cursor.com>
Expose task-backed run counts and exact skip/unskip operations so schedule clients can reason about individual future occurrences.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add agent scoping, upcoming occurrence timelines, active toggles, run-now confirmation, and skipped occurrence controls to the scheduled tasks page.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use schedule metadata for scheduled-run task labels and add a calendar indicator so recurring runs are easier to recognize.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use the schedule name as the task display label and keep occurrence timing in metadata for views that need it.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jromualdez-scale jromualdez-scale force-pushed the jerome/scheduled-tasks-ui branch from 8445f04 to 0673c3d Compare July 9, 2026 17:05
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