feat(ecosystem): adopt hub-core dependency and CI pin gate (CORE-WP-0009)
Some checks failed
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / pytest-smoke (push) Failing after 2s
Build and Publish Container Image / build-and-push (push) Failing after 1m51s

Import slugify_or_default from hub-core, add contract tests, vendor hub-core in
Docker/Forgejo CI, document metadata isolation and pagination deferral, and
align INTENT/SCOPE with three-repo stack.
This commit is contained in:
tegwick 2026-07-11 01:26:53 +02:00
parent 564830c4aa
commit 0709262ffd
21 changed files with 1082 additions and 55 deletions

View file

@ -0,0 +1,14 @@
"""Prove hub-core is a pinned, importable consolidation dependency."""
from hub_core.utils.slugs import slugify_or_default
import hub_core
def test_hub_core_version_is_pinned() -> None:
assert hub_core.__version__ == "0.2.0"
def test_slugify_or_default_available_for_api_v2() -> None:
assert slugify_or_default("ops-hub") == "ops-hub"
assert slugify_or_default("!!!") == "resource"