You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename project concepts to environment (revisions, APIs)
Rename/rework control-plane and spec artifacts from "project" to "environment" for runtime deployment semantics. Key changes:
- Replace sys_project_revision with sys_environment_revision (object schema, DB usages, indexes, and migrations) and update all cloud/service-cloud route handlers to read/update/delete the new table.
- Update cloud artifact helpers, multi-project plugin, branch routes, public/cloud/storage routes to use environment IDs/fields and storage_key semantics.
- Rename spec artifacts: project-package.zod -> environment-package.zod and introduce environment.zod; adjust related zod schemas and request/response types to refer to environments.
- Update tenant objects: rename sys-project-revision.object -> sys-environment-revision.object, remove sys-project-branch.object, and adjust objects index and comments.
- Change provisioning service, tests and APIs to use Environment types/fields (projectId -> environmentId, ProvisionEnvironmentRequest/Response, and return shapes), and update related tests.
- Update UI components to import EnvironmentType where previously ProjectType/Status were used.
Rationale: align deployment history and package installation with ADR-0006 v3 where runtime container is sys_environment (environments are the correct control-plane entity for revisions and installations).
0 commit comments