Repository navigation
Conversation
🦋 Changeset detectedLatest commit: 58ceb71 The changes in this PR will be included in the next version bump. This PR includes changesets to release 30 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Bundle Size AnalysisGenerated from PR build output; treat the content below as untrusted.
|
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.
Migrates 124 owned service declarations to same-name interfaces and
Context.Servicevalues with TypeIds, making the implementation type directly nameable. For migrated exports, useFooinstead ofFoo["Service"]ortypeof Foo.Service; module constructors supply the marker, and manual implementations must include it.Preserves runtime service-key strings, static helpers, and both class and const forms of the
Context.ServiceAPI. Updates constructors, implementation annotations, usage examples, migration guidance, and a changeset. AI config markers are stripped before provider request serialization.Test follow-up is complete: mocks carry the required markers, implementation type projections use the service interfaces, and the Fixtures and Configuration assertions expect the markers. The follow-up commit changes only 40 test/helper files. Existing class services and dedicated const-support cases are preserved.
The 53 retained declarations below still need acceptance or resolution before merge.
Validation
pnpm checkandpnpm lint-fixpassed.53 retained declarations requiring review
Retained declarations requiring scope/design review
These declarations still use class syntax. Primitive and union values cannot be directly represented by branded interfaces without changing their shape. Adding markers to borrowed native objects, callbacks, schemas, and metadata requires a policy for identity, frozen values, and serialization. The generic HttpApiMiddleware.Service implementation is constructor API machinery and remains unchanged. Do not merge this as a claim that the full repository-wide scope is complete until these exceptions are accepted or resolved.
ai-docs/src/51_http-server/fixtures/api/Authorization.ts:5:CurrentUserstoresUser.packages/opentelemetry/src/OtelTracer.ts:46:OtelTracerstoresOtel.Tracer.packages/opentelemetry/src/OtelTracer.ts:57:OtelTracerProviderstoresOtel.TracerProvider.packages/opentelemetry/src/OtelTracer.ts:68:OtelTraceFlagsstoresOtel.TraceFlags.packages/opentelemetry/src/OtelTracer.ts:79:OtelTraceStatestoresOtel.TraceState.packages/opentelemetry/src/OtelTracer.ts:517:OtelParentSpanContextstoresOtel.SpanContext.packages/opentelemetry/src/OtelLogger.ts:36:OtelLoggerProviderstoresOtel.LoggerProvider.packages/opentelemetry/src/Resource.ts:34:ResourcestoresResources.Resource.packages/platform/browser/src/IndexedDbQueryBuilder.ts:730:IndexedDbTransactionstoresglobalThis.IDBTransaction.packages/platform/browser/src/BrowserHttpClient.ts:119:XMLHttpRequeststoresLazyArg<globalThis.XMLHttpRequest>.packages/platform/node-shared/src/NodeSocketServer.ts:56:IncomingMessagestoresHttp.IncomingMessage.packages/platform/node-shared/src/NodeSocket.ts:43:NetSocketstoresNet.Socket.packages/platform/deno/src/DenoSocket.ts:51:ConnstoresDeno.Conn.packages/platform/node/src/NodeHttpClient.ts:89:DispatcherstoresUndici.Dispatcher.packages/effect/src/unstable/httpapi/HttpApiMiddleware.ts:363:Servicestoresany.packages/effect/src/unstable/httpapi/HttpApi.ts:335:AdditionalSchemasstoresReadonlyArray<Schema.Constraint>.packages/effect/src/unstable/httpapi/OpenApi.ts:41:Identifierstoresstring.packages/effect/src/unstable/httpapi/OpenApi.ts:49:Titlestoresstring.packages/effect/src/unstable/httpapi/OpenApi.ts:57:Versionstoresstring.packages/effect/src/unstable/httpapi/OpenApi.ts:65:Descriptionstoresstring.packages/effect/src/unstable/httpapi/OpenApi.ts:73:LicensestoresOpenAPISpecLicense.packages/effect/src/unstable/httpapi/OpenApi.ts:81:ExternalDocsstoresOpenAPISpecExternalDocs.packages/effect/src/unstable/httpapi/OpenApi.ts:91:ServersstoresReadonlyArray<OpenAPISpecServer>.packages/effect/src/unstable/httpapi/OpenApi.ts:101:Formatstoresstring.packages/effect/src/unstable/httpapi/OpenApi.ts:109:Summarystoresstring.packages/effect/src/unstable/httpapi/OpenApi.ts:117:Deprecatedstoresboolean.packages/effect/src/unstable/httpapi/OpenApi.ts:125:OverridestoresRecord<string, unknown>.packages/effect/src/unstable/httpapi/OpenApi.ts:154:Transformstores(openApiSpec: Record<string, any>) => Record<string, any>.packages/effect/src/unstable/ai/McpSchema.ts:3036:EnabledWhenstoresPredicate.Predicate<typeof Initialize.payloadSchema.Type>.packages/effect/src/unstable/ai/Telemetry.ts:540:CurrentSpanTransformerstoresSpanTransformer.packages/effect/src/unstable/cluster/EntityResource.ts:72:CloseScopestoresScope.Scope.packages/effect/src/unstable/cluster/K8sHttpClient.ts:30:K8sHttpClientstoresHttpClient.HttpClient.packages/effect/src/unstable/cluster/Entity.ts:475:CurrentAddressstoresEntityAddress.packages/effect/src/unstable/cluster/Entity.ts:491:CurrentRunnerAddressstoresRunnerAddress.packages/effect/src/unstable/cluster/Entity.ts:783:KeepAliveLatchstoresLatch.Latch.packages/effect/src/unstable/cluster/ClusterSchema.ts:23:Abandonstorestrue.packages/effect/src/Cause.ts:1815:StackTracestoresStackFrame.packages/effect/src/Cause.ts:1837:InterruptorStackTracestoresStackFrame.packages/effect/src/Tracer.ts:171:ParentSpanstoresAnySpan.packages/effect/src/DateTime.ts:1857:CurrentTimeZonestoresTimeZone.packages/effect/src/unstable/socket/Socket.ts:770:WebSocketstoresWebSocketLike.packages/effect/src/unstable/socket/Socket.ts:781:WebSocketConstructorstores(url: string, options?: WebSocketConstructorOptions | undefined) => WebSocketLike.packages/effect/src/unstable/ai/EmbeddingModel.ts:63:Dimensionsstoresnumber.packages/effect/src/unstable/ai/Tool.ts:1714:Titlestoresstring.packages/effect/src/unstable/ai/Tool.ts:1733:MetastoresRecord<string, unknown>.packages/effect/src/unstable/ai/Model.ts:66:ProviderNamestoresstring.packages/effect/src/unstable/ai/Model.ts:82:ModelNamestoresstring.packages/effect/src/Layer.ts:608:CurrentMemoMapstoresMemoMap.packages/effect/src/unstable/rpc/RpcSchema.ts:92:ClientAbortstorestrue.packages/effect/src/unstable/rpc/RpcWorker.ts:27:InitialMessagestoresEffect.Effect< readonly [ data: unknown, transfers: ReadonlyArray<Transferable> ] >.packages/effect/src/unstable/http/FetchHttpClient.ts:49:RequestInitstoresglobalThis.RequestInit.packages/effect/src/unstable/http/HttpServerError.ts:255:ClientAbortstorestrue.packages/effect/src/unstable/http/HttpServerRequest.ts:132:ParsedSearchParamsstoresReadonlyRecord<string, string | Array<string>>.Closes EFF-1329