Code Monkey home page Code Monkey logo

Comments (6)

bioball avatar bioball commented on May 23, 2024

Thanks for the report. Are you able to share the contents of default.pkl and production.pkl?

from pkl.

ffluk3 avatar ffluk3 commented on May 23, 2024

Sure! They are quite simple, this is a toy model 😄:

default.pkl

@ModuleInfo { minPklVersion = "0.25.2" }
module com.sample.ApplicationConfig

myMagicString: String = "Hello, world!"

production.pkl

amends "default.pkl"

myMagicString = "I'm in production!"

from pkl.

ffluk3 avatar ffluk3 commented on May 23, 2024

@bioball have y'all had a chance to look at this? We are still seeing this once in a while when leveraging the gradle plugin.

from pkl.

bioball avatar bioball commented on May 23, 2024

I haven't been able to reproduce this; this is passing pretty consistently for me.

How often does this happen for you?

Also, what Java version and Gradle version are you on?

from pkl.

ffluk3 avatar ffluk3 commented on May 23, 2024

Here are the versions. I would say this happens 1-2% of the time at most, quite infrequent.

Java: 11.0.16
Gradle: 8.1.1

from pkl.

bioball avatar bioball commented on May 23, 2024

Hm... this is pretty weird. I wrote a small script to call evalPkl over and over again, ran it for over an hour, and it didn't fail a single time.

Also, nothing about the code that you shared does anything that would cause consecutive executions to fail. There's no I/O asides from reading/writing to disk.

from pkl.

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.