Skip to content

Migrate to gateway 0.6.0 client#84

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

Migrate to gateway 0.6.0 client#84
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

Pin the gateway 0.6.0 TypeScript client (@selfpatch/ros2-medkit-client-ts@0.6.0) and bump the app to 0.6.0. The 0.5.0 -> 0.6.0 change is additive (entity lifecycle status). The only code change is removing five now-stale @ts-expect-error directives for the /logs and /faults query params: the 0.6.0 client types those params, so the suppressions are obsolete (tsc -b flags them as unused). The query objects are passed identically - no runtime change.


Issue


Type

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

Testing

All gates pass in a worktree branched from origin/main:

  • npm run lint (eslint) - clean
  • npm run typecheck (tsc --noEmit) - clean
  • npm test -- --run (vitest) - 414 passed
  • npm run build (tsc -b && vite build) - succeeds

Checklist

  • Breaking changes are clearly described (none - additive change only)
  • Linting passes (npm run lint)
  • Build succeeds (npm run build)
  • Docs were updated if behavior or public API changed (N/A - no API change)

The 0.5.0->0.6.0 client surface change is additive (entity lifecycle
status). The 0.6.0 client now types the /logs and /faults query params,
so this removes the five now-stale @ts-expect-error suppressions (no
runtime change). Existing panels and tests are unchanged.
Copilot AI review requested due to automatic review settings June 24, 2026 20:23

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 web UI to use the gateway 0.6.0 generated TypeScript client, aligning the app with the latest additive API schema (including newly typed query parameters) and removing now-obsolete TypeScript error suppressions.

Changes:

  • Bump app version to 0.6.0 and update @selfpatch/ros2-medkit-client-ts dependency to ^0.6.0.
  • Remove stale @ts-expect-error directives for /logs and /faults query params now covered by the regenerated client types.
  • Keep runtime behavior unchanged while restoring clean tsc output (no unused @ts-expect-error).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/lib/store.ts Removes obsolete TS suppression for /faults query typing while preserving the status=all behavior.
src/lib/api-dispatch.ts Removes obsolete TS suppressions for /logs query typing across entity types.
package.json Bumps app version to 0.6.0 and updates the gateway client dependency to ^0.6.0.
package-lock.json Locks the dependency graph to the 0.6.0 client package and updates lockfile version metadata accordingly.

@bburda bburda self-assigned this Jun 24, 2026
@bburda bburda merged commit c7f6660 into main Jun 25, 2026
6 checks passed
@bburda bburda deleted the feat/uplift-gateway-0.6.0 branch June 25, 2026 08:02
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.

Migrate to gateway 0.6.0 client

3 participants