Repository navigation
Outpost in SDK #15417
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
Merged
Merged
Outpost in SDK #15417
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d8f8b0c
sdk: add Python Outpost reduction and Redis-backed client
frankie567 17dcedc
sdk: cache Outpost state locally and synchronize through Redis Pub/Sub
frankie567 2097ec8
sdk: add TypeScript Outpost with local state and Redis synchronization
frankie567 6efdc4a
sdk: regenerate
frankie567 026a4ef
sdk: build TypeScript package when installed from Git
frankie567 5c8cfc0
sdk/ts: fake outpost snapshot command
frankie567 6a5794e
sdk/e2e: add a test harness for Outpost SDK
frankie567 feae30c
sdk/e2e: more tight scenario and harness improvements
frankie567 5e42791
Revert "sdk/ts: fake outpost snapshot command"
frankie567 4b66918
sdk/outpost: remove payload validation
frankie567 ebb77de
sdk/e2e: tighten concurrent scenario
frankie567 52462b3
sdk/e2e: move fake server to Python
frankie567 0ce75a1
handbook: remove local reduction rfc
frankie567 2ac3228
sdk/outpost: fix reducing inconsistencies
frankie567 ad1579a
fix(outpost): support mapping metadata traversal
frankie567 7c2afa3
fix(outpost): specify async generator send types
frankie567 ff6df4a
sdk/outpost: implement snapshot contract
frankie567 da35dde
sdk/outpost: work with microseconds cold_until/version
frankie567 4c6e411
sdk/outpost: fix typing
frankie567 360b724
sdk/e2e: run tests in CI
frankie567 cad605c
sdk/e2e: give more leeway to concurrent scenario
frankie567 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| node_modules/ |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| { | ||
| "languages": { | ||
| "Python": { | ||
| "language_servers": ["ty", "ruff", "!basedpyright", "!pylsp"], | ||
| "format_on_save": "on", | ||
| "wrap_guides": [88], | ||
| "formatter": [ | ||
| { "code_action": "source.organizeImports.ruff" }, | ||
| { "code_action": "source.fixAll.ruff" }, | ||
| { | ||
| "language_server": { | ||
| "name": "ruff", | ||
| }, | ||
| }, | ||
| ], | ||
| }, | ||
| }, | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Outpost SDK scenario harness | ||
|
|
||
| ## Run | ||
|
|
||
| Requires `uv`, `just`, Node 24+, `pnpm`, and either `redis-server` on PATH or | ||
| `E2E_REDIS_URL`. Install the SDK | ||
| dependencies once (the TypeScript SDK needs its own build dependencies): | ||
|
|
||
| ```sh | ||
| cd sdk/typescript && just install | ||
| cd ../e2e | ||
| just install | ||
| just test | ||
| ``` | ||
|
|
||
| To use Redis exposed by a container on port 6379: | ||
|
|
||
| ```sh | ||
| E2E_REDIS_URL=redis://127.0.0.1:6379/0 just test | ||
| ``` | ||
|
|
||
| The SDK CI workflow runs both languages against a Redis service container using | ||
| this environment variable. |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.