Skip to content

Implement support for worker tags - #198

Open
Nihlus wants to merge 8 commits into
kpcyrd:mainfrom
Nihlus:worker-tags
Open

Implement support for worker tags#198
Nihlus wants to merge 8 commits into
kpcyrd:mainfrom
Nihlus:worker-tags

Conversation

@Nihlus

@Nihlus Nihlus commented Nov 2, 2025

Copy link
Copy Markdown
Contributor

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.

@h01ger

h01ger commented Jan 7, 2026

Copy link
Copy Markdown
Contributor

note for my future self: riscv64-(33|34) are the fast ones, the others are slow.

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.

2 participants