mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 14:10:49 -05:00
* feat(lambda): support ImageConfig.WorkingDirectory override Propagate WorkingDirectory from the Lambda ImageConfig through the full stack so container images that rely on a specific WORKDIR can be invoked correctly, matching real AWS behavior. - LambdaFunction: add imageConfigWorkingDirectory field + getter/setter - LambdaService: parse WorkingDirectory on CreateFunction and UpdateFunctionConfiguration - ContainerSpec: add workingDir record component - ContainerBuilder: add withWorkingDir() fluent method - ContainerLifecycleManager: pass workingDir to Docker via withWorkingDir() - ContainerLauncher: apply workingDir when building the container spec - LambdaController: serialize WorkingDirectory in ImageConfigResponse * test(lambda): add tests for ImageConfig.WorkingDirectory Unit tests (LambdaImageConfigTest): - CreateFunction stores WorkingDirectory alongside Command/EntryPoint - createFunction with all three fields together - updateFunctionConfiguration updates and clears WorkingDirectory - ContainerLauncher passes workingDir to ContainerSpec Compat tests across all SDKs: - awscli (lambda.bats): create/get/update WorkingDirectory round-trip - Java SDK (LambdaFunctionConfigTest): ImageConfig.WorkingDirectory round-trip - Python (test_lambda_function_config.py): TestImageConfigWorkingDirectory class - Node (lambda.test.ts): create/update WorkingDirectory assertions - Go (lambda_test.go): TestLambdaImageConfigWorkingDirectory subtests - Rust (lambda_test.rs): full create/get/update round-trip