Skip to content

Conversation

@Adam-D-Lewis
Copy link
Member

Summary

  • Mechanical rename of all "environment" references to "workspace" across the entire codebase
  • No functional changes — purely a terminology alignment to better reflect the domain model
  • 70 files changed, 2539 insertions(+), 2539 deletions(-)

What's renamed

  • Backend models: EnvironmentWorkspace, EnvironmentVersionWorkspaceVersion, EnvironmentTagWorkspaceTag
  • API routes: /environments/workspaces
  • Handlers: EnvironmentHandlerWorkspaceHandler
  • RBAC: env: prefix → ws: prefix
  • Executor interface: CreateEnvironmentCreateWorkspace, etc.
  • Audit constants: ActionCreateEnvironmentActionCreateWorkspace, etc.
  • CLI client: all environment types and methods → workspace equivalents
  • CLI commands: help text, variable names, error messages
  • Frontend: types, API layer, React Query hooks, pages, components, navigation
  • Wails desktop bindings: EnvironmentWailsWorkspace
  • Swagger/OpenAPI docs: regenerated with new type names

Test plan

  • go vet ./... passes
  • go test ./... — all tests pass
  • npx tsc --noEmit — no TypeScript errors
  • npm run build — frontend production build succeeds

Mechanical rename of all "environment" references to "workspace" to
better reflect the domain model. No functional changes.

Changes include:
- Backend models: Environment → Workspace, EnvironmentVersion → WorkspaceVersion, EnvironmentTag → WorkspaceTag
- API routes: /environments → /workspaces
- Handlers: EnvironmentHandler → WorkspaceHandler
- RBAC: env: prefix → ws: prefix
- Executor interface: CreateEnvironment → CreateWorkspace, etc.
- CLI client: all environment references → workspace
- Frontend: types, API calls, hooks, pages, components
- Wails desktop bindings
- Swagger/OpenAPI docs regenerated
@Adam-D-Lewis
Copy link
Member Author

closes #77
related to #78

@Adam-D-Lewis Adam-D-Lewis merged commit 6569385 into main Feb 6, 2026
6 checks passed
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