Skip to content

Commit

Permalink
chore(weave): Legacy Refactor pt17 (#2235)
Browse files Browse the repository at this point in the history
* move to trace: init_message

* move to trace: weave_init

* move to trace: cli

* move to trace: client_context

* chore(weave): Legacy Refactor pt18 (#2236)

* delete: extraneous files

* delete: api; split out trace and query api from single api file

* move to legacy: legacy tests

* move to legacy: legacy test_utils

* move to legacy: old query panel examples and notebooks

* move to legacy: makefile

* !!! move files from weave/legacy -> weave/legacy/weave to match new repo (#2237)
  • Loading branch information
andrewtruong authored Aug 28, 2024
1 parent 7b3045c commit 85de586
Show file tree
Hide file tree
Showing 759 changed files with 15,611 additions and 15,900 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,42 @@ jobs:
DD_SERVICE: weave-python
DD_ENV: ci
WEAVE_SENTRY_ENV: ci
CI: 1
WB_SERVER_HOST: http://wandbservice
WF_CLICKHOUSE_HOST: weave_clickhouse
WEAVE_SERVER_DISABLE_ECOSYSTEM: 1
# This runner specifically runs the tests that use the `client` fixture (those that support clickhouse client tests)
# However, we skip tests marked with `skip_clickhouse_client`. These should be considered TODOs and an exception
run: CI=1 WB_SERVER_HOST=http://wandbservice WF_CLICKHOUSE_HOST=weave_clickhouse WEAVE_SERVER_DISABLE_ECOSYSTEM=1 source /root/venv/bin/activate && cd weave && pytest -m "weave_client and not skip_clickhouse_client" --weave-server=clickhouse --job-num=${{ matrix.job_num }} --timeout=90 ./flow ./integrations ./tests ./legacy/ops_arrow ./legacy/ecosystem ./trace_server ./trace --ddtrace --durations=5
run: |
source /root/venv/bin/activate && \
cd weave && \
pytest -m "weave_client and not skip_clickhouse_client" \
--weave-server=clickhouse \
--job-num=${{ matrix.job_num }} \
--timeout=90 \
--ddtrace \
--durations=5 \
./integrations ./legacy ./trace_server ./trace ./tests
- name: Run Python Unit Tests
env:
DD_SERVICE: weave-python
DD_ENV: ci
WEAVE_SENTRY_ENV: ci
run: CI=1 WB_SERVER_HOST=http://wandbservice WF_CLICKHOUSE_HOST=weave_clickhouse WEAVE_SERVER_DISABLE_ECOSYSTEM=1 source /root/venv/bin/activate && pip install 'dspy-ai>=0.1.5' && pip install pydantic -U && cd weave && pytest --job-num=${{ matrix.job_num }} --timeout=90 ./flow ./integrations ./tests ./legacy/ops_arrow ./legacy/ecosystem ./trace_server ./trace --ddtrace --durations=5
CI: 1
WB_SERVER_HOST: http://wandbservice
WF_CLICKHOUSE_HOST: weave_clickhouse
WEAVE_SERVER_DISABLE_ECOSYSTEM: 1
run: |
source /root/venv/bin/activate && \
pip install 'dspy-ai>=0.1.5' && \
pip install pydantic -U && \
cd weave && \
pytest \
--job-num=${{ matrix.job_num }} \
--timeout=90 \
--ddtrace \
--durations=5 \
./integrations ./legacy ./trace_server ./trace ./tests
# nbmake:
# name: Run notebooks with nbmake
Expand Down
353 changes: 0 additions & 353 deletions data/paul_graham/paul_graham_essay.txt

This file was deleted.

383 changes: 0 additions & 383 deletions examples/apps/explore_embeddings.ipynb

This file was deleted.

91 changes: 0 additions & 91 deletions examples/experimental/AutoBoard.ipynb

This file was deleted.

219 changes: 0 additions & 219 deletions examples/experimental/Monitor.ipynb

This file was deleted.

Loading

0 comments on commit 85de586

Please sign in to comment.