Skip to content

[BUG] Runtime tests for Kotlin, Scala, and Rust fail locally and in Docker environment #2414

@Varadraj75

Description

@Varadraj75

Describe the bug.

Runtime tests for Kotlin, Scala, and Rust fail when running locally and inside Docker.
The failures are caused by a combination of:

  • Incompatible Java versions (Gradle failing with class file version errors)
  • Incorrect or missing code generation before build
  • Incorrect enum rendering in Scala runtime
  • Hardcoded cargo path in Rust runtime test spec that does not work locally

As a result, npm run test:runtime:kotlin, test:runtime:scala, and test:runtime:rust fail in a clean environment.

Expected behavior

All runtime tests for Kotlin, Scala, and Rust should pass in:

  • Local development environment
  • Docker environment used by CI

Without requiring manual environment fixes.

Screenshots

  1. Docker build failure on linux/amd64 showing mono-project repository error.
Image
  1. Docker build failure on linux/arm64 with the same missing Release file.
Image
  1. Runtime Rust tests failing due to compilation errors.
Image
  1. Runtime Kotlin tests failing due to unsupported Java version.
Image
  1. Runtime Scala tests failing during compileScala task.
Image

How to Reproduce

  1. Clone the repository
  2. Run:
    npm install
    npm run test:runtime:kotlin
    npm run test:runtime:scala
    npm run test:runtime:rust

🖥️ Device Information [optional]

  • Operating System (OS): macOS
  • Browser: N/A
  • Browser Version: N/A

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions