Skip to content

Conversation

@Nihlus
Copy link
Contributor

@Nihlus Nihlus commented Nov 2, 2025

This PR adds support for tagging workers with arbitrary tags and filtering jobs that are dispatched to them. Each worker can have between 0 to N tags, and each tag can be associated with 0 to N tag rules.

A tag rule acts as a gatekeeper for rebuild jobs, preventing any jobs that do not match the name pattern and the optional version pattern from being picked up by the worker. In the proposed implementation, this means that a tagged worker will not pick up any untagged jobs.

Untagged workers exclusively pick up jobs that do not match any tag rules.

Tags and tag rules can be managed via the REST API or rebuildctl.

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