Changelog
🚨 *Breaking Changes*
* Removed FluentBit-related CLI options: `orq {up,down} --fluentbit` flag. Logs produced by the local Ray runtime are read directly by the SDK now. This only affects users who used the experimental integration with FluentBit docker container.
* `GitImport` will no longer be downloaded automatically when using Ray locally. This reverts behavior to `v0.42.0`.
* Internal configuration environment variables have changed.
🔥 *Features*
* Secrets can now be used inside workflow functions
* `sdk.secrets.get("name")` will now use passport-based authorization if `ORQUESTRA_PASSPORT_FILE` environment variable is set. Otherwise, passing a valid `config_name="..."` is required.
* Bump Ray version to 2.3
* `GithubImport` can be used with a username and a secret referring to a "personal access token" to enable private GitHub repositories on Compute Engine. Server side support coming soon!
🐛 *Bug Fixes*
* Getting full logs produced by Ray workflows. Previously, the dictionary returned by `logs_dict = wf_run.get_logs()` had just a single entry: `{"logs": ["task 1 log", "task 1 log", "task 2 log", "task 2 log"]}`. Now, the dictionary has a correct shape: `{"task_invocation_id1": ["task 1 log", "task 1 log"], "task_invocation_id2": ["task 2 log", "task 2 log"]}`.
* Getting single task logs. Previously `orq task logs` would raise an unhandled exception. Now, it prints the log lines.
* Workflow run IDs inside logs on CE now match the expected run ID.
💅 *Improvements*
* `orq wf view` now shows `TaskInvocationID`s instead of `TaskRunID`s. This improves usage of `orq wf view` with other CLI commands that require passing invocation ID, like `orq task {logs,results}`.
* `sdk.WorkflowRun.wait_until_finished()` will now print workflow status every now and then.
*Internal*
* Git URL model changed inside the IR
* `orq up` will now configure Ray's Plasma directory
PRs
* chore: update changelog after the release by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/45
* docs: describe workaround for Ray & M1 by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/46
* feat: dorq auto login by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/41
* internal: remove obsolete iter_logs by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/49
* fix: tag Ray logs with proper task IDs by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/50
* feat: Allow secrets in workflow functions and IR by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/52
* feat: IR Secrets in runtimes by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/53
* chore: Update ctrl-c handling in orq login by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/54
* chore: Pin dill to a release by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/55
* docs: remove recipes by max-radin in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/48
* fix: reading single-task logs on Ray by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/51
* refactor: split API module by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/58
* chore: add missing changelog entry by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/57
* feat: use passport auth whenever possible by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/56
* refactor: harden mypy typechecks by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/59
* chore: update Compute Engine error handling by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/61
* fix!: remove fluentbit by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/63
* fix: showing task inv IDs by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/60
* fix: Make downloading Gitimports optional in Ray by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/62
* chore: Configure Ray plasma storage by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/66
* chore: Expand Git URL model by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/65
* feat: Private Github repo support by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/67
* fix: Ray: Set workflow run ID from environment by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/68
* imp: print when polling when awaiting wf completion by alexjuda in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/69
* Feat: bump ray to 2.3 by SebastianMorawiec in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/64
* fix: Make Ray dirs before starting Ray by jamesclark-Zapata in https://github.com/zapatacomputing/orquestra-workflow-sdk/pull/70
**Full Changelog**: https://github.com/zapatacomputing/orquestra-workflow-sdk/compare/v0.43.0...v0.44.0