Skip to content

Regenerate clients for gateway 0.6.0 (entity lifecycle status) - #23

Merged
bburda merged 1 commit into
mainfrom
feat/uplift-gateway-0.6.0
Jun 24, 2026
Merged

Regenerate clients for gateway 0.6.0 (entity lifecycle status)#23
bburda merged 1 commit into
mainfrom
feat/uplift-gateway-0.6.0

Conversation

@bburda

@bburda bburda commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Regenerate the Python and TypeScript clients against the gateway 0.6.0 OpenAPI spec. The 0.5.0 -> 0.6.0 change is additive: the new entity lifecycle status API (read status and start / restart / force-restart / shutdown / force-shutdown for apps and components), a new LifecycleStatusResponse schema, and a status field on AppDetail / ComponentDetail. Bumps SPEC_VERSION and both packages to 0.6.0, and adds a curated ros2_medkit_client.api.lifecycle re-export module.


Issue


Type

  • Bug fix
  • New feature or tests
  • Breaking change
  • Documentation only

Testing

  • Python: pytest 90 passed; ruff check clean; wheel builds and ships the lifecycle operations.
  • TypeScript: tsc build + tsc --noEmit typecheck clean; eslint clean; vitest 54 passed; regenerated schema.d.ts includes the /apps/{app_id}/status* and /components/{component_id}/status* paths.

Checklist

  • Breaking changes are clearly described (none - additive change only)
  • Tests were added or updated if needed (existing suites pass unchanged)
  • Docs were updated if behavior or public API changed (curated api/lifecycle.py added)

Bump SPEC_VERSION and the Python/TypeScript packages to 0.6.0 and surface
the new entity lifecycle status API (read status and start/restart/
force-restart/shutdown/force-shutdown for apps and components). The
0.5.0->0.6.0 client surface change is additive: AppDetail and
ComponentDetail gain a status field. Adds a curated lifecycle re-export
module for the Python client and ignores the _generated build symlink.
Copilot AI review requested due to automatic review settings June 24, 2026 20:07
@bburda
bburda merged commit d08b711 into main Jun 24, 2026
7 checks passed
@bburda
bburda deleted the feat/uplift-gateway-0.6.0 branch June 24, 2026 20:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s mirrored OpenAPI spec and curated client surfaces to match gateway 0.6.0, adding lifecycle status/control endpoints and associated schema changes while bumping both Python and TypeScript package versions to 0.6.0.

Changes:

  • Bump OpenAPI/spec and both client package versions from 0.5.0 → 0.6.0.
  • Extend the OpenAPI spec with lifecycle status/control endpoints and the LifecycleStatusResponse schema (plus new query filters for logs/faults/updates).
  • Add a curated Python re-export module ros2_medkit_client.api.lifecycle and ignore the _generated package path in git.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
spec/openapi.yaml Updates OpenAPI spec to 0.6.0 with lifecycle endpoints/schema and other additive query params; adjusts server URL example and tags.
SPEC_VERSION Bumps tracked spec version to 0.6.0.
clients/typescript/package.json Bumps TS package version to 0.6.0.
clients/python/src/ros2_medkit_client/api/lifecycle.py Adds curated lifecycle API re-exports from generated client.
clients/python/pyproject.toml Bumps Python package version to 0.6.0.
.gitignore Ignores the Python _generated symlink/dir path under src/.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread spec/openapi.yaml
Comment on lines 100 to 105
required:
- id
- name
- type
- status
- data
Comment thread spec/openapi.yaml
Comment on lines 471 to 476
required:
- id
- name
- type
- status
- data
Comment thread spec/openapi.yaml
Comment on lines +4277 to +4280
/apps/{app_id}/status:
get:
operationId: getAppsStatus
parameters:
Comment thread spec/openapi.yaml
Comment on lines +7822 to +7825
/components/{component_id}/status:
get:
operationId: getComponentsStatus
parameters:
Comment thread spec/openapi.yaml
Comment on lines 10024 to +10026
servers:
- description: Gateway server
url: http://localhost:8080/api/v1
url: http://127.0.0.1:8080/api/v1
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.

Regenerate clients for gateway 0.6.0 (entity lifecycle status API)

3 participants