robur-coop / builder

Scheduling build jobs on regular intervals, collecting artifacts
ISC License
12 stars 1 forks source link

reschedule has strange semantics #44

Open hannesm opened 6 months ago

hannesm commented 6 months ago

I had a job schedule (on 2nd june, 20:13:00):

schedule:
name solo5, opam solo5-tenders next 2024-06-03T19:55:26-00:00, scheduled daily

I thought it would be nice to schedule it a bit later:

$ builder-client reschedule solo5 2024-06-03T20:00:00Z

This resulted in:

schedule:
name solo5, opam solo5-tenders next 2024-06-04T20:00:00-00:00, scheduled daily
running:
name solo5 on freebsd-14,0636582f-9fec-4ca5-81bc-178f6c8638b4,
2024-06-02T20:13:23-00:00

So, the job was then scheduled to the 4th of June, and an execution was triggered. I expected that there would be no execution being done, and the schedule time would be adjusted.

hannesm commented 1 month ago

I ran into this today again.