Skip to content

bun run check: what a local run still does not cover #554

Closed

Description

@devswha

bun run check (#544) runs CI's two jobs from one script, on a herdr of the run's own. What it does not cover yet:

  • Two runs in one checkout. Only documented. fast rewrites shared/herdr-api.generated.ts while it checks it, every mode builds into dist/, and Vite's xterm step writes into node_modules/.cache. A second run in the same checkout, or a bun run build beside a run, can break the first. A lock per checkout (the lane lock is per PC and only for runs with a lane) or a build into a directory of the run's own would close it.
  • check run takes no lock. bun run check run <command…> gets the isolated herdr but not the one-lane-at-a-time lock, so a browser script started this way can run beside a full run and take CPU from its timing-bound checks.
  • Node. CI pins Node 22; a PC uses whatever is on PATH (24 on the maintainer's). It matters for the PTY sidecar. Either say so when the versions differ, or pin a version for the lanes (a .node-version that CI's setup-node and a version manager both read).
  • The lock's port is fixed (127.0.0.1:41737). If something else listens there the run says so and stops; there is no setting to move it.
  • What an agent says it ran. AGENTS.md names the commands, but not that a handoff or PR description should say which of fast, full or single files were run and which were skipped. No pre-push hook is wanted (it would not have caught any of the failures of 2026-10-06 and 07, and costs about 70 s a push), so this line is what stands in for it.

Not planned: a container that matches the runner image. A local pass will stay a strong hint, not CI's verdict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions