Skip to content

NOISSUE - Rename domains to workspaces - #3594

Draft
ianmuchyri wants to merge 3 commits into
absmach:mainfrom
ianmuchyri:rename-domains-to-workspaces
Draft

NOISSUE - Rename domains to workspaces#3594
ianmuchyri wants to merge 3 commits into
absmach:mainfrom
ianmuchyri:rename-domains-to-workspaces

Conversation

@ianmuchyri

Copy link
Copy Markdown
Contributor

Summary

  • rename the Magistrala tenant/isolation concept from domains to workspaces across core API, SDK, CLI, auth/session policy plumbing, docker/env, permissions, SpiceDB schema, docs, and migration tooling
  • move gRPC/OpenAPI/proto surfaces from domains to workspaces and regenerate protobuf outputs
  • update dependent service routes, SDK parameters, tests, and generated mocks for workspace naming

Verification

  • make proto
  • go test -run '^$' ./pkg/sdk ./pkg/atom ./pkg/grpcclient ./readers/api/http ./auth ./cli
  • docker compose config validation
  • git diff --check

Notes

  • Runtime tests that bind localhost or require Docker/Redis were blocked in the local sandbox.
  • make mocks did not resolve the configured interfaces with the available mockery version; SDK mocks were updated mechanically.

@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 34.53865% with 525 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.00%. Comparing base (1f91de4) to head (526247e).
⚠️ Report is 683 commits behind head on main.

Files with missing lines Patch % Lines
pkg/sdk/groups.go 0.00% 62 Missing ⚠️
pkg/messaging/topics.go 0.00% 58 Missing ⚠️
pkg/sdk/clients.go 0.00% 56 Missing ⚠️
pkg/sdk/bootstrap.go 0.00% 34 Missing ⚠️
pkg/sdk/channels.go 0.00% 34 Missing ⚠️
auth/postgres/repo.go 0.00% 31 Missing ⚠️
pkg/sdk/workspaces.go 70.45% 13 Missing and 13 partials ⚠️
pkg/sdk/reports.go 0.00% 23 Missing ⚠️
pkg/sdk/certs.go 0.00% 18 Missing ⚠️
pkg/sdk/rules.go 0.00% 18 Missing ⚠️
... and 34 more
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #3594       +/-   ##
===========================================
+ Coverage   21.34%   43.00%   +21.65%     
===========================================
  Files         147      189       +42     
  Lines       26244    15030    -11214     
===========================================
+ Hits         5601     6463      +862     
+ Misses      20149     7972    -12177     
- Partials      494      595      +101     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
@ianmuchyri
ianmuchyri force-pushed the rename-domains-to-workspaces branch from 3f52000 to 3adbd8c Compare August 21, 2026 13:09
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.com>
Signed-off-by: ianmuchyri <ianmuchiri8@gmail.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