Skip to content

feat: extend workspace lock to CAC write entities - #1069

Open
sauraww wants to merge 1 commit into
mainfrom
feat/workspace-lock-cac-entities
Open

feat: extend workspace lock to CAC write entities#1069
sauraww wants to merge 1 commit into
mainfrom
feat/workspace-lock-cac-entities

Conversation

@sauraww

@sauraww sauraww commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Problem

Concurrent write requests to the same workspace can cause conflicting updates and inconsistent state.

Solution

Add a workspace-level write permit backed by a database lease. Standard writes use the default TTL, bulk context updates use the batch TTL, and all TTLs have a 60-second minimum.

Environment variable changes

Optional configuration:

  • WORKSPACE_LOCK_DEFAULT_TTL_MS — defaults to 60000.
  • WORKSPACE_LOCK_BATCH_TTL_MS — defaults to 1200000.

Pre-deployment activity

Run the workspace-lock database migration before deploying the application.

Post-deployment activity

None.

API changes

Endpoint Method Request body Response body
Workspace write APIs POST/PUT/PATCH/DELETE Unchanged Unchanged; may return 409 Conflict when the workspace is locked

Possible Issues in the future

Operations exceeding their TTL may allow another writer to acquire the lock. Failed processes may leave a lock active until its TTL expires.

Copilot AI review requested due to automatic review settings June 30, 2026 04:46
@sauraww
sauraww requested a review from a team as a code owner June 30, 2026 04:46
@semanticdiff-com

semanticdiff-com Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  clients/python/sdk/superposition_sdk/_private/schemas.py  99% smaller
  clients/javascript/sdk/src/models/models_0.ts  97% smaller
  docs/docs/api/bulk-operation.StatusCodes.json  91% smaller
  clients/python/sdk/superposition_sdk/models.py  88% smaller
  docs/docs/api/update-dimension.StatusCodes.json  84% smaller
  docs/docs/api/create-dimension.StatusCodes.json  84% smaller
  docs/docs/api/update-override.StatusCodes.json  83% smaller
  docs/docs/api/create-context.StatusCodes.json  83% smaller
  docs/docs/api/move-context.StatusCodes.json  83% smaller
  docs/docs/api/weight-recompute.StatusCodes.json  81% smaller
  crates/superposition_sdk/src/serde_util.rs  80% smaller
  docs/docs/api/update-webhook.StatusCodes.json  78% smaller
  docs/docs/api/update-function.StatusCodes.json  77% smaller
  docs/docs/api/publish.StatusCodes.json  77% smaller
  docs/docs/api/create-webhook.StatusCodes.json  77% smaller
  docs/docs/api/create-function.StatusCodes.json  77% smaller
  docs/docs/api/delete-dimension.StatusCodes.json  74% smaller
  docs/docs/api/delete-context.StatusCodes.json  74% smaller
  docs/docs/api/delete-type-templates.StatusCodes.json  74% smaller
  docs/docs/api/update-type-templates.StatusCodes.json  74% smaller
  docs/docs/api/create-type-templates.StatusCodes.json  73% smaller
  docs/docs/api/delete-secret.StatusCodes.json  72% smaller
  docs/docs/api/update-secret.StatusCodes.json  72% smaller
  docs/docs/api/create-secret.StatusCodes.json  72% smaller
  docs/docs/api/delete-variable.StatusCodes.json  71% smaller
  docs/docs/api/update-variable.StatusCodes.json  71% smaller
  docs/docs/api/create-variable.StatusCodes.json  71% smaller
  docs/docs/api/delete-function.StatusCodes.json  61% smaller
  docs/docs/api/delete-webhook.StatusCodes.json  61% smaller
  crates/context_aware_config/src/api/config/handlers.rs  59% smaller
  crates/context_aware_config/src/api/dimension/handlers.rs  46% smaller
  crates/context_aware_config/src/api/type_templates/handlers.rs  43% smaller
  crates/context_aware_config/src/api/variables/handlers.rs  43% smaller
  crates/context_aware_config/src/api/functions/handlers.rs  39% smaller
  crates/context_aware_config/src/api/context/handlers.rs  36% smaller
  crates/superposition/src/webhooks/handlers.rs  36% smaller
  crates/service_utils/src/service/types.rs  35% smaller
  crates/context_aware_config/src/api/secrets/handlers.rs  27% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionAsyncClient.java  4% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionClient.java  4% smaller
  crates/service_utils/src/workspace_lock.rs  1% smaller
  clients/haskell/sdk/Io/Superposition/Command/BulkOperation.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/CreateContext.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/CreateDimension.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/CreateFunction.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/CreateSecret.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/CreateTypeTemplates.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/CreateVariable.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/CreateWebhook.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/DeleteContext.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/DeleteDimension.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/DeleteFunction.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/DeleteSecret.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/DeleteTypeTemplates.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/DeleteVariable.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/DeleteWebhook.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/MoveContext.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/Publish.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/UpdateDimension.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/UpdateFunction.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/UpdateOverride.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/UpdateSecret.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/UpdateTypeTemplates.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/UpdateVariable.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/UpdateWebhook.hs Unsupported file format
  clients/haskell/sdk/Io/Superposition/Command/WeightRecompute.hs Unsupported file format
  clients/haskell/sdk/SuperpositionSDK.cabal Unsupported file format
  clients/java/sdk/src/main/java/io/juspay/superposition/model/BulkOperation.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateContext.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDimension.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateFunction.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateSecret.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateTypeTemplates.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateVariable.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateWebhook.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteContext.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDimension.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteFunction.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteSecret.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteTypeTemplates.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteVariable.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteWebhook.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/MoveContext.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/Publish.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDimension.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateFunction.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverride.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateSecret.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateTypeTemplates.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateVariable.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateWebhook.java  0% smaller
  clients/java/sdk/src/main/java/io/juspay/superposition/model/WeightRecompute.java  0% smaller
  clients/javascript/sdk/src/commands/BulkOperationCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/CreateContextCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/CreateDimensionCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/CreateFunctionCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/CreateSecretCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/CreateTypeTemplatesCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/CreateVariableCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/CreateWebhookCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/DeleteContextCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/DeleteDimensionCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/DeleteFunctionCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/DeleteSecretCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/DeleteTypeTemplatesCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/DeleteVariableCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/DeleteWebhookCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/MoveContextCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/PublishCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/UpdateDimensionCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/UpdateFunctionCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/UpdateOverrideCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/UpdateSecretCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/UpdateTypeTemplatesCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/UpdateVariableCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/UpdateWebhookCommand.ts  0% smaller
  clients/javascript/sdk/src/commands/WeightRecomputeCommand.ts  0% smaller
  clients/python/sdk/superposition_sdk/deserialize.py  0% smaller
  crates/context_aware_config/src/api/default_config/handlers.rs  0% smaller
  crates/superposition_sdk/src/error_meta.rs  0% smaller
  crates/superposition_sdk/src/operation/bulk_operation.rs  0% smaller
  crates/superposition_sdk/src/operation/create_context.rs  0% smaller
  crates/superposition_sdk/src/operation/create_dimension.rs  0% smaller
  crates/superposition_sdk/src/operation/create_function.rs  0% smaller
  crates/superposition_sdk/src/operation/create_secret.rs  0% smaller
  crates/superposition_sdk/src/operation/create_type_templates.rs  0% smaller
  crates/superposition_sdk/src/operation/create_variable.rs  0% smaller
  crates/superposition_sdk/src/operation/create_webhook.rs  0% smaller
  crates/superposition_sdk/src/operation/delete_context.rs  0% smaller
  crates/superposition_sdk/src/operation/delete_dimension.rs  0% smaller
  crates/superposition_sdk/src/operation/delete_function.rs  0% smaller
  crates/superposition_sdk/src/operation/delete_secret.rs  0% smaller
  crates/superposition_sdk/src/operation/delete_type_templates.rs  0% smaller
  crates/superposition_sdk/src/operation/delete_variable.rs  0% smaller
  crates/superposition_sdk/src/operation/delete_webhook.rs  0% smaller
  crates/superposition_sdk/src/operation/move_context.rs  0% smaller
  crates/superposition_sdk/src/operation/publish.rs  0% smaller
  crates/superposition_sdk/src/operation/update_dimension.rs  0% smaller
  crates/superposition_sdk/src/operation/update_function.rs  0% smaller
  crates/superposition_sdk/src/operation/update_override.rs  0% smaller
  crates/superposition_sdk/src/operation/update_secret.rs  0% smaller
  crates/superposition_sdk/src/operation/update_type_templates.rs  0% smaller
  crates/superposition_sdk/src/operation/update_variable.rs  0% smaller
  crates/superposition_sdk/src/operation/update_webhook.rs  0% smaller
  crates/superposition_sdk/src/operation/weight_recompute.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_bulk_operation.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_create_context.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_create_dimension.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_create_function.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_create_secret.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_create_type_templates.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_create_variable.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_create_webhook.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_delete_context.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_delete_dimension.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_delete_function.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_delete_secret.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_delete_type_templates.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_delete_variable.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_delete_webhook.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_move_context.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_publish.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_update_dimension.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_update_function.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_update_override.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_update_secret.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_update_type_templates.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_update_variable.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_update_webhook.rs  0% smaller
  crates/superposition_sdk/src/protocol_serde/shape_weight_recompute.rs  0% smaller
  crates/superposition_sdk/src/types.rs  0% smaller
  crates/superposition_sdk/src/types/builders.rs  0% smaller
  crates/superposition_sdk/src/types/error.rs  0% smaller
  crates/superposition_sdk/src/types/error/builders.rs  0% smaller
  docs/docs/api/Superposition.openapi.json  0% smaller
  docs/docs/api/bulk-operation.api.mdx Unsupported file format
  docs/docs/api/create-context.api.mdx Unsupported file format
  docs/docs/api/create-dimension.api.mdx Unsupported file format
  docs/docs/api/create-function.api.mdx Unsupported file format
  docs/docs/api/create-secret.api.mdx Unsupported file format
  docs/docs/api/create-type-templates.api.mdx Unsupported file format
  docs/docs/api/create-variable.api.mdx Unsupported file format
  docs/docs/api/create-webhook.api.mdx Unsupported file format
  docs/docs/api/delete-context.api.mdx Unsupported file format
  docs/docs/api/delete-dimension.api.mdx Unsupported file format
  docs/docs/api/delete-function.api.mdx Unsupported file format
  docs/docs/api/delete-secret.api.mdx Unsupported file format
  docs/docs/api/delete-type-templates.api.mdx Unsupported file format
  docs/docs/api/delete-variable.api.mdx Unsupported file format
  docs/docs/api/delete-webhook.api.mdx Unsupported file format
  docs/docs/api/move-context.api.mdx Unsupported file format
  docs/docs/api/publish.api.mdx Unsupported file format
  docs/docs/api/update-dimension.api.mdx Unsupported file format
  docs/docs/api/update-function.api.mdx Unsupported file format
  docs/docs/api/update-override.api.mdx Unsupported file format
  docs/docs/api/update-secret.api.mdx Unsupported file format
  docs/docs/api/update-type-templates.api.mdx Unsupported file format
  docs/docs/api/update-variable.api.mdx Unsupported file format
  docs/docs/api/update-webhook.api.mdx Unsupported file format
  docs/docs/api/weight-recompute.api.mdx Unsupported file format
  smithy/models/context.smithy Unsupported file format
  smithy/models/dimension.smithy Unsupported file format
  smithy/models/functions.smithy Unsupported file format
  smithy/models/secret.smithy Unsupported file format
  smithy/models/type-templates.smithy Unsupported file format
  smithy/models/variable.smithy Unsupported file format
  smithy/models/webhook.smithy Unsupported file format

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 207 files, which is 107 over the limit of 100.

To get a review, narrow the scope:
• coderabbit review --committed # exclude uncommitted changes
• coderabbit review --dir # limit to a subdirectory
• coderabbit review --base # compare against a closer base

Upgrade to a paid plan to raise the limit.

This review couldn't start because sufficient usage credits or metered capacity aren't available. Add credits or update usage-based reviews in the billing tab, then retry.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: bf44e326-d275-4023-bd87-1a8ea7810dd5

📥 Commits

Reviewing files that changed from the base of the PR and between 2f629bb and 8a3e57e.

📒 Files selected for processing (207)
  • clients/haskell/sdk/Io/Superposition/Command/BulkOperation.hs
  • clients/haskell/sdk/Io/Superposition/Command/CreateContext.hs
  • clients/haskell/sdk/Io/Superposition/Command/CreateDimension.hs
  • clients/haskell/sdk/Io/Superposition/Command/CreateFunction.hs
  • clients/haskell/sdk/Io/Superposition/Command/CreateSecret.hs
  • clients/haskell/sdk/Io/Superposition/Command/CreateTypeTemplates.hs
  • clients/haskell/sdk/Io/Superposition/Command/CreateVariable.hs
  • clients/haskell/sdk/Io/Superposition/Command/CreateWebhook.hs
  • clients/haskell/sdk/Io/Superposition/Command/DeleteContext.hs
  • clients/haskell/sdk/Io/Superposition/Command/DeleteDimension.hs
  • clients/haskell/sdk/Io/Superposition/Command/DeleteFunction.hs
  • clients/haskell/sdk/Io/Superposition/Command/DeleteSecret.hs
  • clients/haskell/sdk/Io/Superposition/Command/DeleteTypeTemplates.hs
  • clients/haskell/sdk/Io/Superposition/Command/DeleteVariable.hs
  • clients/haskell/sdk/Io/Superposition/Command/DeleteWebhook.hs
  • clients/haskell/sdk/Io/Superposition/Command/MoveContext.hs
  • clients/haskell/sdk/Io/Superposition/Command/Publish.hs
  • clients/haskell/sdk/Io/Superposition/Command/UpdateDimension.hs
  • clients/haskell/sdk/Io/Superposition/Command/UpdateFunction.hs
  • clients/haskell/sdk/Io/Superposition/Command/UpdateOverride.hs
  • clients/haskell/sdk/Io/Superposition/Command/UpdateSecret.hs
  • clients/haskell/sdk/Io/Superposition/Command/UpdateTypeTemplates.hs
  • clients/haskell/sdk/Io/Superposition/Command/UpdateVariable.hs
  • clients/haskell/sdk/Io/Superposition/Command/UpdateWebhook.hs
  • clients/haskell/sdk/Io/Superposition/Command/WeightRecompute.hs
  • clients/haskell/sdk/SuperpositionSDK.cabal
  • clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionAsyncClient.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/client/SuperpositionClient.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/BulkOperation.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateContext.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateDimension.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateFunction.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateSecret.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateTypeTemplates.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateVariable.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/CreateWebhook.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteContext.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteDimension.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteFunction.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteSecret.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteTypeTemplates.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteVariable.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/DeleteWebhook.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/MoveContext.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/Publish.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateDimension.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateFunction.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateOverride.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateSecret.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateTypeTemplates.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateVariable.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/UpdateWebhook.java
  • clients/java/sdk/src/main/java/io/juspay/superposition/model/WeightRecompute.java
  • clients/javascript/sdk/src/commands/BulkOperationCommand.ts
  • clients/javascript/sdk/src/commands/CreateContextCommand.ts
  • clients/javascript/sdk/src/commands/CreateDimensionCommand.ts
  • clients/javascript/sdk/src/commands/CreateFunctionCommand.ts
  • clients/javascript/sdk/src/commands/CreateSecretCommand.ts
  • clients/javascript/sdk/src/commands/CreateTypeTemplatesCommand.ts
  • clients/javascript/sdk/src/commands/CreateVariableCommand.ts
  • clients/javascript/sdk/src/commands/CreateWebhookCommand.ts
  • clients/javascript/sdk/src/commands/DeleteContextCommand.ts
  • clients/javascript/sdk/src/commands/DeleteDimensionCommand.ts
  • clients/javascript/sdk/src/commands/DeleteFunctionCommand.ts
  • clients/javascript/sdk/src/commands/DeleteSecretCommand.ts
  • clients/javascript/sdk/src/commands/DeleteTypeTemplatesCommand.ts
  • clients/javascript/sdk/src/commands/DeleteVariableCommand.ts
  • clients/javascript/sdk/src/commands/DeleteWebhookCommand.ts
  • clients/javascript/sdk/src/commands/MoveContextCommand.ts
  • clients/javascript/sdk/src/commands/PublishCommand.ts
  • clients/javascript/sdk/src/commands/UpdateDimensionCommand.ts
  • clients/javascript/sdk/src/commands/UpdateFunctionCommand.ts
  • clients/javascript/sdk/src/commands/UpdateOverrideCommand.ts
  • clients/javascript/sdk/src/commands/UpdateSecretCommand.ts
  • clients/javascript/sdk/src/commands/UpdateTypeTemplatesCommand.ts
  • clients/javascript/sdk/src/commands/UpdateVariableCommand.ts
  • clients/javascript/sdk/src/commands/UpdateWebhookCommand.ts
  • clients/javascript/sdk/src/commands/WeightRecomputeCommand.ts
  • clients/javascript/sdk/src/models/models_0.ts
  • clients/python/sdk/superposition_sdk/_private/schemas.py
  • clients/python/sdk/superposition_sdk/deserialize.py
  • clients/python/sdk/superposition_sdk/models.py
  • crates/context_aware_config/src/api/config/handlers.rs
  • crates/context_aware_config/src/api/context/handlers.rs
  • crates/context_aware_config/src/api/default_config/handlers.rs
  • crates/context_aware_config/src/api/dimension/handlers.rs
  • crates/context_aware_config/src/api/functions/handlers.rs
  • crates/context_aware_config/src/api/secrets/handlers.rs
  • crates/context_aware_config/src/api/type_templates/handlers.rs
  • crates/context_aware_config/src/api/variables/handlers.rs
  • crates/service_utils/src/service/types.rs
  • crates/service_utils/src/workspace_lock.rs
  • crates/superposition/src/webhooks/handlers.rs
  • crates/superposition_sdk/src/error_meta.rs
  • crates/superposition_sdk/src/operation/bulk_operation.rs
  • crates/superposition_sdk/src/operation/create_context.rs
  • crates/superposition_sdk/src/operation/create_dimension.rs
  • crates/superposition_sdk/src/operation/create_function.rs
  • crates/superposition_sdk/src/operation/create_secret.rs
  • crates/superposition_sdk/src/operation/create_type_templates.rs
  • crates/superposition_sdk/src/operation/create_variable.rs
  • crates/superposition_sdk/src/operation/create_webhook.rs
  • crates/superposition_sdk/src/operation/delete_context.rs
  • crates/superposition_sdk/src/operation/delete_dimension.rs
  • crates/superposition_sdk/src/operation/delete_function.rs
  • crates/superposition_sdk/src/operation/delete_secret.rs
  • crates/superposition_sdk/src/operation/delete_type_templates.rs
  • crates/superposition_sdk/src/operation/delete_variable.rs
  • crates/superposition_sdk/src/operation/delete_webhook.rs
  • crates/superposition_sdk/src/operation/move_context.rs
  • crates/superposition_sdk/src/operation/publish.rs
  • crates/superposition_sdk/src/operation/update_dimension.rs
  • crates/superposition_sdk/src/operation/update_function.rs
  • crates/superposition_sdk/src/operation/update_override.rs
  • crates/superposition_sdk/src/operation/update_secret.rs
  • crates/superposition_sdk/src/operation/update_type_templates.rs
  • crates/superposition_sdk/src/operation/update_variable.rs
  • crates/superposition_sdk/src/operation/update_webhook.rs
  • crates/superposition_sdk/src/operation/weight_recompute.rs
  • crates/superposition_sdk/src/protocol_serde/shape_bulk_operation.rs
  • crates/superposition_sdk/src/protocol_serde/shape_create_context.rs
  • crates/superposition_sdk/src/protocol_serde/shape_create_dimension.rs
  • crates/superposition_sdk/src/protocol_serde/shape_create_function.rs
  • crates/superposition_sdk/src/protocol_serde/shape_create_secret.rs
  • crates/superposition_sdk/src/protocol_serde/shape_create_type_templates.rs
  • crates/superposition_sdk/src/protocol_serde/shape_create_variable.rs
  • crates/superposition_sdk/src/protocol_serde/shape_create_webhook.rs
  • crates/superposition_sdk/src/protocol_serde/shape_delete_context.rs
  • crates/superposition_sdk/src/protocol_serde/shape_delete_dimension.rs
  • crates/superposition_sdk/src/protocol_serde/shape_delete_function.rs
  • crates/superposition_sdk/src/protocol_serde/shape_delete_secret.rs
  • crates/superposition_sdk/src/protocol_serde/shape_delete_type_templates.rs
  • crates/superposition_sdk/src/protocol_serde/shape_delete_variable.rs
  • crates/superposition_sdk/src/protocol_serde/shape_delete_webhook.rs
  • crates/superposition_sdk/src/protocol_serde/shape_move_context.rs
  • crates/superposition_sdk/src/protocol_serde/shape_publish.rs
  • crates/superposition_sdk/src/protocol_serde/shape_update_dimension.rs
  • crates/superposition_sdk/src/protocol_serde/shape_update_function.rs
  • crates/superposition_sdk/src/protocol_serde/shape_update_override.rs
  • crates/superposition_sdk/src/protocol_serde/shape_update_secret.rs
  • crates/superposition_sdk/src/protocol_serde/shape_update_type_templates.rs
  • crates/superposition_sdk/src/protocol_serde/shape_update_variable.rs
  • crates/superposition_sdk/src/protocol_serde/shape_update_webhook.rs
  • crates/superposition_sdk/src/protocol_serde/shape_weight_recompute.rs
  • crates/superposition_sdk/src/serde_util.rs
  • crates/superposition_sdk/src/types.rs
  • crates/superposition_sdk/src/types/builders.rs
  • crates/superposition_sdk/src/types/error.rs
  • crates/superposition_sdk/src/types/error/builders.rs
  • docs/docs/api/Superposition.openapi.json
  • docs/docs/api/bulk-operation.StatusCodes.json
  • docs/docs/api/bulk-operation.api.mdx
  • docs/docs/api/create-context.StatusCodes.json
  • docs/docs/api/create-context.api.mdx
  • docs/docs/api/create-dimension.StatusCodes.json
  • docs/docs/api/create-dimension.api.mdx
  • docs/docs/api/create-function.StatusCodes.json
  • docs/docs/api/create-function.api.mdx
  • docs/docs/api/create-secret.StatusCodes.json
  • docs/docs/api/create-secret.api.mdx
  • docs/docs/api/create-type-templates.StatusCodes.json
  • docs/docs/api/create-type-templates.api.mdx
  • docs/docs/api/create-variable.StatusCodes.json
  • docs/docs/api/create-variable.api.mdx
  • docs/docs/api/create-webhook.StatusCodes.json
  • docs/docs/api/create-webhook.api.mdx
  • docs/docs/api/delete-context.StatusCodes.json
  • docs/docs/api/delete-context.api.mdx
  • docs/docs/api/delete-dimension.StatusCodes.json
  • docs/docs/api/delete-dimension.api.mdx
  • docs/docs/api/delete-function.StatusCodes.json
  • docs/docs/api/delete-function.api.mdx
  • docs/docs/api/delete-secret.StatusCodes.json
  • docs/docs/api/delete-secret.api.mdx
  • docs/docs/api/delete-type-templates.StatusCodes.json
  • docs/docs/api/delete-type-templates.api.mdx
  • docs/docs/api/delete-variable.StatusCodes.json
  • docs/docs/api/delete-variable.api.mdx
  • docs/docs/api/delete-webhook.StatusCodes.json
  • docs/docs/api/delete-webhook.api.mdx
  • docs/docs/api/move-context.StatusCodes.json
  • docs/docs/api/move-context.api.mdx
  • docs/docs/api/publish.StatusCodes.json
  • docs/docs/api/publish.api.mdx
  • docs/docs/api/update-dimension.StatusCodes.json
  • docs/docs/api/update-dimension.api.mdx
  • docs/docs/api/update-function.StatusCodes.json
  • docs/docs/api/update-function.api.mdx
  • docs/docs/api/update-override.StatusCodes.json
  • docs/docs/api/update-override.api.mdx
  • docs/docs/api/update-secret.StatusCodes.json
  • docs/docs/api/update-secret.api.mdx
  • docs/docs/api/update-type-templates.StatusCodes.json
  • docs/docs/api/update-type-templates.api.mdx
  • docs/docs/api/update-variable.StatusCodes.json
  • docs/docs/api/update-variable.api.mdx
  • docs/docs/api/update-webhook.StatusCodes.json
  • docs/docs/api/update-webhook.api.mdx
  • docs/docs/api/weight-recompute.StatusCodes.json
  • docs/docs/api/weight-recompute.api.mdx
  • smithy/models/context.smithy
  • smithy/models/dimension.smithy
  • smithy/models/functions.smithy
  • smithy/models/secret.smithy
  • smithy/models/type-templates.smithy
  • smithy/models/variable.smithy
  • smithy/models/webhook.smithy

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/workspace-lock-cac-entities

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@sauraww sauraww added the P0 label Jul 27, 2026
@sauraww
sauraww force-pushed the feat/workspace-lock-cac-entities branch 5 times, most recently from e92a6ae to e928bc1 Compare July 27, 2026 13:11
@sauraww
sauraww force-pushed the feat/workspace-lock-cac-entities branch from e928bc1 to 8a3e57e Compare July 27, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants