remove workflow_permanent_id from projects table + add use_cache and cache_project_id to workflows table (#3090)

This commit is contained in:
Shuchang Zheng
2025-08-01 17:07:08 -07:00
committed by GitHub
parent 12ee2bf9b0
commit d4bdca174f
8 changed files with 67 additions and 26 deletions

View File

@@ -75,7 +75,6 @@ class DeployProjectRequest(BaseModel):
class CreateProjectResponse(BaseModel):
project_id: str = Field(..., description="Unique project identifier", examples=["proj_abc123"])
version: int = Field(..., description="Project version number", examples=[1])
workflow_id: str | None = Field(default=None, description="ID of the workflow this project is associated with")
run_id: str | None = Field(
default=None, description="ID of the workflow run or task run that generated this project"
)
@@ -90,7 +89,6 @@ class Project(BaseModel):
project_revision_id: str = Field(description="Unique identifier for this specific project revision")
project_id: str = Field(description="User-facing project identifier, consistent across versions")
organization_id: str = Field(description="ID of the organization that owns this project")
workflow_id: str | None = Field(default=None, description="ID of the workflow this project is associated with")
run_id: str | None = Field(
default=None, description="ID of the workflow run or task run that generated this project"
)