feat(weave_query): create ops to support project level traces #18991
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# When we push commits, fire off a `weave-package-updated` | |
# repository dispatch event to wandb/core | |
name: Notify wandb/core | |
on: | |
push: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
check-which-tests-to-run: | |
uses: ./.github/workflows/check-which-tests-to-run.yaml | |
notify-wandb-core: | |
needs: check-which-tests-to-run | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repository dispatch | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.WANDB_CORE_ACCESS_TOKEN }} | |
repository: wandb/core | |
event-type: weave-package-updated | |
client-payload: '{"ref_name": "${{ github.ref_name }}", "sha": "${{ github.sha }}", "run_weave_js_tests": ${{ needs.check-which-tests-to-run.outputs.weave_js_tests }}, "run_weave_query_tests": ${{ needs.check-which-tests-to-run.outputs.weave_query_tests }}, "run_trace_server_tests": ${{ needs.check-which-tests-to-run.outputs.trace_server_tests }}}' |