Skip to content

refactor(engine/ts): absorb the CoreDeno sidecar from ts-bk as engine/ts/deno - #52

Merged
Snider merged 1 commit into
mainfrom
refactor/absorb-ts-sidecar
Nov 18, 2026
Merged

Snider merged 1 commit into
mainfrom
refactor/absorb-ts-sidecar

Conversation

@Snider

@Snider Snider commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

Finishes moving ts into render. engine/ts wrapped the sidecar but still imported it from ts-bk (dappco.re/go/ts). Now everything is here, under go/engine/ts/deno/:

  • the Go sidecar host, the Deno runtime/, the TS SDK src/, and deno.json/deno.lock/deps.ts
  • proto/: coredeno.proto regenerated with its new go_package, plus the core_sidecar.proto source the runtime loads at run time
  • docs/coredeno/: RFC and docs
  • go.mod: dappco.re/go/ts dropped

engine/ts names the service explicitly (core.WithName(\"ts\", …)), so CoreTS stays \"ts\" rather than being discovered as \"deno\".

The integration test can now find its runtime for the first time. It surfaces an upstream go-scm bug: Installer.Installed errors when modules/ is missing. That fix goes into go-scm.

Gates (GOWORK=off): build, vet and go test ./... pass.

🤖 Generated with Claude Code
Co-Authored-By: Virgil virgil@lethean.io

…/ts/deno

Finishes moving ts into render. engine/ts wrapped the sidecar but still
imported it from ts-bk as dappco.re/go/ts. Everything now lives here:

- go/engine/ts/deno/*.go: the Go sidecar host (Sidecar, DenoClient,
  lifecycle, permissions, locales, signed manifests), renamed from package
  ts to package deno
- go/engine/ts/deno/runtime, src, deps.ts, deno.json, deno.lock: the Deno side
  of the sidecar and the TypeScript SDK built on it, with their layout kept so
  the relative imports still resolve (src → ../runtime, ../deps.ts)
- go/engine/ts/deno/proto: coredeno.proto with go_package moved to
  dappco.re/go/render/engine/ts/deno/proto, regenerated with protoc 35.1 /
  protoc-gen-go v1.36.11. core_sidecar.proto source sits beside it because the
  runtime loads ../proto/*.proto at run time (its Go code is generated in api)
- docs/coredeno: the RFC and docs
- go.mod: dappco.re/go/ts dropped; go-scm, grpc, protobuf and testify become
  direct requirements

engine/ts registers the service with core.WithName("ts", …). Discovery names
a service after its package, which would now be "deno", but CoreTS is "ts"
wherever its code lives. engine/ts looks it up as "ts".

The integration test (-tags integration) now finds runtime/main.ts. In ts-bk
the runtime was at the repo root, not beside the package, so the test had
never found it. It now boots a real Deno sidecar and fails on an upstream bug:
go-scm's marketplace Installer.Installed errors when modules/ is missing,
where it should report no modules installed. That's being fixed in go-scm.

Gates (GOWORK=off): go build, go vet and go test ./... -count=1 pass.

Co-Authored-By: Virgil <virgil@lethean.io>
@Snider
Snider merged commit 7d75496 into main Nov 18, 2026
@Snider
Snider deleted the refactor/absorb-ts-sidecar branch November 18, 2026 17:10
@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 111 files, which is 11 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7bd5c9b9-3927-4bdc-bb4c-c50f4a2d7b13
Commits

Reviewing files that changed from the base of the PR and between 29b32fc and b8a8439.

Files ignored due to path filters: 5

  • go/engine/ts/deno/deno.lock is excluded by !**/*.lock
  • go/engine/ts/deno/proto/coredeno.pb.go is excluded by !**/*.pb.go
  • go/engine/ts/deno/proto/coredeno_grpc.pb.go is excluded by !**/*.pb.go
  • go/engine/ts/deno/runtime/deno.lock is excluded by !**/*.lock
  • go/go.sum is excluded by !**/*.sum
Files selected for processing: 111

  • docs/coredeno/RFC.md
  • docs/coredeno/architecture.md
  • docs/coredeno/development.md
  • docs/coredeno/index.md
  • go/display/http/framework/angular/server_example_test.go
  • go/engine/ts/context.go
  • go/engine/ts/deno/coredeno.go
  • go/engine/ts/deno/coredeno_example_test.go
  • go/engine/ts/deno/coredeno_test.go
  • go/engine/ts/deno/deno.json
  • go/engine/ts/deno/denoclient.go
  • go/engine/ts/deno/denoclient_example_test.go
  • go/engine/ts/deno/denoclient_test.go
  • go/engine/ts/deno/deps.ts
  • go/engine/ts/deno/integration_test.go
  • go/engine/ts/deno/lifecycle.go
  • go/engine/ts/deno/lifecycle_example_test.go
  • go/engine/ts/deno/lifecycle_test.go
  • go/engine/ts/deno/listener.go
  • go/engine/ts/deno/listener_example_test.go
  • go/engine/ts/deno/listener_test.go
  • go/engine/ts/deno/locale.go
  • go/engine/ts/deno/locale_example_test.go
  • go/engine/ts/deno/locale_test.go
  • go/engine/ts/deno/permissions.go
  • go/engine/ts/deno/permissions_example_test.go
  • go/engine/ts/deno/permissions_test.go
  • go/engine/ts/deno/process_runner_test.go
  • go/engine/ts/deno/proto/core_sidecar.proto
  • go/engine/ts/deno/proto/coredeno.proto
  • go/engine/ts/deno/runtime/auth.ts
  • go/engine/ts/deno/runtime/auth_test.ts
  • go/engine/ts/deno/runtime/client.ts
  • go/engine/ts/deno/runtime/client_test.ts
  • go/engine/ts/deno/runtime/deno.json
  • go/engine/ts/deno/runtime/dev.ts
  • go/engine/ts/deno/runtime/dev_test.ts
  • go/engine/ts/deno/runtime/grpc.ts
  • go/engine/ts/deno/runtime/grpc_test.ts
  • go/engine/ts/deno/runtime/ipc.ts
  • go/engine/ts/deno/runtime/ipc_test.ts
  • go/engine/ts/deno/runtime/main.ts
  • go/engine/ts/deno/runtime/main_test.ts
  • go/engine/ts/deno/runtime/modules.ts
  • go/engine/ts/deno/runtime/modules_test.ts
  • go/engine/ts/deno/runtime/permissions_test.ts
  • go/engine/ts/deno/runtime/polyfill.ts
  • go/engine/ts/deno/runtime/polyfill_test.ts
  • go/engine/ts/deno/runtime/server.ts
  • go/engine/ts/deno/runtime/server_test.ts
  • go/engine/ts/deno/runtime/sidecar.ts
  • go/engine/ts/deno/runtime/sidecar_client.ts
  • go/engine/ts/deno/runtime/sidecar_client_test.ts
  • go/engine/ts/deno/runtime/sidecar_handlers.ts
  • go/engine/ts/deno/runtime/sidecar_handlers_test.ts
  • go/engine/ts/deno/runtime/sidecar_server.ts
  • go/engine/ts/deno/runtime/sidecar_server_test.ts
  • go/engine/ts/deno/runtime/sidecar_test.ts
  • go/engine/ts/deno/runtime/testdata/file-ops-module.ts
  • go/engine/ts/deno/runtime/testdata/ipc-reader-module.ts
  • go/engine/ts/deno/runtime/testdata/ipc-writer-module.ts
  • go/engine/ts/deno/runtime/testdata/locale-module.ts
  • go/engine/ts/deno/runtime/testdata/test-module.ts
  • go/engine/ts/deno/runtime/worker-entry.ts
  • go/engine/ts/deno/runtime/worker-entry_test.ts
  • go/engine/ts/deno/server.go
  • go/engine/ts/deno/server_example_test.go
  • go/engine/ts/deno/server_test.go
  • go/engine/ts/deno/service.go
  • go/engine/ts/deno/service_example_test.go
  • go/engine/ts/deno/service_test.go
  • go/engine/ts/deno/socketdir.go
  • go/engine/ts/deno/socketdir_test.go
  • go/engine/ts/deno/src/auth.ts
  • go/engine/ts/deno/src/auth_test.ts
  • go/engine/ts/deno/src/components.ts
  • go/engine/ts/deno/src/components_test.ts
  • go/engine/ts/deno/src/crypto.ts
  • go/engine/ts/deno/src/crypto_test.ts
  • go/engine/ts/deno/src/dev.ts
  • go/engine/ts/deno/src/dev_test.ts
  • go/engine/ts/deno/src/electron.ts
  • go/engine/ts/deno/src/electron_test.ts
  • go/engine/ts/deno/src/events.ts
  • go/engine/ts/deno/src/events_test.ts
  • go/engine/ts/deno/src/i18n.ts
  • go/engine/ts/deno/src/i18n_test.ts
  • go/engine/ts/deno/src/layout.ts
  • go/engine/ts/deno/src/layout_test.ts
  • go/engine/ts/deno/src/mod.ts
  • go/engine/ts/deno/src/mod_test.ts
  • go/engine/ts/deno/src/nat.ts
  • go/engine/ts/deno/src/openapi.ts
  • go/engine/ts/deno/src/openapi_test.ts
  • go/engine/ts/deno/src/options.ts
  • go/engine/ts/deno/src/options_test.ts
  • go/engine/ts/deno/src/p2p.ts
  • go/engine/ts/deno/src/result.ts
  • go/engine/ts/deno/src/result_test.ts
  • go/engine/ts/deno/src/router.ts
  • go/engine/ts/deno/src/router_test.ts
  • go/engine/ts/deno/src/runtime.ts
  • go/engine/ts/deno/src/runtime_test.ts
  • go/engine/ts/deno/src/storage.ts
  • go/engine/ts/deno/src/storage_test.ts
  • go/engine/ts/deno/src/wasm.ts
  • go/engine/ts/deno/src/wasm_test.ts
  • go/engine/ts/deno/testutil_test.go
  • go/engine/ts/engine.go
  • go/engine/ts/engine_test.go
  • go/go.mod

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

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.

1 participant