moon: [bug] `moon ci` fails if bun is recently updated

Describe the bug

Whenever bun get’s released (normally every friday. specially this weekend there were 2 releases), moon ci command fails. This happens because in my toolchain file I use the latest version of bun:

bun:
  syncProjectWorkspaceDependencies: true
  version: latest

Error message is:

▪▪▪▪ bun install
  bun install (in workspace)
  Error: proto::version::undetected
    × Failed to detect an applicable version to run Bun with. Try pinning a
    │ version or passing the version as an argument.
    help: Has the tool been installed?
  [ERROR 2024-06-01 19:44:35.491] log:ci  Encountered a critical error, aborting the action pipeline  log.target="moon_action_pipeline::pipeline" log.module_path="moon_action_pipeline::pipeline" log.file="legacy/core/action-pipeline/src/pipeline.rs" log.line=398
  Error: process::failed

Then I need to pin the version in order to have it working or wait some time and then it works.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16

Most upvoted comments

In our environment in github it works but in azure dev ops it’s still hanging. Sent you the logs in discord.