Skip to content

[Tracking] Bun 1.4.x: release-age guard, bunfig cleanup, and measured bun check, bun fmt and bun test numbers #649

Done

Description

@HMarzban

Summary

Bun moved from 1.4.0 to 1.4.4 after our upgrade in #171. Production follows the floating oven/bun:1-slim tag and runs 1.4.4. CI and production run the same Bun since #650 (2026-11-03).

This tracker reviews what 1.4.1 to 1.4.4 change for docs.plus. It fixed one regression (#651) and aligned the versions (#650). It now measures each gain before any tool swap.

Sources: the release posts for 1.4, 1.4.1, 1.4.2, 1.4.3 and 1.4.4.

A number marked vendor comes from those posts. It is not ours until a child issue measures it.

Done when: every open child is closed (#653, #657, #659, #660, #794 and #795), and #660 has the maintainer-approved report link.

Benchmark

This tracker owns no speed number. It owns one exact count, and it lists each child's metric and status. Each child ends with an exact number, or with n >= 5 and a median and min–max. Measured comments use the format under §Measured comment format. #796 holds the one copy of each before, after and claim number.

Child Metric Status
#649 (this tracker) Bun surfaces in workflows not pinned to the production version (1.4.4). Exact count, from grep -n "bun-version" .github/workflows/*.yml .github/actions/setup-bun/action.yml. Done: 0 at 288d4d260 (Measured, 2026-11-16)
#650 CI Bun against production Bun Closed 2026-11-03
#651 Largest WebSocket message the collab server accepts Closed 2026-11-03
#652 Production memory, CPU and latency on Bun 1.4.4 Closed 2026-11-10, no Bun claim
#658 Workspaces in the typecheck gate Closed 2026-11-03
#653 Version-intake paths that refuse a release under 72 h, out of 3 Open: one step left, the next Dependabot run
#654 bun check against tsc Closed 2026-11-14, adopted. The swap is #794
#655 bun fmt against Prettier Closed 2026-11-14, adopted. The swap is #795
#794 Type-check wall time, 15 workspaces, s Open: the CI read (3) is left
#795 Format gate wall time, s Open: the CI read (3) is left
#657 Literal ~ folders; bun test wall time, s Open: Step 1 is left (maintainer)
#660 Report numbers that link to a Measured comment Open, last

As of 2026-11-11 (HEAD 0b302b2)

Surface Bun Source
Production 1.4.4 deploy logs: 1.4.0 until 2026-09-02, 1.4.2 from 2026-09-07, 1.4.3 from 2026-10-10, 1.4.4 from 2026-10-23
Docker base oven/bun:1-slim 1.4.4 image created 2026-10-22
CI setup-bun default 1.4.4 .github/actions/setup-bun/action.yml:13
CI lockstep-guard.yml 1.4.4 .github/workflows/lockstep-guard.yml:35
Stage workflow latest .github/workflows/stage.docs.plus.yml:219
bun-types ^1.4.4 root package.json
engines.bun >=1.4.0 root package.json

On 2026-10-31 CI setup-bun and lockstep-guard.yml pinned 1.4.1, and bun-types was ^1.4.2. #650 aligned them on 2026-11-03.

Children, in landing order

Found during the review:

Each benchmark has a kill rule. A child that fails its rule closes with a Measured comment and no code change.

Measured comment format

Every benchmark child posts one comment headed Measured, <date>. Use the release-product skill §Measured comment format (.agents/skills/release-product/SKILL.md, committed in 5f6bd6eec). The same fields in every comment let #660 build one report from them.

Not proposed

Each was rejected before, or does not fit, for the reason given.

Checked, no effect: the 1.4.1 TLS change verifies the URL host, not a custom Host header, and no code sends a custom Host to fetch(). #650 holds the evidence for the 1.4.4 install and glob changes.

Related

Rulings

The Maintainer ruling, 2026-10-31 comment below records the four rulings. The children cite them by number. The Security label now covers #653 only, since #651 closed.

Activity

  1. added this to the v2.4.0 milestone on Oct 31, 2026
  2. added
    Security
    Performance
    on Oct 31, 2026
  3. HMarzban commented on Oct 31, 2026

    @HMarzban
    CollaboratorAuthor

    Maintainer ruling, 2026-10-31

    The maintainer answered four questions from the review. Answers are quoted as given.

    1. Verify the production Bun version, then file the frame-cap fix as a Security issue. Answer: "yes do it". Verified the same day, read-only: every production app container runs Bun 1.4.4. Filed as Cap collaboration WebSocket messages at 16 MiB again on Bun 1.4.4 #651.
    2. Bump CI to Bun 1.4.4 in the same change as the frame cap. Answer: "yes". Filed as Run CI on Bun 1.4.4, the version production ships #650.
    3. Which benchmark runs first. Answer: "bun check". Filed as Benchmark bun check against tsc in every workspace #654. Benchmark bun fmt against Prettier #655 and Re-measure bun test --parallel now that Bun 1.4.1 fixed coverage #656 follow it.
    4. The minimumReleaseAge window. Answer: "3d". The maintainer accepted the recommended rule that security bumps are excluded by name. Filed as Hold new package versions for 3 days before bun install takes them #653.

    Open decisions stay in each child issue, each with a recommended answer.

  4. changed the title [-][Tracking] Use Bun 1.4.x well: fix the frame cap, align CI, then benchmark[/-] [+][Tracking] Use Bun 1.4.x well: fix the message cap, align CI, then benchmark[/+] on Oct 31, 2026
  5. HMarzban commented on Oct 31, 2026

    @HMarzban
    CollaboratorAuthor

    Review and refinement, 2026-10-31

    Three independent reviews (backend and security, DevOps, build tooling) checked every child against the code, the release notes and production deploy logs. The bodies now carry the corrected text. The changes that matter:

    The children's order above is updated. The rulings comment stays as posted; #656 closed, see above.

  6. HMarzban commented on Oct 31, 2026

    @HMarzban
    CollaboratorAuthor

    Maintainer ruling update, 2026-10-31

    The maintainer answered three open questions. Answers are quoted as given.

    1. Run Measure the Bun 1.4.x memory, CPU and latency gains in production #652 now. Answer: "yep".
    2. Move Cap collaboration WebSocket messages at 16 MiB again on Bun 1.4.4 #651 and Run CI on Bun 1.4.4, the version production ships #650 to v2.3.0. Answer: "yes do it, but remember we need a cohesive benchmark for marketing team for later." Both moved to v2.3.0. Publish one Bun 1.4.x benchmark report for the marketing team #660 holds the marketing report, and this tracker now sets one Measured comment format for every benchmark.
    3. The two side findings from the review. Answer: "also in that mileston if those are exist fix it." No existing issue covered either one. Filed in v2.3.0 as Bound how much one connection can grow a collaboration document #659 (document growth budget) and Type-check packages/email-templates and packages/pad-url in the typecheck gate #658 (type-check gap).
  7. modified the milestones: v2.4.0, v2.3.6 on Nov 9, 2026
  8. changed the title [-][Tracking] Use Bun 1.4.x well: fix the message cap, align CI, then benchmark[/-] [+][Tracking] Bun 1.4.x: release-age guard, bunfig cleanup, and measured bun check, bun fmt and bun test numbers[/+] on Nov 11, 2026
  9. HMarzban commented on Nov 14, 2026

    @HMarzban
    CollaboratorAuthor

    Moved to v2.3.7 at the v2.3.6 release audit. #654 and #655 closed with an adopt ruling, and their swaps are #794 and #795. Children #653, #657, #659 and #660 are still open.

  10. modified the milestones: v2.3.6, v2.3.7 on Nov 14, 2026
  11. HMarzban commented on Nov 16, 2026

    @HMarzban
    CollaboratorAuthor

    Measured, 2026-11-16: the tracker count

    Bun surfaces in workflows not pinned to the production version (1.4.4). Exact count, from the tracker's own command at 288d4d260:

    grep -n "bun-version" .github/workflows/*.yml .github/actions/setup-bun/action.yml
    
    Surface 2026-10-31 2026-11-11 (0b302b222) 2026-11-16 (288d4d260)
    CI setup-bun default 1.4.1 1.4.4 1.4.4 (action.yml:13)
    lockstep-guard 1.4.1 1.4.4 1.4.4 (lockstep-guard.yml:35)
    Stage workflow latest latest file deleted (#725)
    Unpinned count 3 1 0

    The other bun-version lines in action.yml (34, 60, 62) pass the input through or build a cache key; they set no version.

    Left: close the children #653, #657, #659 and #660, then this tracker. #794 and #795 are built and pushed; their CI step reads follow.

  12. HMarzban commented on Nov 16, 2026

    @HMarzban
    CollaboratorAuthor

    Review, 2026-11-16 (maintainer approved).

  13. HMarzban commented on Nov 17, 2026

    @HMarzban
    CollaboratorAuthor

    Measured format. The house format now lives in release-product §Measured comment format, with the §Content-safety checklist beside it. Use that section for every Measured comment (#762, ruling A).

  14. HMarzban commented on Nov 24, 2026

    @HMarzban
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DevOpsPerformanceSecurity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions