Skip to content

Client parity follow-ups (re-target to main): unify client, TODOs, tests, CI, versions#87

Merged
jrosskopf merged 5 commits into
mainfrom
fix/client-parity-followups
Jun 14, 2026
Merged

Client parity follow-ups (re-target to main): unify client, TODOs, tests, CI, versions#87
jrosskopf merged 5 commits into
mainfrom
fix/client-parity-followups

Conversation

@jrosskopf

Copy link
Copy Markdown
Contributor

Re-lands the follow-up work from #86 onto main. #86 was merged into the fix/client-parity-audit branch, but #78 had already squash-merged to main just before, so these changes never reached main and issues #79#85 stayed open. The net diff here is exactly the follow-up changes.

Closes #79
Closes #80
Closes #81
Closes #82
Closes #83
Closes #84
Closes #85

Contents

Verification

@flapi/shared builds; CLI builds + 41/41 tests; extension tsc --noEmit 0 errors + webpack build + 12/12 tests; npm ci works in all three packages.

- fix(vscode #75): escape nested template literals in endpointTesterPanel
  so the webview HTML literal no longer desyncs the parser; build @flapi/shared
  automatically (shared prepare + extension prebuild) so EndpointConfig types
  resolve. Extension builds and typechecks again (broken since 2025-11-02).
- feat(cli #76): add commands for server capabilities that had no CLI surface:
  health, config env, config filesystem, endpoints parameters,
  cache audit [path], cache gc.
- fix(cli #77): FlapiApiClient.testEndpoint targets the real /template/test
  route instead of the non-existent /test (would 404).
- docs: add CLIENT_PARITY_AUDIT.md documenting findings and resolution.
#81, #83, #85)

- refactor(vscode #83): delete the extension's duplicate FlapiApiClient and
  point extension.ts + yamlValidator at @flapi/shared's client; add slug-based
  validateEndpointConfig/reloadEndpointConfig and X-Config-Token to setToken.
  Fixes the local client's broken base-URL (it read non-existent flapi.host/port).
- fix(vscode #81): remove dead 'Variables provider' editor-change handler.
- chore(#85): align cli, @flapi/shared, and the extension to 26.6.13.
…79, #80)

- feat(#80): add a pure extendedYaml resolver that inlines
  {{include:<section> from <file>}} directives from sibling workspace files;
  CodeLens now uses it instead of stripping includes and parsing blindly.
- feat(#79): when multiple endpoints reference one SQL template, show a
  QuickPick selector instead of silently using the first.
)

- test(vscode #84): set up Vitest and cover the pure logic — extended-YAML
  include resolution and endpoint-pick label building (12 tests).
- ci(#82): add .github/workflows/clients.yaml that builds @flapi/shared, builds
  and tests the CLI, and typechecks/builds/tests the extension on every PR that
  touches cli/. This would have caught #75.
Keeps package-lock.json in step with the version bump so 'npm ci' (used by the
new clients CI gate) doesn't fail on a version mismatch.
@jrosskopf jrosskopf merged commit d245844 into main Jun 14, 2026
9 of 11 checks passed
@jrosskopf jrosskopf deleted the fix/client-parity-followups branch June 14, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment