Migration/queue params
[!IMPORTANT] This pull request adds new database tables for job parameters, refactors job handling code, and introduces macros for database query fallbacks.
- Database Migrations:
- Add
job_params,job_args, andcompleted_jobs_resulttables with corresponding up and down SQL scripts.- Modify
job_paramstable to includeworkspace_idand removeargscolumn.- Add
tagcolumn tojob_paramstable.- Code Refactoring:
- Update
monitor.rsto handle job cancellation with new parameters.- Refactor
inputs.rsto usequery_scalar_with_fallback!for fetching job arguments.- Modify
jobs.rsto handle job cancellation and result storage incompleted_jobs_result.- Refactor
worker_flow.rsto usefetch_one_with_fallback!andfetch_optional_with_fallback!macros for database queries.- Macros and Utilities:
- Add
macros.rswithfetch_one_with_fallback!andfetch_optional_with_fallback!macros for database query fallbacks.- Implement
FlowStatusGetterandFlowValueGettertraits inflow_status.rsandflows.rs.- Miscellaneous:
- Add
const_formatdependency inCargo.tomlfor string formatting in macros.- Update
.gitignoreto include!build/.gitkeep.This description was created by
for 6411de2489fd3d6ddbde24aac6438f85a78ebea9. It will automatically update as commits are pushed.
CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
I have read the CLA Document and I hereby sign the CLA
0 out of 2 committers have signed the CLA.
:x: @yacine Bouraroui
:x: @yacineb
yacine Bouraroui seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request
subsumed by 4625