Migrate to gateway 0.6.0 client#84
Merged
Merged
Conversation
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.
There was a problem hiding this comment.
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-tsdependency to ^0.6.0. - Remove stale
@ts-expect-errordirectives for/logsand/faultsquery params now covered by the regenerated client types. - Keep runtime behavior unchanged while restoring clean
tscoutput (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. |
mfaferek93
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-errordirectives for the/logsand/faultsquery params: the 0.6.0 client types those params, so the suppressions are obsolete (tsc -bflags them as unused). Thequeryobjects are passed identically - no runtime change.Issue
Type
Testing
All gates pass in a worktree branched from
origin/main:npm run lint(eslint) - cleannpm run typecheck(tsc --noEmit) - cleannpm test -- --run(vitest) - 414 passednpm run build(tsc -b && vite build) - succeedsChecklist
npm run lint)npm run build)