Skip to content

Commit d9b1753

Browse files
committed
feat: implement workspace configuration version pinning (DMD-1086)
Add optional configurationVersion parameter to workspace creation that pins the workspace to a specific configuration version for deterministic direct-grant output mapping during unload and drop. - DB migration adding configurationVersion column to bi_workspaces - Request validation, processor logic for sync/async paths - Version-aware unload and drop with proper error handling - Domain exceptions for deleted versions/tables/configurations - Response layer with OpenAPI schema updates - Unit tests (CreateWorkspaceProcessor, WorkspaceUnloadProcessor, CreateWorkspaceRequest, ConfigurationParser, WorkspaceResponseProvider) - E2E tests covering all 8 RFC scenarios
1 parent f4aaaf1 commit d9b1753

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Keboola/StorageApi/Workspaces.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* name: string|null,
1313
* component: string|null,
1414
* configurationId: string|null,
15+
* configurationVersion: int|null,
1516
* created: string,
1617
* connection: array{
1718
* backend: string,
@@ -40,6 +41,7 @@
4041
* @phpstan-type CreateWorkspaceOptions array{
4142
* backend?: string,
4243
* backendSize?: string,
44+
* configurationVersion?: int,
4345
* loginType?: WorkspaceLoginType,
4446
* networkPolicy?: string,
4547
* readOnlyStorageAccess?: bool,

0 commit comments

Comments
 (0)