Skip to content

Update gRPC sidecar bridge and clean up documentation#9

Merged
Snider merged 6 commits into
mainfrom
dev
Jun 29, 2026
Merged

Update gRPC sidecar bridge and clean up documentation#9
Snider merged 6 commits into
mainfrom
dev

Conversation

@Snider

@Snider Snider commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This pull request removes the implementation plan document for OpenAPI describability of the inference surface. The deleted file detailed the steps, architecture, and tasks for surfacing remote/hybrid chat-completions endpoints and upstream router paths in the generated OpenAPI spec. No code changes are included—this is a documentation cleanup.

Snider and others added 6 commits June 13, 2026 10:08
Advance external/go workspace submodule to v0.10.4 so dev (GOWORK on) and standalone (GOWORK=off) builds resolve the same core/go.

Co-Authored-By: Virgil <virgil@lethean.io>
Wire the CoreGO side of the CoreGO <-> CoreDeno gRPC sidecar contract
(code/core/go/api/RFC.grpc.md) into the gateway so it actually serves.

- pkg/grpc: GoService (sandboxed I/O, KV state, exec, core:// scheme),
  DenoClient, and the GRPCServer (Unix socket / TCP loopback transport).
- pkg/proto(+gen): core_sidecar.proto and generated bindings.
- cmd/gateway: construct GoService against real subsystems (io.Local,
  a go-store KV database, the shared go-process Service) and serve it on
  a Unix domain socket (CORE_GATEWAY_GRPC_SOCKET, default under .core/run).
  kvStoreAdapter/procRunnerAdapter bridge go-store's error contract and
  go-process RunOptions to the GoService consumer interfaces. The process
  Service is now built once and shared by the HTTP provider and the gRPC
  bridge. Startup is additive: store/listen failures are logged and HTTP
  serving continues; the server stops gracefully on context cancel and
  via the cleanup stack.
- go.mod/go.sum: add google.golang.org/grpc + dappco.re/go/store deps.

Co-Authored-By: Virgil <virgil@lethean.io>
go-inference flipped TextModel/Backend to the core.Result idiom; the
chat-completions handler's model.Err() probes now check !r.OK.

Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Virgil <virgil@lethean.io>
…ers/

Verified each design's work is present in source before removal; the docs are
redundant replication guides. Future superpowers output stays local (gitignored).

Co-Authored-By: Virgil <virgil@lethean.io>
@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Snider, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 26 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 183ab3c9-cc2c-45bf-992f-60f32909cc89

📥 Commits

Reviewing files that changed from the base of the PR and between aef4485 and 6d87ed5.

⛔ Files ignored due to path filters (3)
  • go/go.sum is excluded by !**/*.sum
  • go/pkg/proto/gen/core_sidecar.pb.go is excluded by !**/*.pb.go, !**/gen/**
  • go/pkg/proto/gen/core_sidecar_grpc.pb.go is excluded by !**/*.pb.go, !**/gen/**
📒 Files selected for processing (18)
  • .gitignore
  • GOAL.md
  • docs/superpowers/plans/2026-06-06-chat-completions-remote-backend.md
  • docs/superpowers/plans/2026-06-06-openapi-inference-describability.md
  • docs/superpowers/plans/2026-06-06-upstream-router.md
  • docs/superpowers/specs/2026-06-06-chat-completions-remote-backend-design.md
  • docs/superpowers/specs/2026-06-06-openapi-inference-describability-design.md
  • docs/superpowers/specs/2026-06-06-upstream-router-design.md
  • external/go
  • go/chat_completions.go
  • go/cmd/gateway/main.go
  • go/go.mod
  • go/pkg/grpc/denoclient.go
  • go/pkg/grpc/denoclient_test.go
  • go/pkg/grpc/goservice.go
  • go/pkg/grpc/server.go
  • go/pkg/grpc/server_test.go
  • go/pkg/proto/core_sidecar.proto

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

Comment @coderabbitai help to get the list of available commands.

@Snider Snider merged commit 3361e1b into main Jun 29, 2026
1 of 4 checks passed
@sonarqubecloud

Copy link
Copy Markdown

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