Skip to content

hydra-eval-jobset: Fetch plugin inputs and declarative specs out of process - #1942

Open
Ericson2314 wants to merge 1 commit into
masterfrom
split-perl-prep
Open

Ericson2314 wants to merge 1 commit into
masterfrom
split-perl-prep

Conversation

@Ericson2314

@Ericson2314 Ericson2314 commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Two parts of hydra-eval-jobset become programs of their own, which it
now runs:

  • hydra-fetch-input fetches inputs of plugin-provided types, one
    request at a time over JSON on standard streams, with one worker for
    the whole run.

  • hydra-prepare-declarative-jobset fetches a declarative project's
    specification and applies it, either creating the jobsets it names or
    reconfiguring .jobsets.

These are the two parts that must stay Perl: input plugins are written
in Perl, and the declarative helpers are shared with hydra-notify's
DeclarativeJobsets plugin. Moving them out first means replacing the
rest of hydra-eval-jobset doesn't also have to move them. Behaviour is
unchanged, and hydra-eval-jobset no longer loads plugins itself.

…rocess

Two parts of `hydra-eval-jobset` become programs of their own, which it
now runs:

- `hydra-fetch-input` fetches inputs of plugin-provided types, one
  request at a time over JSON on standard streams, with one worker for
  the whole run.

- `hydra-prepare-declarative-jobset` fetches a declarative project's
  specification and applies it, either creating the jobsets it names or
  reconfiguring `.jobsets`.

These are the two parts that must stay Perl: input plugins are written
in Perl, and the declarative helpers are shared with `hydra-notify`'s
`DeclarativeJobsets` plugin. Moving them out first means replacing the
rest of `hydra-eval-jobset` doesn't also have to move them. Behaviour is
unchanged, and `hydra-eval-jobset` no longer loads plugins itself.
@Ericson2314
Ericson2314 marked this pull request as ready for review September 26, 2026 17:43

This branch has not been deployed

No deployments
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