Merge remote-tracking branch 'origin/master' into feat/web-message-feedback-ui

Adapt to two contract changes master introduced:

- The generated Remote face now wraps every business result in
  RemoteResult, folding carrier failures into an ok:false branch instead
  of rejecting. The controller reads that envelope at its three call
  sites and maps a carrier failure onto the same settled shape the
  controls already render; three specs cover the new branch.
- Client packages split their tsconfig into host and client halves, and
  the host aggregate now compiles any test not named *.client.spec.*.
  Rename this package's specs to the client convention and drop the
  ../connection project reference, which pointed at a solution file that
  no longer carries the client sources.

Keep master's mount loop with its rollback-on-failure in api-remotes and
add messageFeedbackRemote to it.
This commit is contained in:
Chinesezjc
2026-08-12 10:43:23 +08:00
parent 47f254a252
commit b462d5fd69
507 changed files with 3130 additions and 2238 deletions
+12 -9
View File
@@ -88,10 +88,18 @@
"website/**/*.ts",
"website/.vitepress/**/*.ts"
],
// Under packages/client a test file names the face it covers: `*.client.*`
// belongs to the Client aggregate, `*.host.spec.ts` to this one. The two
// suffixes are mutually exclusive, so each aggregate excludes the other's
// and the package test glob above needs no per-file entry.
"exclude": [
"packages/client/**",
"packages/host/directory-picker-browse/**",
"packages/host/directory-picker-native/**",
"packages/client/*/src/**",
"packages/client/*/tests/**/*.client.ts",
"packages/client/*/tests/**/*.client.tsx",
"packages/client/*/tests/**/*.client.spec.ts",
"packages/client/*/tests/**/*.client.spec.tsx",
"packages/client/tsdown.client.ts",
"packages/api/gateway/tests/client.spec.ts",
"scripts/client-bundle-css.spec.ts",
"packages/typert/generator/tests/fixtures/**",
"scripts/client-bundle-purity.spec.ts"
@@ -121,7 +129,7 @@
{ "path": "./packages/core/scope" },
{ "path": "./packages/typert/type-meta" },
{ "path": "./packages/typert/registry" },
{ "path": "./packages/api/gateway" },
{ "path": "./packages/api/gateway/tsconfig.host.json" },
{ "path": "./packages/api/remotes/tsconfig.host.json" },
{ "path": "./packages/typert/loader" },
{ "path": "./packages/session/session-persistence" },
@@ -271,11 +279,6 @@
{ "path": "./packages/host/apiproxy" },
{ "path": "./packages/host/directory-picker" },
{ "path": "./packages/host/directory-picker-auto" },
// Dual-face backend leaves stay client-registered (their tests and client
// halves are excluded above); these references only let the adaptive
// chooser's composition test import each backend's NODE entry, whose
// declarations carry no client-side Context merge — the mirror of the
// client aggregate's webserver reference.
{ "path": "./packages/host/directory-picker-browse" },
{ "path": "./packages/host/directory-picker-native" },
{ "path": "./packages/host/frontend-static" },