Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(weave): Add conditional ci #2547

Merged
merged 38 commits into from
Oct 2, 2024
Merged

chore(weave): Add conditional ci #2547

merged 38 commits into from
Oct 2, 2024

Conversation

andrewtruong
Copy link
Collaborator

@andrewtruong andrewtruong commented Oct 1, 2024

  1. Conditionally runs tests based on which dirs have changed.
  2. Updates the notify job payload to also include a signal for whether or not core integration tests should be run. Core is always notified and the commit is always added, but tests are conditionally run based on the payload

This PR cannot be fully tested e2e until both sides are merged into master because repository_dispatch only applies on the master branch (of core), but I have tested the individual pieces and it seems to work

Companion to: https://github.com/wandb/core/pull/24362

@circle-job-mirror
Copy link

circle-job-mirror bot commented Oct 1, 2024

WEAVE_QUERY_PATHS: 'weave_query/'
WEAVE_JS_PATHS: 'weave-js/'
CORE_INTEGRATION_PATHS: 'weave-js/ weave_query/'
# Everything else is implicitly trace server
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need 1 more for trace server?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once we fully isolate trace sdk and trace server, we could further split this


jobs:
check:
runs-on: ubuntu-latest
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dude this is LEGIT!

@andrewtruong andrewtruong marked this pull request as ready for review October 2, 2024 02:37
@andrewtruong andrewtruong requested a review from a team as a code owner October 2, 2024 02:37
@andrewtruong andrewtruong merged commit 5be7663 into master Oct 2, 2024
79 checks passed
@andrewtruong andrewtruong deleted the andrew/maybe-ci branch October 2, 2024 05:45
@github-actions github-actions bot locked and limited conversation to collaborators Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants