-
Notifications
You must be signed in to change notification settings - Fork 225
Live Runner #3938
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
Live Runner #3938
Changes from 101 commits
Commits
Show all changes
124 commits
Select commit
Hold shift + click to select a range
bb51ef7
Serverless
60933e3
TEMP
j0sh f495713
ai/scope: Take WebSocket URL and capacity from config file
j0sh e279b37
Create trickle streams on demand via websocket
j0sh b023f84
Temp LV2V hacks for Scope:
j0sh f26e354
Take websocket URL from params
j0sh 977d660
Don't print event contents; they are large
j0sh 75613d7
fixup! Take websocket URL from params
j0sh 41e3e6c
Extend handshake to a `started` message; this would include auth
j0sh 3e4134d
Canonicalize websocket URLs to lowercase
j0sh 6bbce26
Retry event loop on errors
j0sh d541137
Close control/event channels on websocket termination.
j0sh c326b44
Handle websocket retries.
j0sh d38b897
trickle: Support publisher resets.
j0sh 8da1c69
trickle: Add a /<channel>/next endpoint.
j0sh 04ac4c5
Return a 401 for auth errors during the websocket handshake.
j0sh 4f9535f
signer: Add an auth webhook callback.
j0sh 5fc1345
signer: Cache webhook auth to skip redundant calls.
j0sh 3ada704
ai/scope: Add Scope specific orchestrator endpoint.
j0sh 4721c3b
Use control URL for base path extraction
j0sh 92abb16
Use application-level ping-pong messages.
j0sh cccadb5
go fmt
j0sh 0da6e61
Use full trickle channel URL as map key.
j0sh 13a73ab
Handle interleaved pongs during handshake retries.
j0sh aa6c987
Revert "Handle interleaved pongs during handshake retries."
j0sh cacee23
Stop ping/pong during runner restarts.
j0sh fa35b2a
Wrap websocket
j0sh 610ee3b
Configurable serverless timeout
j0sh 1882716
trickle: Optimize fanout buffering
j0sh 7b71171
feat(signer): restore /sign-byoc-job endpoint for BYOC inference
seanhanca 656f8b6
Separate transport and business-logic auth errors
j0sh 47c2a2b
ai/live: Add request headers for remote signer
j0sh 3a07ed3
Return 400 on invalid ws url
j0sh efa5259
Add a notification + grace period for timeouts.
j0sh fb5dccb
Set ManifestID / DaydreamUserId from headers
j0sh 18c28fa
trickle: Return 200 instead of 470 on empty segments.
j0sh 114d610
Use clog instead of slog
j0sh 4166548
Initial Live Runner implementation
j0sh cf1f8d3
Serverless worker as a synthetic LiveRunner
j0sh 72eb806
Price handling tweaks, various simplifications
j0sh 0b5a4c8
Rename to UseLiveRunners, enforce OrchSecret
j0sh 47cb618
Move price conversion logic into runner itself
j0sh d3ac6fc
Add callback for trickle channel create / delete
j0sh b60016e
Add orchestrator URL to runner response
j0sh 6d16641
Add live runner session endpoints
j0sh 23e4839
Add create / delete trickle channel API to runner
j0sh 57238ac
Separate creds for runner bootstrap, heartbeat, session
j0sh 3c4ac32
Include runner ID with incoming requests
j0sh 2d9d5a3
Override trickle base with configured url if necessary
j0sh 405947c
Add runner registration from JSON config
j0sh a340df1
Add no-SSL mode via -httpAddr
j0sh 889a44e
Runner single-shot mode
j0sh e78d14d
Support path-only static runner health URLs
j0sh 0050d79
Offchain mode for live runners
j0sh 9a4ad1b
Add single-shot alias
j0sh d1bec77
Update discovery price info
j0sh e1d994d
Add label-based routing
j0sh e8aeef5
Add Session-Control header for session control from internal runners
j0sh d74671e
Comments and wording tweaks
j0sh 2720bce
Add runner payment support.
j0sh b3c73fa
Add payment refresh endpoint
j0sh ef1fb60
Add orch URL header to refresh message
j0sh 2d79a35
Add payment challenge to /scope endpoint
j0sh e88988a
Remove Scope carveouts from LV2V
j0sh deaee30
Remove extraneous trickle benchmarks, fix test
j0sh 9a59f26
Hide remote signer auth headers
j0sh cded6e3
Use manifest ID as session ID
j0sh 860308f
Limit request payloads
j0sh 0a6f1c9
Work in offchain mode with latest Scope
j0sh aa995c1
Add capacity to discovery
j0sh 3cc3b4c
Add runners to signer discovery
j0sh 5c77ba1
Granular per-runner locking
j0sh c3c93ef
Consolidate heartbeat checks
j0sh 7fb1f62
Fixup tests
j0sh ffd643a
Add payment monitoring
j0sh 41df986
Add r2o / o2r trickle channels
j0sh c2a374d
trickle: Don't autocreate local writes unless configured.
j0sh a358c9d
Add o2r keepalive
j0sh 696d321
Remove r2o trickle channel
j0sh dfb5802
Add sessions to heartbeat
j0sh d2f3745
Add internal session-stop endpoint for live runner
j0sh 6b4393d
Allow remote discovery from runners
j0sh e13ac6d
Split live runner callback URI from public service URI
j0sh bf8f95a
Fix live runner trickle public URL
j0sh d9ee753
Add non-grpc selfcheck using discovery
j0sh 0de5e7c
Fix pricing
j0sh 1f227c8
Fix serverless Scope payments with live runner
j0sh a7cbaef
Make header parsing more resilient
j0sh 5ae964c
Fix payment refreshes
j0sh e8520f6
Fix legacy Scope clients.
j0sh c0e79cc
reject tickets with zero expiration block
j0sh e545b98
Add session-scoped payment endpoint
j0sh 81f24cf
Add control URL to client session response
j0sh 6033eb0
Merge branch 'master' into ja/live-runner
j0sh 76c9c63
add serverless worker tests
j0sh 64cf17c
fix discovery tests
j0sh e4f29f9
Merge branch 'master' into ja/live-runner
j0sh 37f7bf6
fix(ai/live-runner): derive Session-Control header from liveRunnerAdd…
rickstaa 3df2338
Merge branch 'master' into ja/live-runner
j0sh e645608
Set correct JSON mome type for O2R trickle channel.
j0sh aa81fd5
Fix mime type tests
j0sh 4c2f623
feat(ai/runner): log live runner register and deregister events (#3943)
rickstaa 25ade72
fix(remote-signer): keep retrying discovery while the cache is empty …
rickstaa c2db3cb
Add proxy URLs
j0sh 0cff1bd
Stop filtering remote discovery runners by capability
j0sh 004450d
Add 'live' pricing type
j0sh 2a09807
s/Route/Routing/g
j0sh fe6c786
Add live runner docs
j0sh a03a0e8
Generalize live payment units
j0sh 4a95c4f
Rename LV2V payment processor
j0sh a38177d
Add seconds-based live payment processor
j0sh 253fef3
Minimize payment processor unit changes
j0sh a4dade6
Keep payment processor callback naming
j0sh 884b277
Carry fractional live payment units
j0sh 8273db9
Revert 7b71171d3f9b8dd94f8ecfd3edb97d018f2ed1b8
j0sh 67dc4cd
Merge remote-tracking branch 'origin/master' into ja/live-runner
j0sh ca09ddf
Add metadata passthrough
j0sh b90c6b3
Support empty proxy target_url
j0sh 7727bbe
Support single-shot proxy URLs
j0sh 3800923
Fix proxy URL with port
j0sh 802b103
Allow SDK and persistent default proxies
j0sh 73142cd
early exit on invalid payment type
j0sh d258abb
Fix live payment signer tests
j0sh 32c2352
Log on session open / close
j0sh 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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.