Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
a5f4df7
Rewrite unit/ to pytest (#314)
IgorChvyrov-sm Jul 30, 2025
ebd0057
Rewrite serdesertest/ to pytest (#316)
IgorChvyrov-sm Jul 30, 2025
86d2ad1
Rewrite backwardcompatibility/ to pytest (#317)
IgorChvyrov-sm Jul 30, 2025
af894d3
Add missed README.md to Docker image and bump package version to 1.1.…
IgorChvyrov-sm Jul 30, 2025
a0fb309
Added autogenerated async client
IgorChvyrov-sm Aug 5, 2025
f53be3f
Added base model adapters
IgorChvyrov-sm Aug 5, 2025
6f77bbb
Updated ruff rules to ignore autogenerated code
IgorChvyrov-sm Aug 5, 2025
81e9fa3
Added base api client adapters
IgorChvyrov-sm Aug 5, 2025
9d6c8a9
Fix imports
IgorChvyrov-sm Aug 5, 2025
883829d
Regenerated api clients to remove /api/
IgorChvyrov-sm Aug 5, 2025
b1a5ef3
Refactor imports
IgorChvyrov-sm Aug 5, 2025
491199b
Implemented Orkes clients
IgorChvyrov-sm Aug 6, 2025
48edf01
Refactoring: run ruff linter
IgorChvyrov-sm Aug 6, 2025
fb2ac48
Added Configuration adapter
IgorChvyrov-sm Aug 6, 2025
6bbe71f
Refactoring: replaced generated Config with adapter
IgorChvyrov-sm Aug 6, 2025
eaaafbe
Refactoring: code cleanup
IgorChvyrov-sm Aug 6, 2025
bf62283
Revert accidental changes in sync client
IgorChvyrov-sm Aug 6, 2025
13bf3f8
Refactoring: replaced API with APIAdapters in OrkesBaseClient
IgorChvyrov-sm Aug 7, 2025
bfd410a
Added async scheduler, schema, secret, task and workflow clients tests
IgorChvyrov-sm Aug 7, 2025
15a3a24
Added async authorization, integration, metadata, prompt clients test…
IgorChvyrov-sm Aug 7, 2025
4c57b88
Models refactoring pt.1
IgorChvyrov-sm Aug 8, 2025
a4f3124
Models refactoring pt.2
IgorChvyrov-sm Aug 8, 2025
644e136
Add documentation for release process (#318)
IgorChvyrov-sm Aug 8, 2025
eb7c58c
Models refactoring pt.3
IgorChvyrov-sm Aug 9, 2025
17a5520
Models refactoring pt.4
IgorChvyrov-sm Aug 10, 2025
7ff26b3
Models refactoring pt.5
IgorChvyrov-sm Aug 10, 2025
4d5ee40
Make pydatic test package blank
IgorChvyrov-sm Aug 10, 2025
07e0a81
Implementing test suite for Pydantic model adapters pt.1
IgorChvyrov-sm Aug 10, 2025
cd1a8c7
Models tests
IgorChvyrov-sm Aug 10, 2025
cb9fc88
Config refactoring
IgorChvyrov-sm Aug 11, 2025
29e63e3
Revert "Config refactoring"
IgorChvyrov-sm Aug 11, 2025
dfaa8fc
Refactor: move AuthenticationSettings MetricsSettings to shared
IgorChvyrov-sm Aug 11, 2025
ddeb1b6
Added telemetry client
IgorChvyrov-sm Aug 12, 2025
25cd24c
Added event client
IgorChvyrov-sm Aug 12, 2025
4d4fdd3
Added worflow client
IgorChvyrov-sm Aug 12, 2025
ccef7b0
Added ai automator worker clients
IgorChvyrov-sm Aug 12, 2025
07b19d0
Refactor: imports
IgorChvyrov-sm Aug 12, 2025
df95dd9
Refactor: ruff fixes
IgorChvyrov-sm Aug 12, 2025
5edc05c
Refactor: linting and formatting
IgorChvyrov-sm Aug 12, 2025
8411762
Refactor: imports
IgorChvyrov-sm Aug 12, 2025
fd825b4
Merge branch 'feature_async_client' into feature_async_client_pt2
IgorChvyrov-sm Aug 12, 2025
2e346e1
Tests: automator, kafka_publish input
IgorChvyrov-sm Aug 12, 2025
b280138
Test: add event client test
IgorChvyrov-sm Aug 12, 2025
8751122
Test: add ai orchestrator test
IgorChvyrov-sm Aug 12, 2025
7d13871
Test: add workflow tests
IgorChvyrov-sm Aug 12, 2025
91b8a10
Test: metrics collector test
IgorChvyrov-sm Aug 12, 2025
46e2153
Test: event and worker tests
IgorChvyrov-sm Aug 12, 2025
a6775bb
Fix imports
IgorChvyrov-sm Aug 13, 2025
ebde4df
Fix tests
IgorChvyrov-sm Aug 13, 2025
81abca1
Fixed dynamic workflow example (resource api manual change)
IgorChvyrov-sm Aug 14, 2025
bdc65fb
Fixing circular imports pt.1
IgorChvyrov-sm Aug 14, 2025
81ac744
Fixing circular imports pt.2
IgorChvyrov-sm Aug 14, 2025
6d1d34e
Fixing circular imports pt.3
IgorChvyrov-sm Aug 14, 2025
e1e8c5d
Refactor: Update Orkes clients to take api_client as argument
IgorChvyrov-sm Aug 14, 2025
a943651
Refactor: resolving annotations
IgorChvyrov-sm Aug 15, 2025
bf63b20
Refactor: orkes clients
IgorChvyrov-sm Aug 15, 2025
18d7d96
Async helloworld example
IgorChvyrov-sm Aug 17, 2025
c8090a7
Async workflow examples
IgorChvyrov-sm Aug 18, 2025
40c306e
Added orkes examples
IgorChvyrov-sm Aug 18, 2025
3e9be6a
Added fixes and missed orkes examples
IgorChvyrov-sm Aug 18, 2025
8be7a34
Added missed from prev commit
IgorChvyrov-sm Aug 18, 2025
a210d3b
Introduced ApiClientAdapter
IgorChvyrov-sm Aug 19, 2025
f58956a
Revert manual api client changes and moved it to adapter
IgorChvyrov-sm Aug 19, 2025
d62e8c6
Added JWT obtaining logic
IgorChvyrov-sm Aug 19, 2025
b975f6c
Fixed tests and ruff linter errors
IgorChvyrov-sm Aug 19, 2025
4673c34
Added adapters/ package to client/
IgorChvyrov-sm Aug 21, 2025
c0e7e99
Update gh action variables
EugeneKisel-sm Aug 21, 2025
d0ea461
Added missing endpoints
IgorChvyrov-sm Aug 22, 2025
1648c81
Added api client adapters
IgorChvyrov-sm Aug 22, 2025
4960884
Api clients refactoring
IgorChvyrov-sm Aug 22, 2025
5441875
Added missing tags api
IgorChvyrov-sm Aug 22, 2025
b711d76
Merge pull request #323 from conductor-oss/Action_variables - Update …
EugeneKisel-sm Aug 22, 2025
430b70f
Updating swagger-codegen models pt.1
IgorChvyrov-sm Aug 25, 2025
680ba4f
Merge remote-tracking branch 'origin/refactoring_separate_generated_c…
IgorChvyrov-sm Aug 25, 2025
440def9
Updating swagger-codegen models pt.2
IgorChvyrov-sm Aug 25, 2025
208a82d
Serdeser tests refactoring
IgorChvyrov-sm Aug 25, 2025
b7ebaf0
Added description field (#321)
IgorChvyrov-sm Aug 25, 2025
924aafe
bacward compatibility and unit tests
IgorChvyrov-sm Aug 25, 2025
7537545
Fixed imports
IgorChvyrov-sm Aug 26, 2025
ea91692
Added integrations tests
IgorChvyrov-sm Aug 27, 2025
2efd703
Updated workflow integration test to make long running workflow
IgorChvyrov-sm Aug 27, 2025
11e7fb9
Added pytest markers for orkes
IgorChvyrov-sm Aug 27, 2025
0f0c658
Added conductor oss marker
IgorChvyrov-sm Aug 27, 2025
813791b
Async SDK Clients for Orkes Conductor and Conductor OSS (#320)
IgorChvyrov-sm Aug 27, 2025
6f00cef
Test fixes
IgorChvyrov-sm Aug 28, 2025
caad2d5
Merge branch 'main' into refactoring_separate_generated_code
IgorChvyrov-sm Aug 28, 2025
e55f62d
Added integration tests as a CI step
IgorChvyrov-sm Aug 28, 2025
e3939dd
Fix coverage ignore
IgorChvyrov-sm Aug 28, 2025
d5d8ded
Update READMEs
IgorChvyrov-sm Aug 28, 2025
b36e33b
Refactor ci
IgorChvyrov-sm Aug 28, 2025
c58737a
Added proxy package to achive backward comaptibility
IgorChvyrov-sm Aug 29, 2025
494ca43
Fix imports in backward compatibility tests
IgorChvyrov-sm Sep 1, 2025
e140b8c
Code refactoring
IgorChvyrov-sm Sep 1, 2025
8155c90
Schedule model refactoring
IgorChvyrov-sm Sep 1, 2025
c8512f1
Ruff linter fixes
IgorChvyrov-sm Sep 1, 2025
28c8422
Refactored existing logging
IgorChvyrov-sm Sep 3, 2025
a78ffbf
HTTP layer debug logging
IgorChvyrov-sm Sep 4, 2025
28ab0bb
Removed MetricsProvider pid in log statement
IgorChvyrov-sm Sep 4, 2025
0e0ff91
Prevent extra loggger config call
IgorChvyrov-sm Sep 4, 2025
3112dbb
Updated sync examples with logging and added logger config definition…
IgorChvyrov-sm Sep 4, 2025
2ff6139
Added logger to sync ApiClient
IgorChvyrov-sm Sep 4, 2025
1ce1beb
Remove traceback from log message task_runner and worker
IgorChvyrov-sm Sep 4, 2025
978fc02
Standardize log statements in sdk codebase
IgorChvyrov-sm Sep 4, 2025
578b33b
Removed todo
IgorChvyrov-sm Sep 5, 2025
bdf546f
Formatting
IgorChvyrov-sm Sep 5, 2025
679b6f9
Added tests grouping
IgorChvyrov-sm Sep 5, 2025
cbc28f7
Fix task polling and test sleep mock
IgorChvyrov-sm Sep 6, 2025
fc946ab
Added httpx dependency
IgorChvyrov-sm Sep 8, 2025
99626eb
Added rest and api_client adapter with httpx implementation
IgorChvyrov-sm Sep 8, 2025
a148edd
Added proxy configuration
IgorChvyrov-sm Sep 10, 2025
4c3f329
Updated config to take proxy configuration from env vars
IgorChvyrov-sm Sep 10, 2025
fbe45a0
Updated README.md to include proxy information
IgorChvyrov-sm Sep 10, 2025
e1e198d
Added mds with client regeneration guide
IgorChvyrov-sm Sep 11, 2025
00c275e
Added examples with proxy configuration
IgorChvyrov-sm Sep 12, 2025
840743f
Linting
IgorChvyrov-sm Sep 12, 2025
00f2b33
Added rest adapter tests
IgorChvyrov-sm Sep 16, 2025
7ec312a
Added rest adapter and configuration tests
IgorChvyrov-sm Sep 16, 2025
11be9bd
Merge branch 'feature_enable_http2' into feature_proxy_configuration
IgorChvyrov-sm Sep 16, 2025
b05e395
Refactoring improve sdk logging (#328)
IgorChvyrov-sm Sep 17, 2025
2e75bcc
Merge branch 'refactoring_separate_generated_code' into feature_proxy…
IgorChvyrov-sm Sep 17, 2025
0385694
Fix unit tests
IgorChvyrov-sm Sep 17, 2025
86164cd
Add ssl options to sync configuration and client
IgorChvyrov-sm Sep 17, 2025
5f2de41
Fix default domain assertion
IgorChvyrov-sm Sep 18, 2025
a00d1de
Add ssl options Configuration tests
IgorChvyrov-sm Sep 18, 2025
e794df1
Added ssl examples
IgorChvyrov-sm Sep 18, 2025
4f4f3c2
Formatting
IgorChvyrov-sm Sep 18, 2025
66e6ead
Added ssl tls description to README.md and ssl env variables
IgorChvyrov-sm Sep 18, 2025
187b3b9
Added models helper methods
IgorChvyrov-sm Sep 23, 2025
c8be114
Added tests for model helpers
IgorChvyrov-sm Sep 23, 2025
ee7ccdf
Added usage examples in docstring
IgorChvyrov-sm Sep 23, 2025
8ea60e0
Added md with examples
IgorChvyrov-sm Sep 23, 2025
25aef3e
Added async orkes event client
IgorChvyrov-sm Sep 24, 2025
0c2959a
Add missing endpoints and separate generated code (#324)
IgorChvyrov-sm Sep 24, 2025
7e44454
Add integration tests for Async client (#326)
IgorChvyrov-sm Sep 24, 2025
2ae9a3a
Added sync orkes event client
IgorChvyrov-sm Sep 25, 2025
097705d
Merge remote-tracking branch 'origin/main' into feature_tags_field_fo…
IgorChvyrov-sm Sep 25, 2025
b661a44
Refactoring
IgorChvyrov-sm Sep 25, 2025
ec945ca
Merge remote-tracking branch 'origin/main' into feature_workflow_mode…
IgorChvyrov-sm Sep 25, 2025
be1a374
Merge branch 'feature_workflow_model_helper_methods' into feature_tag…
IgorChvyrov-sm Sep 25, 2025
6ab2785
Resolved merge issue
IgorChvyrov-sm Sep 25, 2025
d0f1978
Resolve merge issues
IgorChvyrov-sm Sep 25, 2025
64e7763
Prevent race condition during JWT obtaining (#329)
IgorChvyrov-sm Sep 25, 2025
28ac5ea
Added sync and async integration tests to fail condition (#337)
IgorChvyrov-sm Oct 2, 2025
4c56a17
Release v1.2.0 (#338)
IgorChvyrov-sm Oct 2, 2025
ce93a72
Merge branch 'main' into feature_proxy_configuration
IgorChvyrov-sm Oct 3, 2025
85ae98c
Poetry fix
IgorChvyrov-sm Oct 3, 2025
9f5def8
Fixed merge issues
IgorChvyrov-sm Oct 3, 2025
316a0ff
Merge branch 'feature_proxy_configuration' into feature_add_ssl_options
IgorChvyrov-sm Oct 3, 2025
67ba371
Added missing dependencies to pyproject toml
IgorChvyrov-sm Oct 3, 2025
979a31e
Merge branch 'feature_add_ssl_options' into feature_workflow_model_he…
IgorChvyrov-sm Oct 3, 2025
8cca018
Added missing httpx import
IgorChvyrov-sm Oct 3, 2025
a191720
Merge branch 'feature_workflow_model_helper_methods' into feature_tag…
IgorChvyrov-sm Oct 3, 2025
786f796
Add ability to configure proxy (#332)
IgorChvyrov-sm Oct 8, 2025
58b9b60
Updated pyproject toml to remove py3.13 limitation (#340)
IgorChvyrov-sm Oct 8, 2025
1282662
Enhance Workflow Model with Helper Methods (#335)
IgorChvyrov-sm Oct 8, 2025
22bc982
Added missing OAuth2 fields (#344)
IgorChvyrov-sm Oct 10, 2025
00b32d9
Release 1.2.1 (#343)
IgorChvyrov-sm Oct 10, 2025
1f57c1e
Exponential Backoff & Fail-Stop on 401 (Invalid API Token) (#342)
IgorChvyrov-sm Oct 13, 2025
4f29502
Worker task definition configuration from decorators (#345)
IgorChvyrov-sm Oct 21, 2025
cf33e65
Fix application resource API inconsistencies (#347)
IgorChvyrov-sm Oct 22, 2025
1c3fc29
Fix user resource API inconsistencies (#346)
IgorChvyrov-sm Oct 22, 2025
f8ef82d
Added comments to highlight EventClient api missmatches
IgorChvyrov-sm Oct 27, 2025
b2aae0d
Merge branch 'main' into feature_tags_field_for_event_handler
IgorChvyrov-sm Oct 27, 2025
f7af834
Fix sync client Configuration (#341)
IgorChvyrov-sm Oct 27, 2025
c37dff1
Updated configuration to set None as default domain (#351)
IgorChvyrov-sm Oct 27, 2025
a561d90
Updated dynamic for task to set params in right way (#352)
IgorChvyrov-sm Oct 27, 2025
e155a32
Merge branch 'main' into feature_tags_field_for_event_handler
IgorChvyrov-sm Oct 27, 2025
b968705
Bump package version to 1.2.2
IgorChvyrov-sm Oct 27, 2025
83ba070
Merge pull request #336 from conductor-oss/feature_tags_field_for_eve…
EugeneKisel-sm Oct 27, 2025
225f598
Merge pull request #354 from conductor-oss/release/v1.2.2
EugeneKisel-sm Oct 27, 2025
fb6cd43
Rollback async client
IgorChvyrov-sm Nov 6, 2025
3814121
Removed pydantic models serdeser tests
IgorChvyrov-sm Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 26 additions & 11 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
env:
COVERAGE_FILE: coverage.xml
COVERAGE_DIR: .coverage-reports
CONDUCTOR_AUTH_KEY: ${{ secrets.AUTH_KEY }}
CONDUCTOR_AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
CONDUCTOR_SERVER_URL: ${{ vars.SERVER_URL }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -34,9 +37,9 @@ jobs:
continue-on-error: true
run: |
docker run --rm \
-e CONDUCTOR_AUTH_KEY=${{ secrets.CONDUCTOR_AUTH_KEY }} \
-e CONDUCTOR_AUTH_SECRET=${{ secrets.CONDUCTOR_AUTH_SECRET }} \
-e CONDUCTOR_SERVER_URL=${{ secrets.CONDUCTOR_SERVER_URL }} \
-e CONDUCTOR_AUTH_KEY=${{ env.CONDUCTOR_AUTH_KEY }} \
-e CONDUCTOR_AUTH_SECRET=${{ env.CONDUCTOR_AUTH_SECRET }} \
-e CONDUCTOR_SERVER_URL=${{ env.CONDUCTOR_SERVER_URL }} \
-v ${{ github.workspace }}/${{ env.COVERAGE_DIR }}:/package/${{ env.COVERAGE_DIR }}:rw \
conductor-sdk-test:latest \
/bin/sh -c "cd /package && COVERAGE_FILE=/package/${{ env.COVERAGE_DIR }}/.coverage.unit coverage run -m pytest tests/unit -v"
Expand All @@ -46,9 +49,9 @@ jobs:
continue-on-error: true
run: |
docker run --rm \
-e CONDUCTOR_AUTH_KEY=${{ secrets.CONDUCTOR_AUTH_KEY }} \
-e CONDUCTOR_AUTH_SECRET=${{ secrets.CONDUCTOR_AUTH_SECRET }} \
-e CONDUCTOR_SERVER_URL=${{ secrets.CONDUCTOR_SERVER_URL }} \
-e CONDUCTOR_AUTH_KEY=${{ env.CONDUCTOR_AUTH_KEY }} \
-e CONDUCTOR_AUTH_SECRET=${{ env.CONDUCTOR_AUTH_SECRET }} \
-e CONDUCTOR_SERVER_URL=${{ env.CONDUCTOR_SERVER_URL }} \
-v ${{ github.workspace }}/${{ env.COVERAGE_DIR }}:/package/${{ env.COVERAGE_DIR }}:rw \
conductor-sdk-test:latest \
/bin/sh -c "cd /package && COVERAGE_FILE=/package/${{ env.COVERAGE_DIR }}/.coverage.bc coverage run -m pytest tests/backwardcompatibility -v"
Expand All @@ -58,13 +61,25 @@ jobs:
continue-on-error: true
run: |
docker run --rm \
-e CONDUCTOR_AUTH_KEY=${{ secrets.CONDUCTOR_AUTH_KEY }} \
-e CONDUCTOR_AUTH_SECRET=${{ secrets.CONDUCTOR_AUTH_SECRET }} \
-e CONDUCTOR_SERVER_URL=${{ secrets.CONDUCTOR_SERVER_URL }} \
-e CONDUCTOR_AUTH_KEY=${{ env.CONDUCTOR_AUTH_KEY }} \
-e CONDUCTOR_AUTH_SECRET=${{ env.CONDUCTOR_AUTH_SECRET }} \
-e CONDUCTOR_SERVER_URL=${{ env.CONDUCTOR_SERVER_URL }} \
-v ${{ github.workspace }}/${{ env.COVERAGE_DIR }}:/package/${{ env.COVERAGE_DIR }}:rw \
conductor-sdk-test:latest \
/bin/sh -c "cd /package && COVERAGE_FILE=/package/${{ env.COVERAGE_DIR }}/.coverage.serdeser coverage run -m pytest tests/serdesertest -v"

- name: Run integration tests
id: integration_tests
continue-on-error: true
run: |
docker run --rm \
-e CONDUCTOR_AUTH_KEY=${{ env.CONDUCTOR_AUTH_KEY }} \
-e CONDUCTOR_AUTH_SECRET=${{ env.CONDUCTOR_AUTH_SECRET }} \
-e CONDUCTOR_SERVER_URL=${{ env.CONDUCTOR_SERVER_URL }} \
-v ${{ github.workspace }}/${{ env.COVERAGE_DIR }}:/package/${{ env.COVERAGE_DIR }}:rw \
conductor-sdk-test:latest \
/bin/sh -c "cd /package && COVERAGE_FILE=/package/${{ env.COVERAGE_DIR }}/.coverage.integration coverage run -m pytest -m v4 tests/integration -v"

- name: Generate coverage report
id: coverage_report
continue-on-error: true
Expand Down Expand Up @@ -96,5 +111,5 @@ jobs:
file: ${{ env.COVERAGE_FILE }}

- name: Check test results
if: steps.unit_tests.outcome == 'failure' || steps.bc_tests.outcome == 'failure' || steps.serdeser_tests.outcome == 'failure'
run: exit 1
if: steps.unit_tests.outcome == 'failure' || steps.bc_tests.outcome == 'failure' || steps.serdeser_tests.outcome == 'failure' || steps.integration_tests.outcome == 'failure'
run: exit 1
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,6 @@ latest.txt

*.so

codegen/

.vscode/
tests/unit/automator/_trial_temp/_trial_marker
tests/unit/automator/_trial_temp/_trial_marker
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ WORKDIR /package
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH "/root/.local/bin:$PATH"

COPY pyproject.toml poetry.lock /package/
COPY pyproject.toml poetry.lock README.md /package/
COPY --from=python_test_base /package/src /package/src

RUN poetry config virtualenvs.create false && \
Expand Down
Loading