Skip to content

feat(microvm): add lifecycle hook service - #5280

Draft
edersonbrilhante wants to merge 3 commits into
feat-microvm-runner-providerfrom
feat-microvm-lifecycle-hooks
Draft

feat(microvm): add lifecycle hook service#5280
edersonbrilhante wants to merge 3 commits into
feat-microvm-runner-providerfrom
feat-microvm-lifecycle-hooks

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Description

Adds only the lambdas/services/microvm-lifecycle-hooks service.

  • Packages the Lambda MicroVM lifecycle HTTP server as a self-contained NCC artifact.
  • Preserves strict lifecycle payload validation and the documented runtime contract.
  • Provides lifecycle handling for runner configuration consumption and graceful shutdown.
  • Documents the Node 24/s6 Docker build, complete dist/ copy, rollout order, and least-privilege runtime requirements.

This PR is stacked on #5255 and consumes the SSM runner-config consumer supplied by the storage-provider work in #5277. It does not add storage-provider implementations or DynamoDB changes.

Test Plan

Related Issues

@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

lambdas/services/microvm-lifecycle-hooks/package.json

PackageVersionLicenseIssue Type
@aws-github-runner/storage-providersNullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@aws-github-runner/storage-providers UnknownUnknown
npm/@types/node ^22.19.3 UnknownUnknown
npm/@vercel/ncc ^0.38.4 UnknownUnknown

Scanned Files

  • lambdas/services/microvm-lifecycle-hooks/package.json

@edersonbrilhante
edersonbrilhante changed the base branch from feat-dynamodb-storage-provider to main September 2, 2026 17:26
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 13c3be9 to 3b01396 Compare September 3, 2026 21:41
@edersonbrilhante
edersonbrilhante changed the base branch from main to feat-microvm-runner-provider September 3, 2026 21:41
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 3b01396 to ff1c303 Compare September 3, 2026 23:01
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from ff1c303 to 875750c Compare September 3, 2026 23:09
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 875750c to 1ebe98e Compare September 3, 2026 23:15
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from b3fc224 to b2ebcca Compare September 4, 2026 10:50
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from b2ebcca to 79651c5 Compare September 4, 2026 11:20
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 79651c5 to 140f5af Compare September 4, 2026 11:37
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 140f5af to 485aa97 Compare September 4, 2026 11:43
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 485aa97 to 8d00fd5 Compare September 4, 2026 11:50
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 8d00fd5 to 955406c Compare September 4, 2026 11:53
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 955406c to 4317bfb Compare September 4, 2026 12:04
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 4317bfb to f5669db Compare September 4, 2026 12:11
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from f5669db to 9148986 Compare September 4, 2026 12:16
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 9148986 to f0b9051 Compare September 4, 2026 12:23
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from f0b9051 to 9297739 Compare September 4, 2026 12:27
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 9297739 to 3fde8d9 Compare September 4, 2026 12:33
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 3fde8d9 to 682954e Compare September 4, 2026 12:37
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 682954e to 07d732d Compare September 4, 2026 12:39
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 07d732d to 7b0f607 Compare September 4, 2026 12:46
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 7b0f607 to d4d9aea Compare September 4, 2026 12:55
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from d4d9aea to af0ee7b Compare September 4, 2026 12:59
@edersonbrilhante edersonbrilhante added compute-provider:aws_microvm javascript Pull requests that update Javascript code labels Sep 4, 2026
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from af0ee7b to 810661e Compare September 8, 2026 15:29
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch 2 times, most recently from 1305bdb to 3181b33 Compare September 8, 2026 20:26
@edersonbrilhante
edersonbrilhante force-pushed the feat-microvm-lifecycle-hooks branch from 3181b33 to 995fd22 Compare September 8, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compute-provider:aws_microvm javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant