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

Allow to automatically re-run jobs based on a schedule / event trigger #1687

Open
sschuberth opened this issue Dec 20, 2024 · 4 comments
Open
Labels
backend Issues related to the backend. enhancement New feature or request.

Comments

@sschuberth
Copy link
Contributor

There are several reason why one would want to re-run jobs on a regular basis, even on the same repository revision:

  • non-pinned dependencies might change dynamically
  • new security vulnerabilities may have been discovered
  • check against regressions in new ORT / Server releases

The above could be fulfilled by a cron-like definition of job schedules (and notifications for run results, but that's a bit of a different topic).

More generally, we probably need a concept or "run triggers", where time-based triggers are just one implementation. Other triggers could be

  • new commits / tags in a repository
  • some external event like a message in a Slack / Matrix channel
@sschuberth sschuberth added enhancement New feature or request. backend Issues related to the backend. labels Dec 20, 2024
@sschuberth sschuberth changed the title Allow to automatically re-run jobs based on a schedule Allow to automatically re-run jobs based on a schedule / event trigger Dec 20, 2024
@sschuberth
Copy link
Contributor Author

sschuberth commented Dec 20, 2024

This might relate a bit to the discussion at #1560.

@mnonnenmacher
Copy link
Contributor

We discussed this idea a few times internally and the conclusion was always that all CI environments allow scheduling jobs, so users can easily schedule this on their side. However, the basis for this was the assumption that users integrate the compliance checks into their build pipelines.

@sschuberth
Copy link
Contributor Author

However, the basis for this was the assumption that users integrate the compliance checks into their build pipelines.

Yeah, that's probably not the case for a significant number of our users. Also, it would be more efficient to really only re-run the advisor to get up-to-date vulnerability information for unchanged code.

@mnonnenmacher
Copy link
Contributor

mnonnenmacher commented Dec 20, 2024

However, the basis for this was the assumption that users integrate the compliance checks into their build pipelines.

Yeah, that's probably not the case for a significant number of our users.

For us it's the opposite, that's why we have not considered implementing this feature.
If that feature is important to you, it would be good to add a comment to #1560.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to the backend. enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants