Skip to content

chore: retire dashboardsvc gRPC service — no longer consumed#14

Merged
mastermanas805 merged 1 commit into
masterfrom
chore/retire-dashboardsvc
May 11, 2026
Merged

chore: retire dashboardsvc gRPC service — no longer consumed#14
mastermanas805 merged 1 commit into
masterfrom
chore/retire-dashboardsvc

Conversation

@mastermanas805
Copy link
Copy Markdown
Member

Summary

  • internal/dashboardsvc/ was the gRPC bridge consumed exclusively by the standalone dashboard-api Go service. The dashboard frontend now talks directly to this agent API over HTTP, so the bridge has no remaining consumers.
  • Deletes internal/dashboardsvc/ entirely (server, interceptor, rotate, stacks, team_members, context, plus their tests — 8 files, ~2.2k lines).
  • Removes the gRPC server bootstrap from main.go that listened on :50052, along with the now-orphan storage/stack provider setup that existed solely to inject deps into dashboardsvc.NewServer.
  • Drops the dashboardv1 proto import.

Coordination

This is PR 2 of 4 in the dashboard-api retirement chain. It depends on:

  • InstaNode-dev/proto#1 — drops proto/dashboard/v1/ (the dashboardv1 package this file imported). Land that first or together, since the api repo's replace instant.dev/proto => ../proto directive resolves the import locally.
  • InstaNode-dev/instanode-web#21 — purges dashboard-api references from the frontend codebase (already landable independently).
  • A follow-up PR will delete infra/k8s/dashboard-api.yaml from the infra repo and (optionally) archive the dashboard-api repo on GitHub.

Test plan

  • go build ./... clean
  • go vet ./... clean
  • No new failing unit tests vs master (the same pre-existing TEST_DATABASE_URL-dependent integration tests skip when no DB is reachable — verified by running go test ./internal/handlers/... on master with identical FAIL output)
  • Reviewer: confirm via grep -rn 'dashboardsvc\\|DashboardService' . that no consumer remains
  • On merge: roll out via /instant-ship; verify nothing was attached to :50052 in production (it was never exposed externally — only consumed by dashboard-api, which itself is being retired)

dashboardsvc was the gRPC bridge consumed by the standalone dashboard-api
Go service. The dashboard frontend now talks directly to the agent API
over HTTP, so the bridge has no remaining consumers.

This change:

  - Deletes internal/dashboardsvc/ entirely (server, interceptor,
    rotate, stacks, team_members, context, and their tests).
  - Removes the gRPC server bootstrap from main.go that listened on
    :50052, including the now-orphan storage/stack provider setup
    that existed solely to inject deps into dashboardsvc.NewServer.
  - Drops the dashboardv1 proto import (companion PR in the proto
    repo deletes proto/dashboard/v1/).

go build ./... clean. go vet ./... clean. Test failures unchanged
from master baseline (the same pre-existing TEST_DATABASE_URL-
dependent integration tests skip when no DB is reachable).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mastermanas805 mastermanas805 merged commit bded315 into master May 11, 2026
@mastermanas805 mastermanas805 deleted the chore/retire-dashboardsvc branch May 11, 2026 14:28
mastermanas805 added a commit to InstaNode-dev/infra that referenced this pull request May 11, 2026
The standalone dashboard-api service is being retired across the platform.
The dashboard frontend now talks directly to the agent API at api.instanode.dev
for every operation — auth, claim, billing, team, resources, stacks.

This manifest was the only k8s artifact for the service (ConfigMap,
Deployment, NodePort 30082, all under namespace=instant). No other infra
file referenced dashboard-api (verified with grep — no leftover configmap,
ingress, networkpolicy, or env-var references).

Companion PRs:
  - InstaNode-dev/instanode-web#21 (dashboard: purge references)
  - InstaNode-dev/proto#1            (drop dashboard/v1 proto)
  - InstaNode-dev/api#14             (delete internal/dashboardsvc/)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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