Giter Site home page Giter Site logo

Comments (16)

rhuanbarreto avatar rhuanbarreto commented on July 17, 2024 1

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

from moon.

milesj avatar milesj commented on July 17, 2024

Are you using the setup-toolchain github action?

from moon.

rhuanbarreto avatar rhuanbarreto commented on July 17, 2024

Yes

from moon.

milesj avatar milesj commented on July 17, 2024

Has this been happening on multiple moon versions, or recently started?

from moon.

rhuanbarreto avatar rhuanbarreto commented on July 17, 2024

Looks like caching the .moon/cache folder is generating issues. When I run uncached, it works.

from moon.

milesj avatar milesj commented on July 17, 2024

@rhuanbarreto Ah yeah, .moon/cache/states is not portable. Ideally you shouldn't cache any of this.

from moon.

rhuanbarreto avatar rhuanbarreto commented on July 17, 2024

Yes. but even when not caching the .moon/cache folder I was getting errors. Now disabling cache on the setup toolchain action did the trick for me.

from moon.

milesj avatar milesj commented on July 17, 2024

I'll try to recreate but I'm not 100% sure where the actual issue is. There's a ton of layers involved here.

from moon.

rhuanbarreto avatar rhuanbarreto commented on July 17, 2024

I can share the logs with you on discord if you want

from moon.

milesj avatar milesj commented on July 17, 2024

Yeah anything would help.

from moon.

milesj avatar milesj commented on July 17, 2024

I've done some initial testing but have been unable to figure out anything wrong.

If possible, if you could capture the log output with PROTO_LOG=debug MOON_DEBUG_PROCESS_ENV=1, it will help uncover what variables are being set for these commands (like bun install), and what proto tries to use.

from moon.

rhuanbarreto avatar rhuanbarreto commented on July 17, 2024

@milesj sent the logs to your discord.

from moon.

rhuanbarreto avatar rhuanbarreto commented on July 17, 2024

@milesj now after the upgrade to bun v1.1.13 I got an error:

▪▪▪▪ installing bun latest
▪▪▪▪ installing bun latest
[ERROR 2024-06-12 09:30:24.691] log:run  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: fs::read

  × Failed to read path ~/.proto/temp/bun/1.1.13/SHASUMS256.txt.
  ╰─▶ No such file or directory (os error 2)

from moon.

rhuanbarreto avatar rhuanbarreto commented on July 17, 2024

Also bun is trying to be installed twice.

The weirdest is that this is not possible to reproduce. If I add --log debug to the moon ci command problem is solved.

from moon.

milesj avatar milesj commented on July 17, 2024

Ok that's weird, let me dig into it again.

from moon.

milesj avatar milesj commented on July 17, 2024

I think this will fix it #1502

from moon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.