Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

ci: the static job fetches history without file contents

milind-soni242a8396e86c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7492bb9ddf..2f9a1c1c12 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -79,7 +79,10 @@ jobs:
with:
# Full history lets PR selection use the merge base, including deletes
# and both sides of renames, without GitHub's changed-file page limit.
+ # Its trees are enough for that; git fetches an old file's contents
+ # when one is read. The whole history took 2m41s to reach a Boat VM.
fetch-depth: 0
+ filter: blob:none
persist-credentials: false
- uses: pnpm/action-setup@ff378ebe6b225b0680b81c1ad4498ae0d1d3a5e3 # v6.0.10
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
diff --git a/docs/ci.md b/docs/ci.md
index d79c4181b5..9403d1e531 100644
--- a/docs/ci.md
+++ b/docs/ci.md
@@ -345,7 +345,8 @@ instead (Settings → Secrets and variables → Actions → Variables; anything
runs the Linux vitest shards, behavior evals and the Linux packaged server
smoke side by side as lanes of that VM (`scripts/ci-linux-lanes.mjs`, the
same commands as their GitHub jobs), and prints each lane's log in a group
- when it ends. `ci-scope.mjs` leaves those jobs out of the selection, so the
+ when it ends. GitHub keeps only 10 error annotations per step, so when many
+ tests fail, the lane groups in the log are the full record. `ci-scope.mjs` leaves those jobs out of the selection, so the
`CI` gate reads them as skipped by design and `static`'s result covers
them. The Windows jobs, the macOS smokes, the advisory Linux jobs (open-source
edition, control plane, renderer smoke, browser identity and driver, Linux