2114 extensibility manage serverless execution from built code (#17317)
Summary - Serverless functions are now built when created/updated instead of at execution time - Added builtHandlerPath field to track pre-built function artifacts - Renamed base-typescript-project to seed-project with pre-built ESM output included - Renamed file folder enums for consistency (Functions → BuiltFunction, SourceCode → Source) - supports backwards compatibility with existing serverless functions Tested with all combinations - storage : local driver and S3 driver - serverless : local driver and lambda driver
This commit is contained in:
@@ -25,6 +25,7 @@ export type ServerlessFunctionManifest = SyncableEntityOptions & {
|
||||
timeoutSeconds?: number;
|
||||
triggers: ServerlessFunctionTriggerManifest[];
|
||||
handlerPath: string;
|
||||
builtHandlerPath?: string; // Should be required when build mode implemented
|
||||
handlerName: string;
|
||||
toolInputSchema?: InputJsonSchema;
|
||||
isTool?: boolean;
|
||||
|
||||
@@ -7,8 +7,8 @@ export enum FileFolder {
|
||||
ServerlessFunctionToDelete = 'serverless-function-to-delete',
|
||||
File = 'file',
|
||||
AgentChat = 'agent-chat',
|
||||
Functions = 'functions',
|
||||
FrontComponents = 'front-components',
|
||||
Assets = 'assets',
|
||||
SourceCode = 'source-code',
|
||||
BuiltFunction = 'built-function',
|
||||
BuiltFrontComponent = 'built-front-component',
|
||||
Asset = 'asset',
|
||||
Source = 'source',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user