Localstack - #3
Merged
Merged
Conversation
added 3 commits
September 12, 2026 11:55
The Homebrew jolt formula ships jolt without the compiler. probe shelled out to joltc run regardless, so on that install the task started the mock Runtime API and then waited on a process that could never start -- for minutes. Check for joltc on PATH first and exit 1 with the install hint.
One switch, LAMBDA_ENDPOINT_URL: unset, every aws CLI call behaves exactly as before (real AWS). Set, every aws call made by deploy/invoke/teardown/ bench/demo is redirected to the endpoint with LocalStack's dummy credentials, and the real-AWS credential preflight is skipped -- so the whole lifecycle runs with no AWS account at all. - script/localstack.clj: pure helpers (endpoint parsing, aws argv rewriting, dummy-credential env, docker run argv) with unit tests - script/localstack_run.clj + jolt localstack:start|demo|stop|status: bring up a LocalStack container, then run this repo's own tasks against it. Image pinned to localstack/localstack:4.13.1 -- everything newer (March 2026 licensing change) exits 55 without LOCALSTACK_AUTH_TOKEN; LOCALSTACK_AUTH_TOKEN/LOCALSTACK_IMAGE are honored for those who have one - jolt test now covers the localstack helpers too - docs/guide/localstack.md: quickstart, the env var, version pinning, and why LocalStack numbers are useless for the cold/warm bench question Verified end to end on this machine: localstack:demo deployed the arm64 zip and invoked it (hello from jolt on lambda, warm_invocation counter), teardown + stop clean up both the function and the container.
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.
No description provided.