fix(runtime): revert Bun 1.4.0 -> 1.3.14 to fix Telegram sendDocument socket-close

Bun 1.4.0 (upgraded 0deb607) breaks Telegraf 4.15 sendDocument with
'The socket connection was closed unexpectedly' — reproduced with the same
libraries: Telegraf 4.15.0 on Bun 1.4.0 fails exactly like prod, on Bun 1.3.14
it returns a proper HTTP response. All uploads 500 since the upgrade deployed
(Aug 29 11:06). Pin flake nix override + CI bun-version to 1.3.14.
This commit is contained in:
asepharyana
2026-08-30 15:18:41 +07:00
parent 0deb6072dd
commit 94c782ef23
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: "1.4.0"
bun-version: "1.3.14"
- name: Install deps
run: bun install --frozen-lockfile
+3 -3
View File
@@ -14,10 +14,10 @@
overlays = [
(self: super: {
bun = super.bun.overrideAttrs (old: rec {
version = "1.4.0";
version = "1.3.14";
src = super.fetchzip {
url = "https://github.com/oven-sh/bun/releases/download/bun-v1.4.0/bun-linux-x64.zip";
sha256 = "sha256:Poy0vf7yJ/hzk33QiQj5gnshI5Q7dfbaMD7xgwiyDKw=";
url = "https://github.com/oven-sh/bun/releases/download/bun-v1.3.14/bun-linux-x64.zip";
sha256 = "sha256:189kasncnfpq6q37q3w80dv2a92w79w20x2x6hf1fbkir5gyvzlb";
};
});
})