Skip to content

feat(agent-task): add workflow scheduling - #2911

Merged
RemiBonnet merged 3 commits into
stagingfrom
feat/agent-task-schedule
Aug 27, 2026
Merged

feat(agent-task): add workflow scheduling#2911
RemiBonnet merged 3 commits into
stagingfrom
feat/agent-task-schedule

Conversation

@RemiBonnet

@RemiBonnet RemiBonnet commented Aug 27, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds an optional Schedule step to the Agent Task creation flow
  • Supports five-field cron expressions and searchable timezone selection
  • Includes the schedule in the creation summary and API payload
  • Adds schedule controls to Agent Task General settings, including the next run when available
  • Preserves the current schedule when saving any settings page
  • Updates qovery-typescript-axios to 1.1.962 for the generated schedule contract

Screenshots / Recordings

Screenshot 2026-08-27 at 15 47 25

Testing

  • Changes tested locally in the relevant Console's pages and Storybooks
  • Targeted Jest suites (25 tests)
  • Targeted Prettier formatting
  • Targeted ESLint checks
  • TypeScript checks for the Services and Service Settings feature libraries

Note: the Nx test command could not start its plugin worker locally. The same affected test suites pass when run directly with their Jest project configurations.

PR Checklist

  • I followed naming, styling, and TypeScript rules (see .cursor/rules)
  • I performed a self-review (diff inspected, dead code removed)
  • I titled the PR using Conventional Commits with a scope when possible (e.g. feat(service): add new Terraform service) - required for semantic-release
  • I only kept necessary comments, written in English (watch for useless AI comments)
  • I involved a designer to validate UI changes if I am not a designer
  • I covered new business logic with tests (unit)
  • I confirmed CI is green (Codecov red can be accepted)
  • I reviewed and executed locally any AI-assisted code

Summary by cubic

Adds optional scheduling to Agent Task workflows so users can set a cron expression and timezone for automatic runs, in addition to webhook triggers.

  • Schedule fields live in the service information section of the creation flow, which validates cron expressions and offers a searchable timezone field.
  • General settings include schedule controls; the next run time shows only while the schedule still matches the saved value.
  • The schedule is included in the API payload only when enabled and is preserved when saving any settings page.
  • Updates qovery-typescript-axios to 1.1.962 for the generated schedule contract.

Written for commit 3fe443b. Summary will update on new commits.

Review in cubic

@nx-cloud

nx-cloud Bot commented Aug 27, 2026

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 3fe443b

Command Status Duration Result
nx run console:build --parallel=3 --configurati... ✅ Succeeded 1m 23s View ↗
nx affected --target=test --parallel=3 --config... ✅ Succeeded 2m 28s View ↗
nx affected --target=lint --parallel=3 ✅ Succeeded 2m 32s View ↗
nx-cloud record -- yarn nx format:check ✅ Succeeded 6s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-08-27 13:50:29 UTC

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 11 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 68.96552% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.52%. Comparing base (4064d1c) to head (3fe443b).

Files with missing lines Patch % Lines
...ntic-workflow/agentic-workflow-schedule-fields.tsx 66.66% 2 Missing and 2 partials ⚠️
...ic-workflow-settings/agentic-workflow-settings.tsx 75.00% 0 Missing and 3 partials ⚠️
...w-configuration/agentic-workflow-configuration.tsx 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #2911      +/-   ##
===========================================
+ Coverage    46.70%   48.52%   +1.82%     
===========================================
  Files          507     1300     +793     
  Lines        13749    28045   +14296     
  Branches      4184     8193    +4009     
===========================================
+ Hits          6421    13608    +7187     
- Misses        6203    12140    +5937     
- Partials      1125     2297    +1172     
Flag Coverage Δ
unittests 48.52% <68.96%> (+1.82%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@RemiBonnet
RemiBonnet merged commit 154489f into staging Aug 27, 2026
12 checks passed
@RemiBonnet
RemiBonnet deleted the feat/agent-task-schedule branch August 27, 2026 14:52
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