Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 54 additions & 1 deletion .github/workflows/composer-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
# Only this ecosystem's own files. A change to shared engine code
# (vendor/, patch/, vex/, scan/, Cargo.lock, ...) runs the full matrix on
# push to main, or on demand via workflow_dispatch on the PR branch;
# push to main (when it is in the push filter below) or nightly, or on
# demand via workflow_dispatch on the PR branch;
# ci.yml's per-ecosystem blocking slice still runs on every PR and in
# the merge queue (#1198).
paths:
Expand All @@ -40,6 +41,58 @@ on:
- 'crates/socket-patch-cli/tests/e2e_vex_lockfile/composer.rs'
push:
branches: [main]
# The ecosystem's pre-#1198 relevance set (the shared engine code its
# cells run through), its PR paths and the toolchain files. A main
# push outside this set waits for the nightly run below.
paths:
- '.github/workflows/composer-compatibility.yml'
- 'tests/docker/Dockerfile.composer'
- 'tests/docker/Dockerfile.base'
- 'Cargo.lock'
- 'Cargo.toml'
- 'crates/*/Cargo.toml'
- 'crates/socket-patch-core/src/vendor/**'
- 'crates/socket-patch-core/src/patch/**'
- 'crates/socket-patch-core/src/formats/composer/**'
- 'crates/socket-patch-core/src/formats/registry.rs'
- 'crates/socket-patch-core/src/hosted/**'
- 'crates/socket-patch-core/src/ledgers.rs'
- 'crates/socket-patch-core/src/policy/**'
- 'crates/socket-patch-core/src/rollout.rs'
- 'crates/socket-patch-core/src/rollout/**'
- 'crates/socket-patch-core/src/manifest/**'
- 'crates/socket-patch-core/tests/fixtures/redirect/composer/**'
- 'crates/socket-patch-core/tests/fixtures/composer-version-vectors.json'
- 'crates/socket-patch-core/src/crawlers/composer_crawler.rs'
- 'crates/socket-patch-core/src/crawlers/composer_crawler/**'
- 'crates/socket-patch-core/src/utils/composer*.rs'
- 'crates/socket-patch-core/src/utils/purl.rs'
- 'crates/socket-patch-core/src/utils/group_commit.rs'
- 'crates/socket-patch-core/src/utils/durability.rs'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/commands/vendor*'
- 'crates/socket-patch-cli/src/commands/vendored_backend/**'
- 'crates/socket-patch-cli/src/commands/get*.rs'
- 'crates/socket-patch-cli/src/commands/apply.rs'
- 'crates/socket-patch-cli/src/commands/rollback.rs'
- 'crates/socket-patch-cli/src/commands/remove.rs'
- 'crates/socket-patch-cli/src/commands/composer_hints.rs'
- 'crates/socket-patch-cli/src/commands/scan/**'
- 'crates/socket-patch-cli/src/commands/vex*.rs'
- 'crates/socket-patch-cli/tests/e2e_*composer*.rs'
- 'crates/socket-patch-cli/tests/docker_e2e_vendor_composer.rs'
- 'crates/socket-patch-cli/tests/composer_e2e_common/**'
- 'crates/socket-patch-cli/tests/docker_vendor_common/**'
- 'crates/socket-patch-cli/tests/e2e_vex_lockfile/composer.rs'
- 'crates/socket-patch-cli/tests/vex_e2e_common/**'
- 'crates/*/src/**/*composer*'
- 'crates/*/src/**/*composer*/**'
- 'rust-toolchain.toml'
- '.cargo/**'
schedule:
# Nightly full matrix, so a main change outside the push filter
# still gets a run within a day.
- cron: '17 4 * * *'
workflow_dispatch:

permissions:
Expand Down
32 changes: 31 additions & 1 deletion .github/workflows/go-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
# Only this ecosystem's own files. A change to shared engine code
# (vendor/, patch/, vex/, scan/, Cargo.lock, ...) runs the full matrix on
# push to main, or on demand via workflow_dispatch on the PR branch;
# push to main (when it is in the push filter below) or nightly, or on
# demand via workflow_dispatch on the PR branch;
# ci.yml's per-ecosystem blocking slice still runs on every PR and in
# the merge queue (#1198).
paths:
Expand All @@ -26,6 +27,35 @@ on:
- 'crates/socket-patch-cli/tests/e2e_vex_lockfile/golang.rs'
push:
branches: [main]
# The ecosystem's pre-#1198 relevance set (the shared engine code its
# cells run through), its PR paths and the toolchain files. A main
# push outside this set waits for the nightly run below.
paths:
- '.github/workflows/go-compatibility.yml'
- 'crates/socket-patch-core/src/vendor/go*.rs'
- 'crates/socket-patch-core/src/vendor/golang.rs'
- 'crates/socket-patch-core/src/patch/redirect/**'
- 'crates/socket-patch-core/src/crawlers/go_crawler.rs'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/commands/vex*.rs'
- 'crates/socket-patch-cli/src/commands/vendor*'
- 'crates/socket-patch-cli/tests/e2e_golang_*build.rs'
- 'crates/socket-patch-cli/tests/e2e_vendor_golang_build.rs'
- 'crates/socket-patch-cli/tests/golang_e2e_matrix/**'
- 'crates/socket-patch-cli/tests/e2e_vex_lockfile/golang.rs'
- 'crates/socket-patch-cli/tests/vex_e2e_common/**'
- 'crates/*/src/**/*golang*'
- 'crates/*/src/**/*golang*/**'
- 'crates/socket-patch-core/src/crawlers/go_crawler/**'
- 'Cargo.lock'
- 'Cargo.toml'
- 'crates/*/Cargo.toml'
- 'rust-toolchain.toml'
- '.cargo/**'
schedule:
# Nightly full matrix, so a main change outside the push filter
# still gets a run within a day.
- cron: '17 4 * * *'
workflow_dispatch:

permissions:
Expand Down
31 changes: 29 additions & 2 deletions .github/workflows/npm-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ name: npm hosted/vendored compatibility
on:
# PRs: any crate source, but only the test files these capstones
# compile (a later `!` pattern excludes, a later plain one re-includes).
# Main pushes stay unfiltered.
# Main pushes use the wider push filter below, plus a nightly full run.
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
# Only this ecosystem's own files. A change to shared engine code
# (vendor/, patch/, vex/, scan/, Cargo.lock, ...) runs the full matrix on
# push to main, or on demand via workflow_dispatch on the PR branch;
# push to main (when it is in the push filter below) or nightly, or on
# demand via workflow_dispatch on the PR branch;
# ci.yml's per-ecosystem blocking slice still runs on every PR and in
# the merge queue (#1198).
paths:
Expand All @@ -32,6 +33,32 @@ on:
- 'crates/socket-patch-cli/tests/npm_e2e_common/**'
push:
branches: [main]
# The ecosystem's pre-#1198 relevance set (the shared engine code its
# cells run through), its PR paths and the toolchain files. A main
# push outside this set waits for the nightly run below.
paths:
- '.github/actions/upload-artifact/**'
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain.toml'
- '.cargo/config.toml'
- '.github/workflows/npm-compatibility.yml'
- 'docs/testing/npm-compatibility.md'
- 'crates/**'
- '!crates/**/*.md'
- '!crates/socket-patch-node/**'
- '!crates/socket-patch-core/tests/**'
- '!crates/socket-patch-cli/tests/**'
- 'crates/socket-patch-cli/tests/vex_e2e_common/**'
- 'crates/socket-patch-cli/tests/e2e_redirect_npm_build.rs'
- 'crates/socket-patch-cli/tests/e2e_vendor_npm_build.rs'
- 'crates/socket-patch-cli/tests/npm_e2e_common/**'
- 'crates/socket-patch-cli/tests/common/cache_env.rs'
- '.cargo/**'
schedule:
# Nightly full matrix, so a main change outside the push filter
# still gets a run within a day.
- cron: '17 4 * * *'
workflow_dispatch:

permissions:
Expand Down
35 changes: 34 additions & 1 deletion .github/workflows/pipenv-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
# Only this ecosystem's own files. A change to shared engine code
# (vendor/, patch/, vex/, scan/, Cargo.lock, ...) runs the full matrix on
# push to main, or on demand via workflow_dispatch on the PR branch;
# push to main (when it is in the push filter below) or nightly, or on
# demand via workflow_dispatch on the PR branch;
# ci.yml's per-ecosystem blocking slice still runs on every PR and in
# the merge queue (#1198).
paths:
Expand All @@ -26,6 +27,38 @@ on:
- 'scripts/tests/test_backtest_harnesses.py'
push:
branches: [main]
# The ecosystem's pre-#1198 relevance set (the shared engine code its
# cells run through), its PR paths and the toolchain files. A main
# push outside this set waits for the nightly run below.
paths:
- '.github/actions/upload-artifact/**'
- 'crates/socket-patch-core/src/patch/redirect/pipenv.rs'
- 'crates/socket-patch-core/src/vendor/pypi_pipenv.rs'
- 'crates/socket-patch-core/src/vendor/pypi.rs'
- 'crates/socket-patch-core/src/vendor/lock_inventory/**'
- 'crates/socket-patch-core/src/crawlers/python_crawler.rs'
- 'crates/socket-patch-core/src/utils/pipenv.rs'
- 'crates/socket-patch-cli/src/commands/scan/hosted.rs'
- 'crates/socket-patch-cli/src/commands/vendor.rs'
- 'crates/socket-patch-cli/src/commands/rollback.rs'
- 'crates/socket-patch-cli/src/commands/vex.rs'
- 'crates/socket-patch-core/src/patch/redirect/replay.rs'
- 'scripts/backtest-pipenv.py'
- 'scripts/tests/test_backtest_harnesses.py'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/commands/vex_sources.rs'
- '.github/workflows/pipenv-compatibility.yml'
- 'crates/*/src/**/*pipenv*'
- 'crates/*/src/**/*pipenv*/**'
- 'Cargo.lock'
- 'Cargo.toml'
- 'crates/*/Cargo.toml'
- 'rust-toolchain.toml'
- '.cargo/**'
schedule:
# Nightly full matrix, so a main change outside the push filter
# still gets a run within a day.
- cron: '17 4 * * *'
workflow_dispatch:

permissions:
Expand Down
29 changes: 27 additions & 2 deletions .github/workflows/pnpm-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ name: pnpm hosted compatibility
on:
# PRs: any crate source, but only the test files these capstones
# compile (a later `!` pattern excludes, a later plain one re-includes).
# Main pushes stay unfiltered.
# Main pushes use the wider push filter below, plus a nightly full run.
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
# Only this ecosystem's own files. A change to shared engine code
# (vendor/, patch/, vex/, scan/, Cargo.lock, ...) runs the full matrix on
# push to main, or on demand via workflow_dispatch on the PR branch;
# push to main (when it is in the push filter below) or nightly, or on
# demand via workflow_dispatch on the PR branch;
# ci.yml's per-ecosystem blocking slice still runs on every PR and in
# the merge queue (#1198).
paths:
Expand All @@ -20,6 +21,30 @@ on:
- 'crates/socket-patch-cli/tests/e2e_vendor_pnpm_build.rs'
push:
branches: [main]
# The ecosystem's pre-#1198 relevance set (the shared engine code its
# cells run through), its PR paths and the toolchain files. A main
# push outside this set waits for the nightly run below.
paths:
- '.github/actions/upload-artifact/**'
- 'Cargo.lock'
- 'Cargo.toml'
- 'rust-toolchain.toml'
- '.cargo/config.toml'
- '.github/workflows/pnpm-compatibility.yml'
- 'crates/**'
- '!crates/**/*.md'
- '!crates/socket-patch-node/**'
- '!crates/socket-patch-core/tests/**'
- '!crates/socket-patch-cli/tests/**'
- 'crates/socket-patch-cli/tests/vex_e2e_common/**'
- 'crates/socket-patch-cli/tests/e2e_redirect_pnpm_build.rs'
- 'crates/socket-patch-cli/tests/e2e_vendor_pnpm_build.rs'
- 'crates/socket-patch-cli/tests/common/cache_env.rs'
- '.cargo/**'
schedule:
# Nightly full matrix, so a main change outside the push filter
# still gets a run within a day.
- cron: '17 4 * * *'
workflow_dispatch:

permissions:
Expand Down
47 changes: 46 additions & 1 deletion .github/workflows/sbt-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
# Only this ecosystem's own files. A change to shared engine code
# (vendor/, patch/, vex/, scan/, Cargo.lock, ...) runs the full matrix on
# push to main, or on demand via workflow_dispatch on the PR branch;
# push to main (when it is in the push filter below) or nightly, or on
# demand via workflow_dispatch on the PR branch;
# ci.yml's per-ecosystem blocking slice still runs on every PR and in
# the merge queue (#1198).
paths:
Expand All @@ -51,6 +52,50 @@ on:
- 'crates/socket-patch-cli/tests/sbt_common/**'
push:
branches: [main]
# The ecosystem's pre-#1198 relevance set (the shared engine code its
# cells run through), its PR paths and the toolchain files. A main
# push outside this set waits for the nightly run below.
paths:
- '.github/workflows/sbt-compatibility.yml'
- 'scripts/sbt-compat-matrix.sh'
- 'scripts/sbt-warm-seed.sh'
- 'docs/testing/sbt-compatibility.md'
- 'tests/docker/Dockerfile.sbt'
- 'tests/docker/Dockerfile.base'
- 'Cargo.toml'
- '.github/actions/upload-artifact/**'
- 'Cargo.lock'
- 'crates/*/Cargo.toml'
- 'crates/socket-patch-core/src/formats/**'
- 'crates/socket-patch-core/src/crawlers/**'
- 'crates/socket-patch-core/src/hosted/**'
- 'crates/socket-patch-core/src/patch/**'
- 'crates/socket-patch-core/src/manifest/**'
- 'crates/socket-patch-core/src/api/**'
- 'crates/socket-patch-core/src/utils/**'
- 'crates/socket-patch-core/src/vendor/**'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/**'
- 'crates/socket-patch-cli/tests/docker_e2e_sbt.rs'
- 'crates/socket-patch-cli/tests/e2e_sbt_build.rs'
- 'crates/socket-patch-cli/tests/e2e_sbt_vendor_build.rs'
- 'crates/socket-patch-cli/tests/e2e_scala_cli_vendor.rs'
- 'crates/socket-patch-cli/tests/sbt_build_common/**'
- 'crates/socket-patch-cli/tests/sbt_vendor_build_common/**'
- 'crates/socket-patch-cli/tests/sbt_e2e_shared/**'
- 'crates/socket-patch-cli/tests/sbt_common/**'
- 'crates/*/src/**/*sbt*'
- 'crates/*/src/**/*sbt*/**'
- 'crates/*/src/**/*scala*'
- 'crates/*/src/**/*scala*/**'
- 'crates/*/src/**/*coursier*'
- 'crates/*/src/**/*ivy*'
- 'rust-toolchain.toml'
- '.cargo/**'
schedule:
# Nightly full matrix, so a main change outside the push filter
# still gets a run within a day.
- cron: '17 4 * * *'
workflow_dispatch:

permissions:
Expand Down
Loading