Merge remote-tracking branch 'origin/main' into garrytan/lyon-v2

# Conflicts:
#	CHANGELOG.md
#	VERSION
#	package.json
#	test/gstack-next-version.test.ts
This commit is contained in:
Garry Tan
2026-05-14 13:57:37 -07:00
24 changed files with 2593 additions and 59 deletions
+4 -1
View File
@@ -153,6 +153,9 @@ describe("markActiveSiblings", () => {
// Integration smoke — only runs if gh is available and authenticated. Confirms
// the CLI executes end-to-end against real APIs without crashing.
describe("integration (smoke)", () => {
// Bumps timeout to 30s — the test spawns a real `bun run` subprocess that
// does a `gh pr list` against the live GitHub API to inspect claimed slots.
// Network latency makes 5s tight on developer machines.
test("CLI runs against real repo and emits parseable JSON", async () => {
const proc = Bun.spawnSync([
"bun",
@@ -178,5 +181,5 @@ describe("integration (smoke)", () => {
expect(Array.isArray(parsed.claimed)).toBe(true);
expect(parsed).toHaveProperty("siblings");
expect(parsed.siblings).toEqual([]); // --workspace-root null disabled scanning
}, 15_000); // Headroom over the 4-5s wall time of the spawned process under load
}, 30_000); // Headroom over the 4-5s wall time of the spawned process under load
});