fix(update): avoid lint-blocked dev installs (#77181)

This commit is contained in:
Vincent Koc
2026-05-05 16:05:35 -07:00
committed by GitHub
parent fdddb413ef
commit a4c860a70c
6 changed files with 135 additions and 6 deletions

View File

@@ -34,6 +34,13 @@ describe("run-oxlint", () => {
expect(shardedLintRunner).toContain('OPENCLAW_OXLINT_SKIP_PREPARE: "1"');
});
it("lets dev update preflight run oxlint shards serially", () => {
const shardedLintRunner = readFileSync("scripts/run-oxlint-shards.mjs", "utf8");
expect(shardedLintRunner).toContain("OPENCLAW_OXLINT_SHARDS_SERIAL");
expect(shardedLintRunner).toContain("runShardsSerial");
});
it("filters tracked targets missing from sparse checkouts", () => {
const result = filterSparseMissingOxlintTargets(
["--tsconfig", "config/tsconfig/oxlint.core.json", "src", "ui", "packages", "--threads=1"],