Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance the release process to automatically test Lambda layer operation #2921

Open
fallwith opened this issue Oct 25, 2024 · 1 comment
Open

Comments

@fallwith
Copy link
Contributor

With #2919 having demonstrated that a change unrelated to serverless operation can inadvertently impact serverless operation, we ought to proactively prevent any future similar issue from happening by hardening the agent's release process.

Here are at least 2 complementary ideas that can be explored:

  • Additional testing prior to release: We could potentially modify the publish-layers.sh script described in the layers README to produce .zips but skip their publication. The zips could then be incorporated into a CDK (probably, though CFN or TF might work too) based workflow that would spin up a Ruby Lambda function with a .zip based layer applied. The function could then be invoked and NRQL used to confirm a successful invocation.
  • Additional testing post release: Immediately after an agent release has produced newly published Lambda layers, those layers could be applied to a Ruby Lambda function and tested by invoking the function and performing a NRQL query to confirm successful invocation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant