Skip to content
Merged
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
8 changes: 8 additions & 0 deletions .github/workflows/ci-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ jobs:

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: "1.3.14"

- name: Verify generated webviews assets
run: ./scripts/build-webviews-app.sh --check
Expand Down Expand Up @@ -242,6 +244,8 @@ jobs:

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: "1.3.14"

- name: Install webview dependencies
working-directory: webviews
Expand Down Expand Up @@ -290,6 +294,8 @@ jobs:

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: "1.3.14"

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down Expand Up @@ -323,6 +329,8 @@ jobs:

- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: "1.3.14"

- name: Build and test Agent Session web resources
run: |
Expand Down
11 changes: 11 additions & 0 deletions tests/test_ci_change_areas.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,17 @@ def test_required_tests_status_waits_for_platform_workflows() -> None:
assert 'web_result not in {"success", "skipped"}' in block



def test_web_workflow_pins_every_bun_setup_version() -> None:
workflow = WEB_WORKFLOW.read_text(encoding="utf-8")
action = "uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6"
blocks = workflow.split(action)
assert len(blocks) > 1
for suffix in blocks[1:]:
setup_tail = suffix.split("\n - name: ", 1)[0]
assert ' bun-version: "1.3.14"' in setup_tail


def test_web_typecheck_retries_native_tsgo_abort() -> None:
script = workflow_job_step_script("web-typecheck", "Typecheck", WEB_WORKFLOW)

Expand Down
Loading