Conversation
Add scripts/js-examples/run.sh. It runs the JS SDK's example tests against the testing package's local runner. It creates a venv, fetches and builds the JS SDK at a pinned commit, runs the tests, and exits non-zero on any failure. The workflow runs it on changes to the testing package, and weekly against JS main. The Lambda shim runs each function on reusable worker threads. When an invocation passes the function's Timeout, the shim terminates the worker, as Lambda does. step/interrupted-no-retry depends on this. All 121 test files with cloud tests pass in about 2.5 minutes on 4 CPUs.
Contributor
Author
|
Canary done: the js-examples job failed on invoke/simple as expected (run 36606956746). Closing. |
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.
Expected to fail. Adds one line on top of 745 that drops the chained-invoke result in the local runner, to check that the JS examples workflow goes red on a runner regression (expected failure:
invoke/simple). Close without merging.