Closed adamkewley closed 5 years ago
Addition to the v2 bucket list:
job-id
) has 1-n attempt IDs, which allows a single job to have multiple attempts. Some prod deployments with jobson1 use flakey connections, clusters, etc. which are failure prone. However, this can't be patched into jobson1 without either hacking the stdout/stderr outputs or breaking the API (to support attempts)This roadmap has been dropped because it's now actual 1.0.0
crunch time, so I can actually write what 1.0.0 will have, rather than what I'd like it to have in 12 months time. Closed because this is stale.
The aim of 1.0 is to deliver a stable system that covers most use-cases.
jobson-1.0.0 roadmap:
OAuth & stateless JWT authentication support:
Authorization:
System-wide execution hooks:
before-running-job
) would prevent a job from running if the exit code from the executable is nonzeroStateless HTTP and Websocket API:
JobManager
as job execution occurs. Another server in the cluster cannot view these events. Therefore, the Websocket API will break when put behind a load balancer unless "sticky" load balancing is done. This pushes complexity up to the sysadmins/devops guys, which is non-ideal.Job system tests:
tests/
ortests.yml
test suite inside their job folder.tar
file with a size greater than 10 MiB")jobson test
CLI command will be implemented to run the test suites, returning a non-zero exit code if a suite failsUnified output API:
stdout
andstderr
are treated as special cases of a job output and have their own API entry points (e.g./v1/jobs/{job-id}/stderr
)Remove language-dependant features:
HTTP API Improvements:
timestamps
should be removed from job details and placed into a separate API entrypoint (e.g./v1/jobs/{job-id}/timestamps
/v1/jobs
and/v1/jobs/{job-id}
should containstatus
(currently: downstream devs trawltimestamps
, which is a PITA)Documentation:
jobson-2.0.0 wishlist:
The ideas I have for 2.0 are going to be much more complex to implement. They require that 1.0 is:
Features
User-defined input data types:
Job distribution:
Job composition:
Resource management: