Skip to content

Conversation

@Igoranze
Copy link
Contributor

Adding CRUD api calls for scheduler, as mentioned here:
#1104

@Igoranze Igoranze marked this pull request as draft November 18, 2025 12:37
@sentry
Copy link

sentry bot commented Nov 18, 2025

Codecov Report

❌ Patch coverage is 47.24409% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.00%. Comparing base (4fc42f4) to head (1d399d3).

Files with missing lines Patch % Lines
orchestrator/schedules/service.py 38.35% 45 Missing ⚠️
orchestrator/cli/scheduler.py 29.41% 12 Missing ⚠️
orchestrator/api/api_v1/endpoints/schedules.py 55.00% 9 Missing ⚠️
orchestrator/search/agent/tools.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1214      +/-   ##
==========================================
- Coverage   79.29%   79.00%   -0.30%     
==========================================
  Files         273      276       +3     
  Lines       13347    13471     +124     
  Branches     1312     1318       +6     
==========================================
+ Hits        10584    10643      +59     
- Misses       2482     2547      +65     
  Partials      281      281              

☔ View full report in Codecov by Sentry.
📢 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.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 18, 2025

CodSpeed Performance Report

Merging #1214 will not alter performance

Comparing crud-api-schedules (1d399d3) with main (4fc42f4)

Summary

✅ 13 untouched

Comment on lines 809 to 810
# NOTE: Cannot use standard APScheduler job ID here because the table might not exist on migration
# Deleting on cascade happens on event based apscheduler job removal
Copy link
Contributor

Choose a reason for hiding this comment

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

The apscheduler_jobs table is created in the migration before workflows_apscheduler_jobs is created, so isn't it always there?

if (
not payload.trigger or
not payload.process_name or
not payload.name or
Copy link
Contributor

Choose a reason for hiding this comment

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

Can't name default to the workflow name?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

what do you mean?
You need to provide these variables in order to create/update/delete, or am i missing something?

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.

3 participants