Repository navigation
fix(aws-python-scheduled-cron): resume the live test now that Python logs show in output - #836
Merged
Merged
Conversation
…logs show in output Serverless Framework 4.47.0 shows messages logged with Python's logging module in serverless invoke --log and serverless logs output, so the example's invoke check passes again. Remove the quarantine and show the invoke and logs output from a real run in the README.
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.
Serverless Framework 4.47.0 shows messages logged with Python's
loggingmodule inserverless invoke --logandserverless logsoutput (serverless/serverless#14137). Theaws-python-scheduled-cronexample was quarantined because itsinvokecheck looks for such a message. This resumes its live test.Changes
aws-python-scheduled-cron/example.json: removetest.quarantine. The check is unchanged.aws-python-scheduled-cron/README.md: Deploy output refreshed from the last run after the README was finished (package size 3.6 kB); Try it now shows the realserverless invoke --logandserverless logsoutput from a run on 4.47.0.Onboarding example: only
README.mdandexample.jsonchanged.npm run docsregenerated nothing else (npm run check-docsclean).Test plan
AWS
us-east-1, released CLI.Live test on the final tree (
node scripts/test-example.mjs aws-python-scheduled-cron):Stage
exljysdj3gq. An earlier run before the README edits also passed (PASS aws-python-scheduled-cron 4.47.0 187s, stageexl5rg7tjf9).Negative control, same check with
--framework-version 4.46.0(stageexla52kcwun): the log line readsundefined, and the run stops at the check step:README followed by hand from a copy (stages
pycronrd1,pycronrd2): deploy,invoke --log,logs,invoke localandremovebehaved as the page shows.Leftovers:
aws cloudformation list-stacks(active states) andaws logs describe-log-groups --log-group-name-prefix /aws/lambda/aws-python-scheduled-cronreturn nothing after all runs.Static:
npm test323/323 pass;npm run validate0 errors;npm run check-docsclean.Generated by Claude Code