* pass RuntimeEnv in task spec as opaque string
* lint
* set correct empty value for json: "{}" not ""
* add comment for field in proto
* fix worker pool test by checking both "" and "{}"
* add RAY_CHECK todo
* make dict empty if all values null
* remove unnecessary ser/de
* fix
* address comments
* add WorkerCacheKey with hash function
* clean up
* add naive impl., dedicated workers never killed
* put dedicated workers in idle_of_all_languages
* pipe env hash from worker.py -> Worker
* fully pipe through hash, basic cache test passing
* use int type for runtime env hash
* convert Worker env hash type from size_t to int
* fix
* add method to MockWorker to fix cpp tests
* make compatible with java streaming test
* restore old dynamic_options code to fix java test
* address comments
* add comment about sorting before hash
* add comments for private members of WorkerCacheKey
* Refactor raylet to allocate+write+seal one return object at a time
* Fix build
* Fix C++ and Java runtime
* Skip Windows testing
* Fix java and cpp runtime
* Fix warnings
* Fix cpp and java tests
* Fix cpp and java runtime
Co-authored-by: Stephanie Wang <swang@cs.berkeley.edu>
* Add mock code first
* In the initial progress.
* Fix the number error
* In progress.
* in more pgoress.
* in progress.
* lint.
* Prototype done.
* Fix compilation bug.
* Now it is working with reference counting.
* Remove template.
* lint.
* Fixed issues.
* Fix reference count test.
* Reference count test passes now.
* Fixed the test array problem
* Addressed code review.
* lint.
* Addressed half of code review.
* Fix tests.
* Addressed the most critical issue.
* Make subscriber thread-safe.
* Revert "Make subscriber thread-safe."
This reverts commit 9a6a52197cfa8463ab60dfaae9530ad3c0ed8790.
* Fixed test failures. The only failure now is the asan failure.
* Reset test suites and see if it fixes the issue.
* Fix a flaky test
* Addressed code review.
* Enabling all test cases on test_client.py
* Moving test_client.py to a large CI py_test_module_list
* Disabling test_client::test_remote_functions
* Divide Run CI script action into separete Build action and Test action
* Reverting test_client.py to separate work for different tickes
* Reverting python\ray\tests\BUILD to separate work for different tickets
* create_and_mmap_buffer() - In case CreateFileMapping() fails, GetLastError() return code is printed
* Addressed lint comments
Co-authored-by: Philipp Moritz <pcmoritz@gmail.com>
* Reenable event loop instrumentation.
* Take stats handle by copy in post() handler closure.
* Revert "Take stats handle by copy in post() handler closure."
This reverts commit e46777939bcc3bb4bb101e136e9d3348ea4ae1a1.
* fix spilling failure
* format
* unittests added
* format
* format
* format
* fix
* add comment
* fix some comments
* add test cases
* format
* format
* Added manual hooks in event loop instrumentation.
* Added instrumentation of the deadline timer in the periodical runner.
* Added instrumentation of the local stream socket in the ClientConnection.
* Addressed feedback except for opaque handle.
* Switch to opaque stats handle API.
* Add opaque stats handle destructor check to ensure that RecordExecution is called.
* Revert "Add opaque stats handle destructor check to ensure that RecordExecution is called."
This reverts commit 62cf8fca670d78c1160f0a9526b6cbe6e3a25725.
* Apply suggestions from code review
Co-authored-by: SangBin Cho <rkooo567@gmail.com>
* Other feedback, fixes for code suggestions.
* Prevent handler stats from leaking queueing stats when handler execution is never recorded.
* Enable event loop instrumentation.
* Revert "Enable event loop instrumentation."
This reverts commit df90c504e45e1963dc2ef6c3197dc5c965bc19e7.
* Reorg GCS client and IO context member fields to prevent use-after-free.
Co-authored-by: SangBin Cho <rkooo567@gmail.com>
* Revert "Revert "[GCS]Increase heartbeat interval to reduce pressure on gcs server (#14203)" (#15194)"
This reverts commit a9ac4ad890.
* optimize wait condition to avoid flakey test
* remove unnecessary sleep