Skip to content

chore: fix ci runners#3

Merged
MarioCadenas merged 1 commit intomainfrom
pkosiec/fix-ci
Dec 5, 2025
Merged

chore: fix ci runners#3
MarioCadenas merged 1 commit intomainfrom
pkosiec/fix-ci

Conversation

@pkosiec
Copy link
Copy Markdown
Member

@pkosiec pkosiec commented Dec 5, 2025

This PR fixes an issue on CI which I observed on #1:
image

Thanks to @fjakobs for pointing to the right runner group 👍

@pkosiec pkosiec marked this pull request as ready for review December 5, 2025 10:32
@pkosiec pkosiec changed the title chore: switch to deco runner group chore: fix ci runners Dec 5, 2025
@MarioCadenas MarioCadenas merged commit a5915dc into main Dec 5, 2025
3 checks passed
@MarioCadenas MarioCadenas deleted the pkosiec/fix-ci branch December 19, 2025 17:44
@pkosiec pkosiec mentioned this pull request Apr 15, 2026
3 tasks
jamesbroadhead added a commit that referenced this pull request Apr 28, 2026
#2 — replace Object.defineProperty(signal, "aborted", ...) with
vi.spyOn(signal, "aborted", "get").mockReturnValue(true). The native
AbortSignal.aborted is a non-configurable getter; the previous form
worked under vitest's Node env but could throw "Cannot redefine
property" on stricter engines. The getter spy is vitest's idiomatic
way to mock non-configurable accessors and works regardless of
configurability.

#3 — defensive client-side size cap on arrow_inline attachments
(8 MiB), mirroring the connector cap. Prevents a misconfigured proxy
or future server bug from pushing the browser into allocating an
unbounded Uint8Array. Both caps carry a comment pointing to PR #320
which removes the arrow_inline SSE path entirely; that PR can drop
the client cap and raise the connector cap to the API's 25 MiB hard
limit when it lands.

Tests: 1 new — hook rejects oversized arrow_inline payloads before
decodeBase64 or processArrowBuffer is called.

Co-authored-by: Isaac
Signed-off-by: James Broadhead <jamesbroadhead@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants