Skip to content

kernelci: api: models: add new "process" node type #2948

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented Aug 20, 2025

Post-processing jobs are currently nodes of the job kind, which only works as long as they're related to checkout or kbuild nodes. However, due to performance issues of the coverage-report jobs, we need to post-process each coverage-enabled test job individually.

This leads to scheduling issues, as we could enter an infinite loop where new post-processing jobs would be triggered whenever one of those transitions to the done state.

We must therefore create a new node kind for post-processing jobs in order to avoid those scheduler limitations.

Post-processing jobs are currently nodes of the `job` kind, which only
works as long as they're related to `checkout` or `kbuild` nodes.
However, due to performance issues of the `coverage-report` jobs, we
need to post-process each coverage-enabled test job individually.

This leads to scheduling issues, as we could enter an infinite loop
where new post-processing jobs would be triggered whenever one of those
transitions to the `done` state.

We must therefore create a new node kind for post-processing jobs in
order to avoid those scheduler limitations.

Signed-off-by: Arnaud Ferraris <[email protected]>
@a-wai
Copy link
Contributor Author

a-wai commented Aug 22, 2025

Works fine on staging (example node)

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

Successfully merging this pull request may close these issues.

1 participant