fix(lambda): include LastUpdateStatus in function configuration responses (#463)

This commit is contained in:
Christine Nguyen authored and GitHub committed 2026-04-15 16:06:15 -05:00
1 parent 4d1f8b4907
commit 25905187b3
2 files changed
+16 -2

No files matched your search

@@ -152,8 +152,21 @@ class LambdaIntegrationTest {
.statusCode(400);
}
// ── Issue #439: LastUpdateStatus in responses ─────────────────────
@Test
@Order(9)
void getFunctionIncludesLastUpdateStatus() {
given()
.when()
.get(BASE_PATH + "/functions/hello-world")
.then()
.statusCode(200)
.body("Configuration.LastUpdateStatus", equalTo("Successful"));
}
@Test
@Order(10)
void deleteFunction() {
given()
.when()
@@ -163,7 +176,7 @@ class LambdaIntegrationTest {
}
@Test
@Order(10)
@Order(11)
void deletedFunctionNotFound() {
given()
.when()
@@ -173,7 +186,7 @@ class LambdaIntegrationTest {
}
@Test
@Order(11)
@Order(12)
void createFunctionWithLargeInlineZip() throws Exception {
// Build a valid zip with a handler file + 16 MB padding so the base64
// encoding exceeds Jackson's former 20 MB maxStringLength default.