Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standardize long-running/batch processes #23

Open
2 of 3 tasks
eaton opened this issue Nov 21, 2022 · 1 comment
Open
2 of 3 tasks

Standardize long-running/batch processes #23

eaton opened this issue Nov 21, 2022 · 1 comment

Comments

@eaton
Copy link
Contributor

eaton commented Nov 21, 2022

We do long-running processes quite frequently. The standout examples right now are Spider.run(), URLHierarchy building, and any of the VerticeWorker implementations. Standardizing these operations would be a big improvement for the general dev experience.

  • Standardize ongoing updates around the JobStatus interface
  • Use a CancellablePromise — or provide a cancel reference in the status object?
  • Add interactive and verbose status updates to SpiderCommand (eliminating a bunch of boilerplate code for long-running processes)
@eaton
Copy link
Contributor Author

eaton commented Dec 2, 2022

The 0.6.0 release covered some of these, but things like the --verbose flag are manually coded into each CLI command rather than handled uniformly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant