ci: add python package build test

* We now test a package build on every PRs.
* Add precommit rule to validate the presence of __init__.py in
  directoies that contain python files

Closes: https://github.com/meta-llama/llama-stack/issues/2406
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2025-06-17 16:14:20 +02:00
parent 6039d922c0
commit ba7e95e035
No known key found for this signature in database
13 changed files with 144 additions and 1 deletions

View file

@ -289,7 +289,7 @@ class VectorIORouter(VectorIO):
continue
health = await asyncio.wait_for(impl.health(), timeout=timeout)
health_statuses[provider_id] = health
except (asyncio.TimeoutError, TimeoutError):
except TimeoutError:
health_statuses[provider_id] = HealthResponse(
status=HealthStatus.ERROR,
message=f"Health check timed out after {timeout} seconds",