Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
6f85989
Test the vendored and agent Go flows through a gazelle run on real Bazel
mikolalysenko Nov 17, 2026
cdf3a5f
Keep Go module copies under .socket out of Bazel packages
mikolalysenko Nov 17, 2026
4dfe93d
Merge remote-tracking branch 'origin/main' into bazel-small/21-go-baz…
mikolalysenko Nov 18, 2026
f67ab54
Assert the VEX document in the Bazel flows that build patched
mikolalysenko Nov 18, 2026
d12790f
Hold the VEX documents of the Bazel flows to each other after review
mikolalysenko Nov 18, 2026
fbe5db7
Read the calls of a Bazel workspace's files
mikolalysenko Nov 18, 2026
dbb795b
Bound the Bazel reader and report what it leaves unread
mikolalysenko Nov 19, 2026
7cef538
Merge remote-tracking branch 'origin/bazel-vex/01-assert-document' in…
mikolalysenko Nov 19, 2026
a4e38d7
Read a directory in the Bazel workspace as not a file on Windows
claude Nov 19, 2026
d4ca751
Merge remote-tracking branch 'origin/bazel-vex/02-reader' into bazel-…
mikolalysenko Nov 19, 2026
304c7c5
Test agent npm and vendored PyPI beside a Bazel hub on real Bazel
mikolalysenko Nov 19, 2026
4772acd
Withhold a VEX statement for a copy that a Bazel module hub does not …
mikolalysenko Nov 19, 2026
4371598
Withhold for Bazel only where a call runs and a run would attest
mikolalysenko Nov 19, 2026
9f9f643
Attest a package Bazel builds unpatched as affected
mikolalysenko Nov 19, 2026
47c4626
Report an affected package as skipped, with a statement of its own
mikolalysenko Nov 19, 2026
73e443c
Add --no-bazel: a VEX document about the installed tree
mikolalysenko Nov 19, 2026
244e7a8
Merge remote-tracking branch 'origin/main' into bazel-small/21-go-baz…
mikolalysenko Nov 19, 2026
216d7cf
Merge remote-tracking branch 'origin/bazel-small/21-go-bazelignore' i…
mikolalysenko Nov 19, 2026
931aed2
Merge remote-tracking branch 'origin/bazel-vex/01-assert-document' in…
mikolalysenko Nov 19, 2026
f4f316c
Merge remote-tracking branch 'origin/bazel-vex/02-reader' into bazel-…
mikolalysenko Nov 19, 2026
38bc414
Merge origin/main into bazel-vex/03-not-in-build
claude Nov 19, 2026
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
17 changes: 11 additions & 6 deletions .github/workflows/bazel-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Bazel patch compatibility (npm)

# The npm flows of the real-Bazel tests (`npm::` in `e2e_bazel_build`):
# hosted and vendored mode for a package that aspect_rules_js links from a
# pnpm lock, on each Bazel release below. bazel-compatibility.yml holds the
# legs and what every ecosystem shares; this file says when the npm legs run
# and on which releases.
# pnpm lock, and agent mode for the copy of it in `node_modules`, on each
# Bazel release below. bazel-compatibility.yml holds the legs and what
# every ecosystem shares; this file says when the npm legs run and on which
# releases.
#
# Beyond what every leg needs, an npm leg downloads Node from nodejs.org and
# ruleset archives from codeload.github.com; its repository cache holds them
Expand Down Expand Up @@ -38,9 +39,11 @@ on:
# file also holds the Composer, Cargo and Go parts of the gate, so a
# change to those starts the npm legs too. The `*pnpm*` globs name that
# one crate, so no bench fixture is here. Last, the VEX code: `vex/` of
# the core and the files of the `vex` command. Every flow holds the
# exact document socket-patch writes about its patched build, so a
# change to how a document is built or worded starts the legs of every
# the core, the files of the `vex` command, and `bazel/` of the core,
# which reads the workspace files and decides whether Bazel builds what
# was patched. Every flow holds the exact document socket-patch writes
# about its build, patched or not, so a change to how a document is
# built or worded starts the legs of every
# ecosystem. Nothing else that another ecosystem's flow owns is here:
# any other change to one ecosystem starts that ecosystem's legs only.
#
Expand Down Expand Up @@ -69,6 +72,7 @@ on:
- 'crates/socket-patch-core/src/crawlers/npm_crawler.rs'
- 'crates/socket-patch-core/src/formats/package_json.rs'
- 'crates/socket-patch-core/src/patch/user_patches.rs'
- 'crates/socket-patch-core/src/bazel/**'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/commands/vex*.rs'
push:
Expand Down Expand Up @@ -97,6 +101,7 @@ on:
- 'crates/socket-patch-core/src/crawlers/npm_crawler.rs'
- 'crates/socket-patch-core/src/formats/package_json.rs'
- 'crates/socket-patch-core/src/patch/user_patches.rs'
- 'crates/socket-patch-core/src/bazel/**'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/commands/vex*.rs'
- 'crates/socket-patch-cli/tests/e2e_bazel_build/main.rs'
Expand Down
18 changes: 11 additions & 7 deletions .github/workflows/bazel-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Bazel patch compatibility (PyPI)

# The PyPI flow of the real-Bazel tests (`pypi::` in `e2e_bazel_build`):
# hosted mode for a package that rules_python's `pip.parse` resolves from a
# hashed `requirements.txt`, on each Bazel release below.
# The PyPI flows of the real-Bazel tests (`pypi::` in `e2e_bazel_build`):
# hosted and vendored mode for a package that rules_python's `pip.parse`
# resolves from a hashed `requirements.txt`, on each Bazel release below.
# bazel-compatibility.yml holds the legs and what every ecosystem shares;
# this file says when the PyPI legs run and on which releases.
#
Expand Down Expand Up @@ -36,10 +36,12 @@ on:
# call, and that are no other project manager's own, are listed with
# them: the finder of a project's Python lock files, the spelling of a
# version in a wheel's file name, and the hosted scan's check of an
# installed wheel. Last, the VEX code: `vex/` of the core and the files
# of the `vex` command. Every flow holds the exact document socket-patch
# writes about its patched build, so a change to how a document is built
# or worded starts the legs of every ecosystem. Nothing else that
# installed wheel. Last, the VEX code: `vex/` of the core, the files of
# the `vex` command, and `bazel/` of the core, which reads the workspace
# files and decides whether Bazel builds what was patched. Every flow
# holds the exact document socket-patch writes about its build, patched
# or not, so a change to how a document is built or worded
# starts the legs of every ecosystem. Nothing else that
# another ecosystem's flow owns is here, so any other change to one
# ecosystem starts that ecosystem's legs only.
#
Expand Down Expand Up @@ -73,6 +75,7 @@ on:
- 'crates/socket-patch-core/src/vendor/pypi_requirements.rs'
- 'crates/socket-patch-core/src/vendor/pypi_wheel.rs'
- 'crates/socket-patch-core/src/vex/discover/pypi_other.rs'
- 'crates/socket-patch-core/src/bazel/**'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/commands/vex*.rs'
push:
Expand Down Expand Up @@ -106,6 +109,7 @@ on:
- 'crates/socket-patch-core/src/vendor/pypi_requirements.rs'
- 'crates/socket-patch-core/src/vendor/pypi_wheel.rs'
- 'crates/socket-patch-core/src/vex/discover/pypi_other.rs'
- 'crates/socket-patch-core/src/bazel/**'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/commands/vex*.rs'
- 'crates/socket-patch-cli/tests/e2e_bazel_build/main.rs'
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/bazel-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ on:
# (formats/gem), lock discovery, the lock inventory, the Ruby crawler
# (it says which lock Bundler loads), the upstream restore of
# `rollback`, and the stale-install guard that both commands end with.
# Last, the VEX code: `vex/` of the core and the files of the `vex`
# command. Every flow holds the exact document socket-patch writes about
# its patched build, so a change to how a document is built or worded
# starts the legs of every ecosystem. Nothing else that another
# Last, the VEX code: `vex/` of the core, the files of the `vex`
# command, and `bazel/` of the core, which reads the workspace files and
# decides whether Bazel builds what was patched. Every flow holds the
# exact document socket-patch writes about its patched build, so a
# change to how a document is built or worded starts the legs
# of every ecosystem. Nothing else that another
# ecosystem's flow owns is here, so any other change to one ecosystem
# starts that ecosystem's legs only.
#
Expand Down Expand Up @@ -64,6 +66,7 @@ on:
- 'crates/socket-patch-core/src/crawlers/ruby_crawler.rs'
- 'crates/socket-patch-core/src/patch/redirect/upstream/gem.rs'
- 'crates/*/src/**/gem_refresh.rs'
- 'crates/socket-patch-core/src/bazel/**'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/commands/vex*.rs'
push:
Expand All @@ -88,6 +91,7 @@ on:
- 'crates/socket-patch-core/src/crawlers/ruby_crawler.rs'
- 'crates/socket-patch-core/src/patch/redirect/upstream/gem.rs'
- 'crates/*/src/**/gem_refresh.rs'
- 'crates/socket-patch-core/src/bazel/**'
- 'crates/socket-patch-core/src/vex/**'
- 'crates/socket-patch-cli/src/commands/vex*.rs'
- 'crates/socket-patch-cli/tests/e2e_bazel_build/main.rs'
Expand Down
Loading
Loading