Skip to content

ui: Add support to package configuration providers to ORT run create form#5333

Merged
Etsija merged 2 commits into
mainfrom
pkg-config-providers
Jun 24, 2026
Merged

ui: Add support to package configuration providers to ORT run create form#5333
Etsija merged 2 commits into
mainfrom
pkg-config-providers

Conversation

@Etsija

@Etsija Etsija commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

As requested, the reporter section is only rendered, when evaluator job is disabled. As with package curation providers, order of the package configuration providers matter, so drag-and-drop is supported and its behavior is similar to #5295.

Screenshot from 2026-06-23 05-56-14 Screenshot from 2026-06-23 05-56-37

@Etsija Etsija linked an issue Jun 22, 2026 that may be closed by this pull request
@Etsija Etsija enabled auto-merge June 22, 2026 12:12
@sschuberth

This comment was marked as resolved.

@Etsija

This comment was marked as resolved.

@Etsija Etsija force-pushed the pkg-config-providers branch from cb1ce77 to d93f50c Compare June 22, 2026 14:25
@Etsija Etsija marked this pull request as draft June 22, 2026 14:30
auto-merge was automatically disabled June 22, 2026 14:30

Pull request was converted to draft

@Etsija Etsija force-pushed the pkg-config-providers branch from d93f50c to 76d262e Compare June 23, 2026 03:03
@Etsija Etsija marked this pull request as ready for review June 23, 2026 03:03
@Etsija Etsija enabled auto-merge June 23, 2026 03:04
@Etsija Etsija force-pushed the pkg-config-providers branch from 76d262e to 8437cb9 Compare June 23, 2026 13:37
Etsija added 2 commits June 23, 2026 16:40
Add package configuration provider fields to the create-run form schema,
default values, rerun restoration, validation, and payload conversion.

Selected providers are submitted via
`jobConfigs.evaluator.packageConfigurationProviders`, or via
`jobConfigs.reporter.packageConfigurationProviders` when the evaluator job
is disabled.

Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.io>
Show package configuration provider fields in the create-run evaluator and
reporter settings. Hide the reporter field when the evaluator is
enabled because the backend uses the evaluator providers in that case.

As for analyzer / package curation providers, order of the package
configuration providers matters, so use the same drag-and-drop logic here.

Note that as the package configuration providers are added, the
`isSuperuser` guard is only applied to the "Keep worker alive" part of the
evaluator configuration.

Resolves #5238.

Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.io>
@Etsija Etsija force-pushed the pkg-config-providers branch from 8437cb9 to 3b1eb87 Compare June 23, 2026 13:41
@Etsija Etsija requested a review from sschuberth June 23, 2026 13:43
@mnonnenmacher

Copy link
Copy Markdown
Contributor

As requested, the reporter section is only rendered, when evaluator job is disabled.

This could also be confusing to users in some situations. For example, if they configure the package configuration providers in the reporter job and then enable the evaluator job, will the configuration they made before just disappear? An alternative could be to keep the section in both jobs and automatically sync the content. However, we have to start somewhere, so to me it would be fine to keep the current approach and then iterate on that later if necessary.

@Etsija

Etsija commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

As requested, the reporter section is only rendered, when evaluator job is disabled.

This could also be confusing to users in some situations. For example, if they configure the package configuration providers in the reporter job and then enable the evaluator job, will the configuration they made before just disappear? An alternative could be to keep the section in both jobs and automatically sync the content. However, we have to start somewhere, so to me it would be fine to keep the current approach and then iterate on that later if necessary.

I'm fine with keeping the current approach and collect user experience, then change later if it proves useful.

@Etsija Etsija added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit 6eec774 Jun 24, 2026
35 checks passed
@Etsija Etsija deleted the pkg-config-providers branch June 24, 2026 08:41
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.

Add support to configure package configuration providers

3 participants