https://kotlinlang.org logo
Join Slack
Powered by
# github-workflows-kt
  • p

    Piotr KrzemiƄski

    03/27/2025, 1:18 PM
    github workflows kt v3.3.0 released!
    🎉 4
  • v

    Vampire

    04/16/2025, 9:33 AM
    ‱ Would it maybe make more sense to use
    refreshAfterWrite
    instead of
    expireAfterWrite
    for the cache? ‱ (maybe combined with a size based eviction using
    maximumSize
    that evicts LRU if max size is reached,
    softValues
    is not usable as Aedile uses an
    AsyncCache
    under the hood.) ‱ Would it maybe make sense to also cache the
    maven-metadata.xml
    generation now that using version ranges is a thing and not only Renovate and friends use it?
    p
    l
    • 3
    • 4
  • l

    LeoColman

    04/16/2025, 4:41 PM
    [Incident][Solved] 500s on the Jit Server
    p
    • 2
    • 5
  • l

    LeoColman

    04/16/2025, 10:27 PM
    Found a clue Until I restart we have a hanging connection for over a day
    👀 1
    p
    • 2
    • 2
  • p

    Piotr KrzemiƄski

    04/17/2025, 8:24 PM
    And kudos @LeoColman for configuring the monitoring thanks to which we have nice insights into failures and could quantify the problem!
    đŸ«¶ 1
    v
    • 2
    • 28
  • p

    Piotr KrzemiƄski

    04/29/2025, 5:23 PM
    I noticed some failures to fetch the bindings (example 1, example 2) but the failure metric is constantly at 0. However, the cache size metric has been creeping up for the last hours, not really sure why. Something weird is happening, and it seems to be related to the traffic pattern
    v
    l
    • 3
    • 16
  • p

    Piotr KrzemiƄski

    05/01/2025, 8:17 AM
    @LeoColman we've got some failures last night, and I'm struggling to find logs for it via Portainer. Do you have another way of accessing the logs? I tried SSHing into the container ("Container console"), but I don't see a log file anywhere, probably because it goes only to the stdout and nothing writes it to any file. As a quick idea for [Feature] Collect, Store, and make available Application Logs , we could modify the Log4j config to write the logs also to a file, with some upper limit, RollingFileAppender should do the job
    v
    l
    • 3
    • 54
  • v

    Vampire

    05/05/2025, 1:22 PM
    Ah, I know why we see the
    404 Not Found: GET - /org/jetbrains/kotlin/kotlin-stdlib/unspecified/kotlin-stdlib-unspecified.pom
    on the binding server: https://repo.maven.apache.org/maven2/io/arrow-kt/arrow-atomic-jvm/2.0.1/arrow-atomic-jvm-2.0.1.pom
    💡 1
    p
    • 2
    • 14
  • v

    Vampire

    05/05/2025, 2:31 PM
    Did anyone see this before? https://github.com/Vampire/test-reporter/actions/runs/14838819644/job/41656435826#step:1:37
    Copy code
    Getting action download info
    Error: Missing download info for actions/checkout@v4
    😕
    👀 1
    p
    • 2
    • 6
  • p

    Piotr KrzemiƄski

    05/06/2025, 11:37 AM
    github workflows kt v3.4.0 released!
    🎉 2
  • s

    Sebastian Schuberth

    05/06/2025, 12:28 PM
    What do you think about adding a "How do I get my own action supported by github-workflows-kt?" to the FAQ?
    p
    v
    • 3
    • 24
  • p

    Piotr KrzemiƄski

    05/07/2025, 4:14 AM
    FWIW, I've surfaced some metrics related to typing source, in particular to identify actions without typings, to be able to proactively add typings for them. It's also interesting to see the ratio of the # of actions that have typings in the catalog vs. in the actions repo:
    💡 1
    👌 1
    v
    • 2
    • 7
  • v

    Vampire

    05/10/2025, 2:02 PM
    Can we disable the "required plugin" ktlint in the project? Everytime I open the project I have to ignore the warning that the plugin is not installed. And I will not reinstall the plugin unless the non-sense to set vital IntelliJ IDEA properties to some arbitrary value during initialization in
    ktlint
    just because
    ktlint-intellij-plugin
    is not able or willing to properly program the integration is reverted.
    p
    p
    • 3
    • 5
  • v

    Vampire

    05/11/2025, 10:48 AM
    Is it really correct, that it you use
    val FOO by Contexts.env
    , you end up with just
    FOO
    instead of
    env.FOO
    ?
    p
    • 2
    • 13
  • f

    Finja Hauschild

    05/13/2025, 8:44 AM
    Hi, I might have a similar problem as Leonardo had here. Specifically, I'm trying to call ActionsSetupGradle() in several workflow files and when I call it like this:
    Copy code
    uses(
                name = "SetupGradle",
                action = ActionsSetupGradle()
            )
    I have no issues. However, calling it like this:
    Copy code
    uses(
            name = "Run Gradle Checks",
            action = ActionsSetupGradle(
                arguments = ":test:testClasses ktlintCheck " +
                    "--stacktrace " +
                    "-Ptarget=Android " +
                    "-Pplatform=Local " +
                    "-PdeviceType=Virtual " +
                    "-Padjust.token=$ADJUST_TOKEN"
            )
        )
    Results in me getting an error stating that I'm trying to use a private constructor. However, this only happened suddenly. I've had this exact same call in my workflow file for a longer time now and since about two weeks it throws this error but only in PRs. When I'm trying to create the yaml file from this locally it works. Unfortunately, the repository is company internal 😅 otherwise I would share the whole code or repository link with you. The dependencies I use in the file are as follows:
    Copy code
    @file:Repository("<https://repo.maven.apache.org/maven2/>")
    @file:Repository("<https://bindings.krzeminski.it>")
    @file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.4.0")
    @file:DependsOn("actions:checkout:v4")
    @file:DependsOn("actions:setup-java:v4")
    @file:DependsOn("gradle:actions__setup-gradle:v4")
    @file:DependsOn("gradle:actions__wrapper-validation:v4")
    ✅ 1
    p
    v
    • 3
    • 27
  • p

    Piotr KrzemiƄski

    05/13/2025, 12:30 PM
    @Finja Hauschild happy to know that you use github-workflows-kt internally! as an owner, I'd love to know more details, like how many workflows you have, their typical size or unconventional stuff you were able to implement thanks to Kotlin, if you're missing any features
    f
    v
    • 3
    • 4
  • v

    Vampire

    05/20/2025, 4:21 PM
    @LeoColman I'm getting today multiple times
    Copy code
    [main] INFO org.jetbrains.kotlin.org.apache.http.impl.execchain.RetryExec - I/O exception (org.jetbrains.kotlin.org.apache.http.NoHttpResponseException) caught when processing request to {s}-><https://bindings.krzeminski.it:443>: The target server failed to respond
    when executing workflow scripts, both locally and on GitHub Actions. They still work as in that condition it is retried and the 2. to 3. request is successful. But there seems to be "some" issue still.
    l
    p
    • 3
    • 67
  • p

    Piotr KrzemiƄski

    05/21/2025, 9:13 AM
    đŸ€© [JetBrains/intellij-community] [kotlin] K2: support symbols from imported scripts in .main.kts, fixes [KTIJ-33496] K2: red code when use @Import in .main.kts scripts. Once it's released, it's going to make editing multi-file scripts so much more convenient (i.e. normal, as it should work from the start 😄)!
    👍 1
    🎉 5
    • 1
    • 4
  • v

    Vampire

    05/27/2025, 6:41 PM
    Anyone an idea why https://github.com/jEdit-editor/jEdit/actions/runs/15282632033/job/42985990395#step:17:33 is executed? It should be skipped as neither Java version nor Runner OS matches. 😕
    ✅ 1
    • 1
    • 1
  • l

    LeoColman

    05/28/2025, 12:08 AM
    FYI I just knocked the server out accidentally while trying to configure logs. It's back up.
    👍 1
  • l

    LeoColman

    05/28/2025, 2:31 PM
    I'll need to do another network restart non-urgently. What is the best time window to do that?
    v
    • 2
    • 6
  • l

    LeoColman

    05/28/2025, 4:40 PM
    Network restarted
    👌 1
  • l

    LeoColman

    05/30/2025, 1:03 PM
    Server is going through some degraded performance. Half the requests are reaching the server, half are 502. I'm investigating. It wasn't caused by me this time
    👍 1
    p
    • 2
    • 3
  • p

    Piotr KrzemiƄski

    06/01/2025, 3:55 PM
    To measure the current problems with the server, I thought about giving Grafana Synthetic Monitoring a shot. I see that it requires a Grafana Cloud account, but there's a free tier: https://grafana.com/products/cloud/. @LeoColman what do you think?
    l
    v
    • 3
    • 10
  • p

    Piotr KrzemiƄski

    06/23/2025, 9:55 AM
    @Vampire I finally started thinking about exposing v2 of the sever routes, and this is what I want to have in place to have better validation of both versions (lib and server routes): feat: add check of compatibility between library version and binding, happy to discuss
  • p

    Piotr KrzemiƄski

    06/24/2025, 3:28 PM
    I'm not too big of a fan of the GitHub star metric as something that shows popularity or quality, but it's a metric and this round value does look nice 😁
    ⭐ 4
    github workflows kt 2
  • l

    LeoColman

    06/25/2025, 1:25 PM
    why u no star it
    😁 1
    đŸ§” 2
    p
    • 2
    • 1
  • p

    Piotr KrzemiƄski

    06/27/2025, 7:42 AM
    The time has come: since the introduction of the bindings server, we're observing the first minor version bump for Kotlin. This PR: fix(deps): update kotlin monorepo to v2.2.0, once deployed, is going to affect how bindings are compiled on the fly, and break clients that still use Kotlin 2.0.x to compile their workflows. If you use workers provided by GitHub, you have no need to worry. However, if you use your own runners and control Kotlin's version yourself, you'll have to update it to at least 2.1.0. Ideally we'd publish it in a non-breaking way, as v2 for server routes, however it would require making v1 and v2 routes use different Kotlin compiler version which is not yet implemented (I have no experience with such setup).
    v
    • 2
    • 23
  • p

    Piotr KrzemiƄski

    07/04/2025, 11:08 AM
    github workflows kt v3.5.0 released!
    github workflows kt 1
  • l

    LeoColman

    07/15/2025, 10:37 PM
    For some reason Checkout V4 is missing some of its classes What can I do to invalidate this cache and download checkout again?
    ✅ 1
    p
    • 2
    • 7