SteveJobs icon indicating copy to clipboard operation
SteveJobs copied to clipboard

Async migration

Open harryadel opened this issue 1 year ago • 20 comments

In progress... Gonna wrap things up in a couple of days :crossed_fingers: I'm trying now to get the tests to pass flawlessly.

harryadel avatar Feb 06 '24 14:02 harryadel

Hey looks great so far! Thanks for the effort.

Are you planning to fork or looking to merge?

msavin avatar Feb 17 '24 16:02 msavin

To merge of course! It's just I've not heard from you ever since I started this PR and I wanted to take it for a test run. Please review and if it's all good let's do a beta release and see how it goes from there. I'll rename it back after we conduct code review then do the beta.

harryadel avatar Feb 17 '24 19:02 harryadel

@harryadel Sweet I'll test this out soon - is it all ready or is there more to do?

msavin avatar Mar 01 '24 15:03 msavin

@msavin AFAIK, this is ready. At our application we only use it twice to run very simple jobs. That's why there might be a few bugs lingering here or there so I need others to give it a test run.

harryadel avatar Mar 02 '24 09:03 harryadel

I will be take this PR for a test run soon.

StorytellerCZ avatar Mar 08 '24 09:03 StorytellerCZ

First to say thank you all for all the effort in migrating this amazing package! I just wonder if there's any progress with testing and merging, would really like to see it available for Meteor 3!

bomb-on avatar Jul 23 '24 11:07 bomb-on

hi @harryadel, I've been using your fork in a Meteor 3.0 project and I have some warnings in server console :

TypeError: Promise.await is not a function at process (packages/harry97:sjobs/server/imports/actions/execute/process.js:15:29) at execute (packages/harry97:sjobs/server/imports/actions/execute/index.js:12:25) at processTicksAndRejections (node:internal/process/task_queues:95:5)

Is this misconfiguration on my side ?

(to be specific, I use @StorytellerCZ version ! so I'm also tagging him here ;) ! https://github.com/StorytellerCZ/SteveJobs/commit/96ad8642e81b6c32d7bf0fbd837f2ae49fc77d4a)

vparpoil avatar Jul 24 '24 11:07 vparpoil

hi @harryadel, I've been using your fork in a Meteor 3.0 project and I have some warnings in server console :

TypeError: Promise.await is not a function at process (packages/harry97:sjobs/server/imports/actions/execute/process.js:15:29) at execute (packages/harry97:sjobs/server/imports/actions/execute/index.js:12:25) at processTicksAndRejections (node:internal/process/task_queues:95:5)

Is this misconfiguration on my side ?

(to be specific, I use @StorytellerCZ version ! so I'm also tagging him here ;) ! StorytellerCZ@96ad864)

Did you checkout feature/async branch? I just tried to use it as a local package – cloned StorytellerCZ version, checked out feature/async branch, copied to myproject/packages directory, installed with meteor add msavin:sjobs and tried to schedule a simple job. No errors so far. :)

bomb-on avatar Jul 24 '24 16:07 bomb-on

My bad ! I did indeed cloned Storyteller version but I had harry97:sjobs in my package file 🤦 Seems to work like a charm now !

vparpoil avatar Jul 24 '24 17:07 vparpoil

OK, I'll get on Harry to merge my changes so that we can then merge this here.

StorytellerCZ avatar Jul 25 '24 06:07 StorytellerCZ

@vparpoil @StorytellerCZ I just merged in your contributions guys, thank you for your amazing efforts. I've been busy the last week and couldn't free up time to OSS.

harryadel avatar Jul 30 '24 09:07 harryadel

What's the current status on this?

harryadel avatar Aug 22 '24 11:08 harryadel

@msavin I think we can publish a beta or rc with this. I'm using this in production without issues.

StorytellerCZ avatar Aug 23 '24 09:08 StorytellerCZ