Repository navigation
Upgrade to Serverless v3 and add CI that tests the todos API - #3
Merged
Merged
Conversation
Upgrade to Serverless v3 and add CI that tests the todos API Claude-Session: https://claude.ai/code/session_01DZfDmzUBPqNAu3yFKyfCNM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The repo had no CI and had not been updated since 2021. The pinned Serverless v1 and serverless-localstack no longer deploy.
serverless.yml:frameworkVersion: "3"runtime: python3.11, since the v3 schema rejects python3.12${sls:stage}and${aws:region}, since v3 cannot resolveself:provider.regionpackage.jsonusesserverless ^3.40.0andserverless-localstack ^1.4.0.package-lock.jsonis regenerated.install,start,stop,deploy,testandremove.test.shcreates, reads, lists, updates and deletes a todo through the API.Content-Type: application/json. Without it, LocalStack's API Gateway re-encodes the body as form data and the Lambda fails to parse it.make install deploy test.Tested locally against LocalStack.
https://claude.ai/code/session_01DZfDmzUBPqNAu3yFKyfCNM