Skip to content

Commit

Permalink
Disable sentry in CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkuzmik committed Jan 14, 2025
1 parent f7c84d7 commit d1e8722
Show file tree
Hide file tree
Showing 15 changed files with 27 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/documentation_codeblock_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPIK_WORKSPACE: ${{ secrets.COMET_WORKSPACE }}
OPIK_API_KEY: ${{ secrets.COMET_API_KEY }}
OPIK_ENABLE_SENTRY: False
strategy:
matrix:
path: ${{ fromJson(needs.collect_test_paths.outputs.test_paths) }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/documentation_cookbook_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- apps/opik-documentation/documentation/docs/cookbook/crewai.ipynb
env:
NOTEBOOK_TO_TEST: ${{ matrix.notebooks }}
OPIK_ENABLE_SENTRY: False
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/end2end_suites.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Application E2E tests

env:
OPIK_ENABLE_SENTRY: False
on:
workflow_dispatch:
inputs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lib-aisuite-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORG_ID: ${{ secrets.OPENAI_ORG_ID }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
on:
workflow_call:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lib-anthropic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ name: SDK Lib Anthropic Tests
run-name: "SDK Lib Anthropic Tests ${{ github.ref_name }} by @${{ github.actor }}"
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
on:
workflow_call:

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lib-crewai-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ run-name: "SDK Lib CrewAI Tests ${{ github.ref_name }} by @${{ github.actor }}"
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORG_ID: ${{ secrets.OPENAI_ORG_ID }}
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False

on:
workflow_call:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lib-dspy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ run-name: "SDK Lib DSPy Tests ${{ github.ref_name }} by @${{ github.actor }}"
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORG_ID: ${{ secrets.OPENAI_ORG_ID }}
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
on:
workflow_call:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lib-guardrails-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORG_ID: ${{ secrets.OPENAI_ORG_ID }}
GUARDRAILS_API_KEY: ${{ secrets.GUARDRAILS_API_KEY }}
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
on:
workflow_call:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lib-haystack-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ run-name: "SDK Lib Haystack Tests ${{ github.ref_name }} by @${{ github.actor }}
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORG_ID: ${{ secrets.OPENAI_ORG_ID }}
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
on:
workflow_call:

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lib-integration-tests-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ on:
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
LIBS: ${{ github.event.inputs.libs != '' && github.event.inputs.libs || 'all' }}
OPIK_ENABLE_SENTRY: False

jobs:
init_environment:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lib-langchain-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ run-name: "SDK Lib Langchain Tests ${{ github.ref_name }} by @${{ github.actor }
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORG_ID: ${{ secrets.OPENAI_ORG_ID }}
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
on:
workflow_call:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lib-llama-index-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ run-name: "SDK Lib LLama Index Tests ${{ github.ref_name }} by @${{ github.actor
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORG_ID: ${{ secrets.OPENAI_ORG_ID }}
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
on:
workflow_call:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lib-openai-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ run-name: "SDK Lib OpenAI Tests ${{ github.ref_name }} by @${{ github.actor }}"
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORG_ID: ${{ secrets.OPENAI_ORG_ID }}
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
on:
workflow_call:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/python_sdk_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:
paths:
- 'sdks/python/**'
env:
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
jobs:
UnitTests:
name: Units_Python_${{matrix.python_version}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sdk-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- 'sdks/python/**'
- 'apps/opik-backend/**'
env:
OPIK_DISABLE_LITELLM_MODELS_MONITORING: True
OPIK_ENABLE_LITELLM_MODELS_MONITORING: False
OPIK_ENABLE_SENTRY: False
jobs:
run-e2e:
Expand Down

0 comments on commit d1e8722

Please sign in to comment.