Skip to content

fix(registry): function names are canonical slugs — worker matches tensorhub dispatch vocabulary#46

Merged
PaulFidika merged 1 commit into
masterfrom
fix/registry-slug-names
Jul 4, 2026
Merged

fix(registry): function names are canonical slugs — worker matches tensorhub dispatch vocabulary#46
PaulFidika merged 1 commit into
masterfrom
fix/registry-slug-names

Conversation

@PaulFidika

Copy link
Copy Markdown
Contributor

The platform's canonical function name is the slug (tensorhub
builder.NormalizeSlug, '_' -> '-'; the discovery manifest already
publishes it), but the runtime registry keyed specs by the raw python
attr name — so the orchestrator's RunJob.function_name ('marco-polo')
never matched the worker's advertised available_functions
('marco_polo') and every dispatch would come back INVALID. Slugify once
at spec extraction; the CLI accepts either spelling by slugifying
lookups. Found by e2e #100 S1 (first live contact of the two protocol
v2 implementations).

…nsorhub dispatch vocabulary

The platform's canonical function name is the slug (tensorhub
builder.NormalizeSlug, '_' -> '-'; the discovery manifest already
publishes it), but the runtime registry keyed specs by the raw python
attr name — so the orchestrator's RunJob.function_name ('marco-polo')
never matched the worker's advertised available_functions
('marco_polo') and every dispatch would come back INVALID. Slugify once
at spec extraction; the CLI accepts either spelling by slugifying
lookups. Found by e2e #100 S1 (first live contact of the two protocol
v2 implementations).
@PaulFidika PaulFidika merged commit 48349ab into master Jul 4, 2026
1 check passed
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