Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: Upgrade Bun one final time (rust?) - #27648

Merged
Hona merged 2 commits into
anomalyco:devfrom
Hona:upgrade-bun-1.3.14
May 17, 2026
Merged

Hona merged 2 commits into
anomalyco:devfrom
Hona:upgrade-bun-1.3.14

Conversation

@Hona

@Hona Hona commented May 15, 2026

Copy link
Copy Markdown
Member

Summary

  • Bump the repo Bun runtime target to 1.3.14.
  • Sync the bun-node container default and timeline sample output.
  • Refresh @types/bun to 1.3.13 in bun.lock; @types/bun 1.3.14 is still blocked by the repo minimumReleaseAge setting.

Verification

  • bun install --linker hoisted
  • bun typecheck in packages/ui
  • bun typecheck in packages/opencode failed on unrelated event type errors in untouched files
  • pre-push bun turbo typecheck failed on the same unrelated event type errors

Copilot AI review requested due to automatic review settings May 15, 2026 01:59
@Hona Hona changed the title [Upgrade bun one last time] chore: Upgrade Bun one last time (rust?) May 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the repository’s Bun runtime target and keeps related container defaults and UI sample output aligned.

Changes:

  • Updates root packageManager from Bun 1.3.13 to 1.3.14.
  • Updates the bun-node container default BUN_VERSION to 1.3.14.
  • Refreshes Bun type packages in package.json/bun.lock to 1.3.13 and updates the timeline sample output.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Updates Bun package manager target and @types/bun catalog version.
bun.lock Locks updated @types/bun and bun-types versions.
packages/containers/bun-node/Dockerfile Aligns default container Bun version with the repo runtime target.
packages/ui/src/components/timeline-playground.stories.tsx Updates the displayed Bun version in timeline sample output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Hona Hona changed the title chore: Upgrade Bun one last time (rust?) chore: Upgrade Bun one final time (rust?) May 15, 2026
@Hona
Hona merged commit de846ca into anomalyco:dev May 17, 2026
9 checks passed
kittyandrew added a commit to kittyandrew/kfactory that referenced this pull request May 22, 2026
opencode pin:
- inputs.opencode -> github:anomalyco/opencode/v1.15.9 (upstream moved
  from sst/opencode to anomalyco/opencode mid-v1.15.x).
- Three kfactory patches re-diffed via the 5-tree workflow: only
  workspace-branch had a real conflict (v1.15.9 added an upstream
  `import { notFound }` mid-import-block which broke hunk #1 context);
  bearer-and-routing + kfactory-refresh changed only blob hashes + a
  handful of line offsets.
- Worked around upstream's wrong x86_64-linux hash in nix/hashes.json
  (recurring CI race tracked at anomalyco/opencode#18227) by overriding
  node_modules via `opencode.packages.${system}.node_modules_updater`
  with the correct sha256 derived via the awk recipe in the comment.
  Single-platform pin; drop the .override block when upstream stabilises.

Docs:
- rules/020-patches.md split into three files (stack identity in 020,
  re-diff workflow in 021, bumping playbook in 022) per
  .claude/rules/000-meta.md's 100-line guideline. Cross-references
  between them keep the workflow discoverable from any entry point.
- 022 documents the hashes.json workaround + per-platform caveat + how
  to verify it can be dropped on a future bump.
- flake.nix `patches.*` consumer docstring now warns that the embedded
  hash is v1.15.9-specific (copy-paste only works for that exact pin)
  and that the .override recipe requires the consumer's opencode flake
  to expose `node_modules_updater` (anomalyco fork + descendants only).
- Two adjacent @warnings in flake.nix labelled parenthetically:
  `@WARNING (hashes.json):` vs `@WARNING (patch order):`.
- CLAUDE.md layout block fixed: was `ci.yml (two-job ...)`, now
  `check.yml (single job ...)` matching the actual workflow file
  and the new CI shape.
- docs/spec.md: anomalyco/opencode#27648 -> anomalyco/opencode#27648,
  v1.15.7 -> v1.15.9 mention. v1.15.9 still has both v1 message and
  v2 session_message tables (verified), so the heal targets both.

CI:
- check.yml collapsed from two jobs (quality + build, each running
  `nix flake check`) to one job. Same secret-isolation property
  preserved via a step-level `if: push-to-default-branch` on the
  Attic setup step. GHA semantics: a step's post-hook is skipped iff
  its main step's `if:` evaluated false, so attic-action only pushes
  when the gate passed.
- Attic setup placed AFTER the lint/test gates, restoring the old
  "linters pass before secrets touch disk" property of the two-job
  shape (on push-to-default, attic config now only lands on disk
  after every linter + test passed).

Verified: `nix flake check` (19 checks), `actionlint`, `zizmor`,
`alejandra`, `deadnix`, `betterleaks`, `golangci-lint`, `gofmt`,
`go test`.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
isaacfinnegan pushed a commit to isaacfinnegan/whispercode that referenced this pull request Jun 15, 2026
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