Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"automerge": false
},
{
"description": "Pin Bun to 1.3.11: 1.3.12+ broke macOS binary codesign for bun build --compile (hotfixed in v0.17.9). Unpin only after verifying signed builds work on the target version.",
"description": "Pin Bun to 1.4.2: unpin only after verifying signed builds work on the target version.",
"matchManagers": ["github-actions"],
"matchDepNames": ["oven-sh/setup-bun"],
"matchDepTypes": ["action"],
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ concurrency:
cancel-in-progress: false

env:
BUN_VERSION: 1.3.11
TARGET_IMAGE: oven/bun:1.3.11-slim@sha256:478281fdd196871c7e51ba6a820b7803a8ae97042ec86cdbc2e1c6b6626442d9
BUN_VERSION: 1.4.2
TARGET_IMAGE: oven/bun:1.4.2-slim@sha256:cb3bbbb08e13a4a2ff400f24c7a2a1d5efa83f6ef8544d52d95a519631e2fc61
ZAP_VERSION: 2.17.0
ZAP_IMAGE: ghcr.io/zaproxy/zaproxy:stable@sha256:781a2bdaea47324e7bab583e2263f21d257b0aee61ed51521a5be45f5f5081ef
DAST_NETWORK: plannotator-dast-${{ github.run_id }}-${{ github.run_attempt }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2

- name: Install dependencies
run: bun install --frozen-lockfile
Expand All @@ -299,7 +299,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/guides-show-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2
no-cache: true

- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2
no-cache: true

- name: Install dependencies
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2
no-cache: true

- name: Install dependencies
Expand Down Expand Up @@ -710,7 +710,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2
no-cache: true

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
Expand Down Expand Up @@ -1042,7 +1042,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2
no-cache: true

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
Expand Down Expand Up @@ -1100,7 +1100,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2
no-cache: true

- name: Download binary subjects
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2

- name: Materialize packages for license evidence
shell: bash
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
if: steps.gate.outputs.run == 'true'
with:
bun-version: 1.3.14
bun-version: 1.4.2

- name: Install dependencies
if: steps.gate.outputs.run == 'true'
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2

- name: Install dependencies
run: bun install --frozen-lockfile
Expand All @@ -351,7 +351,7 @@ jobs:

- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
with:
bun-version: 1.3.14
bun-version: 1.4.2

- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
Expand Down
9 changes: 6 additions & 3 deletions apps/pi-extension/server/network.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,14 @@ describe("pi port selection", () => {
await closeServer(servers[1]);
process.env.PLANNOTATOR_PORT = `${start}-${start + 1}`;
const server = createServer();
const initialListening = server.listenerCount("listening");
try {
expect(await listenOnPort(server)).toEqual({
port: start + 1,
portSource: "env",
});
expect(server.listenerCount("error")).toBe(0);
expect(server.listenerCount("listening")).toBe(0);
expect(server.listenerCount("listening")).toBe(initialListening);
} finally {
await closeServer(server);
await closeServer(servers[0]);
Expand Down Expand Up @@ -206,11 +207,12 @@ describe("pi port selection", () => {
const { start, servers } = await occupyConsecutivePorts(12);
process.env.PLANNOTATOR_PORT = `${start}-${start + servers.length - 1}`;
const server = createServer();
const initialListening = server.listenerCount("listening");

try {
await expect(listenOnPort(server)).rejects.toThrow("exhausted");
expect(server.listenerCount("error")).toBe(0);
expect(server.listenerCount("listening")).toBe(0);
expect(server.listenerCount("listening")).toBe(initialListening);
} finally {
await Promise.all(servers.map(closeServer));
}
Expand All @@ -223,13 +225,14 @@ describe("pi non-range port compatibility", () => {
const { start, servers } = await occupyConsecutivePorts(1);
process.env.PLANNOTATOR_PORT = String(start);
const server = createServer();
const initialListening = server.listenerCount("listening");

try {
await expect(listenOnPort(server)).rejects.toThrow(
new RegExp(`^Port ${start} in use after 5 retries$`),
);
expect(server.listenerCount("error")).toBe(0);
expect(server.listenerCount("listening")).toBe(0);
expect(server.listenerCount("listening")).toBe(initialListening);
} finally {
await closeServer(servers[0]);
}
Expand Down
44 changes: 18 additions & 26 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bunfig.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
linker = "isolated"
minimumReleaseAge = 604800 # 7 days in seconds
# OpenCode 2's required session/tool plugin APIs are only in matching next packages; remove these when they reach stable.
minimumReleaseAgeExcludes = ["@opencode-ai/ai", "@opencode-ai/client", "@opencode-ai/plugin", "@opencode-ai/protocol", "@opencode-ai/schema", "@pierre/diffs", "@pierre/theme", "@pierre/theming", "@plannotator/atomic-editor", "@plannotator/markdown-editor", "@plannotator/webtui"]
minimumReleaseAgeExcludes = ["@opencode-ai/ai", "@opencode-ai/client", "@opencode-ai/plugin", "@opencode-ai/protocol", "@opencode-ai/schema", "@oven/bun-darwin-aarch64", "@oven/bun-darwin-x64", "@oven/bun-darwin-x64-baseline", "@oven/bun-freebsd-aarch64", "@oven/bun-freebsd-x64", "@oven/bun-linux-aarch64", "@oven/bun-linux-aarch64-android", "@oven/bun-linux-aarch64-musl", "@oven/bun-linux-x64", "@oven/bun-linux-x64-android", "@oven/bun-linux-x64-baseline", "@oven/bun-linux-x64-musl", "@oven/bun-linux-x64-musl-baseline", "@oven/bun-windows-aarch64", "@oven/bun-windows-x64", "@oven/bun-windows-x64-baseline", "@pierre/diffs", "@pierre/theme", "@pierre/theming", "@plannotator/atomic-editor", "@plannotator/markdown-editor", "@plannotator/webtui", "@types/bun", "bun", "bun-types"]

[test]
preload = ["./tests/setup/feedback-archive-off.ts", "./packages/ui/test-setup/happy-dom.ts"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"devDependencies": {
"@types/node": "^25.5.2",
"@types/turndown": "^5.0.6",
"bun-types": "^1.3.11"
"bun-types": "^1.4.2"
}
}
Loading
Loading