cog
omnibus actual concurrency and major refactor
#1530
Merged

omnibus actual concurrency and major refactor #1530

technillogue merged 96 commits into async from syl/more-refactor
technillogue
technillogue technillogue force-pushed the async branch from fb41455d to 55c04685 1 year ago
technillogue technillogue force-pushed the async branch from 55c04685 to cc246aca 1 year ago
technillogue technillogue force pushed from 2fd12fe0 to f68a9688 1 year ago
technillogue technillogue force-pushed the async branch from cc246aca to f57474da 1 year ago
technillogue technillogue force-pushed the async branch from f57474da to 85d28146 1 year ago
technillogue technillogue force-pushed the async branch from 85d28146 to f57474da 1 year ago
yorickvP yorickvP added async
yorickvP
yorickvP commented on 2024-02-13
technillogue technillogue force pushed from 268b9134 to 8f7a594a 1 year ago
technillogue technillogue force pushed from 8f7a594a to 3563178b 1 year ago
technillogue technillogue force-pushed the async branch from 03659b2d to f57474da 1 year ago
technillogue technillogue marked this pull request as ready for review 1 year ago
technillogue technillogue force pushed from d9fdb550 to 9bc6ece0 1 year ago
technillogue technillogue force pushed from 9bc6ece0 to f390777b 1 year ago
technillogue technillogue force-pushed the async branch from f57474da to d6cc65d2 1 year ago
technillogue technillogue force-pushed the async branch from d6cc65d2 to 1e8c300b 1 year ago
technillogue technillogue force-pushed the async branch from 1e8c300b to 335f67b1 1 year ago
technillogue technillogue force pushed from 71dfeb4d to 51e8a45b 1 year ago
technillogue technillogue force pushed from d9651854 to 644d1cd0 1 year ago
technillogue add concurrency to config
d1158d3e
technillogue this basically works!
c75606e0
technillogue more descriptive names for predict functions
a73fbcee
technillogue maybe pass through prediction id and try to make cancelation do both?
c7a775db
technillogue don't cancel from signal handler if a loop is running. expose worker …
c6b03aa7
technillogue move handle_event_stream to PredictionEventHandler
d5962735
technillogue make setup and canceling work
cd2d1153
technillogue drop some checks around cancelation
52ccf7bb
technillogue try out eager_predict_state_change
faed8c1e
technillogue keep track of multiple runner prediction tasks to make idempotent end…
9f0e8d01
technillogue fix idempotent tests
5ab395f1
technillogue fix remaining errors?
9c2f1bff
technillogue worker predict_generator shouldn't be eager
dc126b32
technillogue wip: make the stuff that handles events and sends webhooks etc async
d3e3337b
technillogue drop Runner._result
d637e564
technillogue drop comments
60fc4234
technillogue inline client code
27a25c18
technillogue get started
09790875
technillogue inline webhooks
ddf6fbd0
technillogue move clients into runner, switch to httpx, move create_event_handler …
14f7862a
technillogue add some comments
0cc4ec19
technillogue more notes
c8c8add1
technillogue rip out webhooks and most of files and put them in a new ClientManage…
65680832
technillogue move create_event_handler into PredictionEventHandler.__init__
bc717e09
technillogue fix one test
0cce2f9d
technillogue break out Path.validate into value_to_path and inline get_filename an…
624ceb6e
technillogue split out URLPath into BackwardsCompatibleDataURLTempFilePath and URL…
ea7fa78a
technillogue let's make DataURLTempFilePath also use convert and move value_to_pat…
412b3342
technillogue use httpx for downloading input urls and follow redirects
6e11f58a
technillogue take get_filename back out for tests
e70c42be
technillogue don't upload in http and delete cog/files.py
988d1d17
technillogue drop should_cancel
7ab2b63e
technillogue prediction->request
3ad1322b
technillogue split up predict/inner/prediction_ctx into enter_predict/exit_predict…
960ad748
technillogue bigish change: inline predict_and_handle_errors
419e8195
technillogue inline make_error_handler into setup
22dfb2f1
technillogue move runner.setup into runner.Runner.setup
0e1323af
technillogue add concurrency to config in go
a85cb38a
technillogue try explicitly using prediction_ctx __enter__ and __exit__
8f04cd9b
technillogue make runner setup more correct and marginally better
20a221fb
technillogue fix a few tests
d2150e21
technillogue notes
08b24581
technillogue wip ClientManager.convert
83413852
technillogue relax setup argument requirement to str
8bd2fbcb
technillogue glom worker into runner
974675f9
technillogue add logging message
4eefaba2
technillogue fix prediction retry and improve logging
a9a92f70
technillogue split out handle_event
9e27b97b
technillogue use CURL_CA_BUNDLE for file upload
edde23ec
technillogue clean up comments
7b9179b4
technillogue dubious upload fix
6996db3c
technillogue small fixes
a2003461
technillogue attempt to add context logging?
cb3a9dec
technillogue tweak names
d62eec33
technillogue fix error for predictionOutputType(multi=False)
5fbe634b
technillogue improve comments
252f3acb
technillogue fix lints
41b47f4f
technillogue skip worker and webhook tests since those were erroring on removed im…
c36221d5
technillogue upload in http instead of PredictionEventHandler. this makes tests pa…
3104fd00
technillogue format
6e8e1176
technillogue fix some new-style type signatures and drop 3.8 support
d2fbe71b
technillogue drop 3.7 in code
f7196531
technillogue add logging around webhook status to debug out-of-order webhooks
9356a966
technillogue loosen httpx version requirement
09988977
technillogue technillogue force pushed from e1261d26 to b98404de 1 year ago
technillogue technillogue force pushed from 5641c9a5 to 4b57f752 1 year ago
technillogue technillogue force pushed from 55c6cf27 to f74c48fb 1 year ago
technillogue technillogue force pushed from 831b7e6a to df53d80a 1 year ago
technillogue technillogue force pushed from 7214623b to 35c6ab8d 1 year ago
technillogue technillogue force pushed from ef732f9d to 9feacd5f 1 year ago
technillogue tweak names
8ec2a172
technillogue technillogue requested a review from nickstenning nickstenning 1 year ago
technillogue technillogue requested a review from mattt mattt 1 year ago
technillogue
technillogue technillogue force pushed from 9feacd5f to 47021c93 1 year ago
technillogue technillogue force pushed from 47021c93 to 4398d977 1 year ago
technillogue partially revert "upload in http instead of PredictionEventHandler. t…
9672103b
technillogue validate prediction response to raise errors, but return the unvalida…
de2a8284
technillogue notes
69cfeac8
technillogue expose concurrency in healthcheck
a27048cc
technillogue pass through verify to wrapped transport
065c483c
technillogue validate prediction response to raise errors, but return the unvalida…
de2a8284
technillogue notes
69cfeac8
technillogue expose concurrency in healthcheck
a27048cc
technillogue error in activity_info
c08f4d19
technillogue mediocre logging that works like print
86585cc8
technillogue COG_DISABLE_CANCEL to ignore cancelations
5e14ac90
technillogue COG_CONCURRENCY_OVERRIDE
405936cd
technillogue add ready probe as an http route
85adde5b
technillogue encode webhooks only after knowing they will be sent, and bail our of…
0f6d8d43
technillogue remove threading for the pipe by using AsyncConnection
d18e1300
technillogue drop race!
d1efaa50
technillogue type hints
93d58f5f
technillogue fix for older python
fc9bc479
technillogue optimize logging by binding structlog proxies
3d8f8c17
technillogue don't validate outputs
2a84cb7d
technillogue format and lint
3262996b
technillogue add AsyncConcatenateIterator
b2e27fac
technillogue apply a partial merge of async with comments and stuff
e01ee613
technillogue should_exit is not actually used by http
3ca8aec3
technillogue format
77b34438
technillogue replace requests with httpx and factor out clients (#1574)
2d9454d9
technillogue implement mp.Connection with async streams (#1640)
4ca470a3
technillogue AsyncConcatenateIterator
3e97cc87
technillogue fix type hint
9ca6a6ba
technillogue technillogue force pushed from 4398d977 to 9ca6a6ba 1 year ago
technillogue merge async
4cf75661
technillogue technillogue force pushed from b5b29ce3 to 4cf75661 1 year ago
technillogue technillogue force-pushed the async branch from 8ec2a172 to c62cf676 1 year ago
technillogue clean up
6b8ab71d
nickstenning
nickstenning commented on 2024-05-10
nickstenning
nickstenning commented on 2024-05-10
nickstenning
nickstenning commented on 2024-05-10
nickstenning
nickstenning commented on 2024-05-10
nickstenning
nickstenning commented on 2024-05-10
nickstenning
nickstenning commented on 2024-05-10
nickstenning
nickstenning commented on 2024-05-10
nickstenning
nickstenning commented on 2024-05-10
nickstenning
nickstenning commented on 2024-05-10
technillogue technillogue closed this 1 year ago
technillogue technillogue reopened this 1 year ago
technillogue technillogue force pushed from 6200e7e7 to 5175244c 1 year ago
technillogue technillogue force pushed from faeed9b4 to db00f5a4 1 year ago
technillogue technillogue force pushed from 53a53185 to 84cece7c 1 year ago
technillogue technillogue force pushed from 4c7821d4 to 90447622 1 year ago
technillogue technillogue force pushed from 90447622 to 18af4046 1 year ago
technillogue technillogue force pushed from 18af4046 to bd696782 1 year ago
technillogue technillogue force pushed from bd696782 to 7098fdee 1 year ago
technillogue codecov
f69667f1
technillogue describe the remaining problems with this PR and add comments about c…
e7808347
technillogue add a test
40bdb541
technillogue technillogue force pushed from 7098fdee to 40bdb541 1 year ago
technillogue technillogue merged 0ebfc547 into async 1 year ago
technillogue technillogue deleted the syl/more-refactor branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone