Skip to content

Migrate development tooling to Biome and Bun - #5

Merged
tt-a1i merged 2 commits into
mainfrom
chore/biome-bun-tooling
Aug 12, 2026
Merged

Migrate development tooling to Biome and Bun#5
tt-a1i merged 2 commits into
mainfrom
chore/biome-bun-tooling

Conversation

@tt-a1i

@tt-a1i tt-a1i commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • replace Prettier and package-lock with Biome 2.5.8 and Bun 1.3.14
  • add a conservative Biome recommended lint gate with explicit legacy-debt exclusions
  • keep Node as the runtime and retain node:test, Vitest, TypeScript/Effect checks, and npm package smoke tests
  • update CI and contributor documentation for frozen Bun installs
  • isolate formatter-only churn in its own commit

Verification

  • clean temporary checkout: bun install --frozen-lockfile
  • bun run check
  • bun run test (591 Node tests, 29 Vitest tests)
  • npm pack --ignore-scripts (121 files; no tests, specs, docs/design, tsconfig, Biome/Bun config, or package lock leakage)
  • git diff --check

Closes #4

@tt-a1i

tt-a1i commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator Author

Verification status

  • Node 22.19 and Node 24 CI matrices pass on both push and pull_request runs
  • frozen Bun install, Biome formatting/lint, TypeScript + Effect checks, 591 Node tests, and 29 Vitest tests pass
  • existing npm pack/install and Pi discovery smoke gates remain green
  • formatter-only changes are isolated in commit 48c7951; toolchain/CI/docs changes are in fc982e3

Final read-only review is still running; I will follow up if it finds an actionable issue.

@tt-a1i

tt-a1i commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator Author

Formatter gate clarification

A reviewer suggested adding --check to biome format, but Biome 2.5.8 does not expose that flag (biome format --help lists only --write for mutation). Its default mode is the check mode: before applying the formatter commit, bun run format:check reported 14 files and exited 1; after formatting it exits 0. Therefore "format:check": "biome format ." is the canonical non-mutating CI gate for the pinned version.

@tt-a1i
tt-a1i merged commit f12a45e into main Aug 12, 2026
4 checks passed
@tt-a1i
tt-a1i deleted the chore/biome-bun-tooling branch August 12, 2026 04:14
agnitum2009 pushed a commit to agnitum2009/openpi that referenced this pull request Aug 13, 2026
…erminals

Add background terminals extension
agnitum2009 pushed a commit to agnitum2009/openpi that referenced this pull request Aug 13, 2026
Migrate development tooling to Biome and Bun
agnitum2009 pushed a commit to agnitum2009/openpi that referenced this pull request Aug 14, 2026
两条不相交历史(lazyload 开发库独立根)。分支 296 提交为演化主线,
内容取代 origin/main 的 PR openpi-dev#3/openpi-dev#5/openpi-dev#7/openpi-dev#9(Redis 可选依赖、Biome/Bun
对齐、任务对账、批量通知——分支已含演化版:shared/task-reconcile、
result-delivery、biome/bun 工具链)。

- 冲突与内容一律取分支侧;合并树 == 分支树(read-tree 落地后
  diff 为空校验通过;merge 自动解析曾引入 main 侧旧位置
  subagents/src/agent-types.ts 残留,已随精确落地清除——该模块
  在分支 c7017af DDD 收敛时迁至 shared/)
- 本地 main 未推送的 2 个提交(commit-task-sync v2 + obsidian KB)
  存档于 archive/local-main-unpushed;vault 内容按 d0e64d4 决策不并入
- 分支关键内容:工具载荷 40.6k→~36.0k tok(端到端 -10.5%)、加载组
  预设、B 方案第三方描述补丁、显示残留根治(model-info tok/s、
  session-liveness busy 闸门 + 子会话守卫)、总线漂移守卫、
  agent-types 诊断分级
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.

Migrate development tooling to Biome and Bun while preserving Node compatibility

1 participant