Skip to content

Support Kotlin 2.3.20 #21484

Description

@hfhbd

Description of the issue
Kotlin 2.3.20 was released on 2026-03-16: https://github.com/JetBrains/kotlin/releases/tag/v2.3.20

CodeQL does not support Kotlin 2.3.20 yet, due to small changes in the Kotlin compiler plugin api.

Activity

  1. redsun82 commented on Mar 25, 2026

    @redsun82
    Contributor

    👋 @hfhbd we're aware of this problem, and are working on it internally. This will unfortunately not be solved by any release before Easter (the next release window is roughly around the 9th of April). I'll try to get a confirmation we'll get this done by then.

  2. redsun82 commented on Apr 2, 2026

    @redsun82
    Contributor

    I merged the required changes today, so this will be fixed in the next 2.25.2 release, estimated at the end of next week (9th of April at the earliest).

    Sorry to have kept y'all waiting!

  3. marcinkubica commented on Apr 13, 2026

    @marcinkubica

    @redsun82 it's still not working with CodeQL action

    Run github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13
    
    ...
    
     {
        "productName" : "CodeQL",
        "vendor" : "GitHub",
        "version" : "2.25.1",
        "sha" : "50f473e97554ec9e1b7c2b8fe27307921af30ef0",
        "branches" : [
          "codeql-cli-2.25.1"
        ],
    
    
    ... 
    
    Caused by: foo.bar$KotlinVersionTooRecentError: Kotlin version 2.3.20 is too recent. 
    CodeQL currently supports versions below 2.3.20
    
  4. pascalknupper commented on Apr 14, 2026

    @pascalknupper

    Is there any update about when 2.25.2 will be released?

  5. jketema commented on Apr 14, 2026

    @jketema
    Contributor

    Is there any update about when 2.25.2 will be released?

    I expect that sometime tomorrow at the latest.

  6. hfhbd commented on Apr 15, 2026

    @hfhbd
    Author

    The codeql-action update was released: https://github.com/github/codeql-action/releases/tag/v4.35.2

    You have to use tools: linked to use the bundled 2.25.2 codeql version that supports Kotlin 2.3.20.

  7. mudasar187 commented on Apr 16, 2026

    @mudasar187

    I just tried today with tools: linked but its still using 2.25.1 and not 2.25.2.

    Setup CodeQL tools
    /usr/bin/tar --version
    tar (GNU tar) 1.35
    Copyright (C) 2023 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.

    Written by John Gilmore and Jay Fenlason.
    Found gnu tar version 1.35.
    'tools: linked' was requested, so using CodeQL version 2.25.1, the version shipped with the Action.
    Found CodeQL tools version 2.25.1 in the toolcache.
    Using CodeQL CLI version 2.25.1 from toolcache at /opt/hostedtoolcache/CodeQL/2.25.1/x64
    /opt/hostedtoolcache/CodeQL/2.25.1/x64/codeql/codeql version --format=json
    {
    "productName" : "CodeQL",
    "vendor" : "GitHub",
    "version" : "2.25.1",
    "sha" : "50f473e97554ec9e1b7c2b8fe27307921af30ef0",
    "branches" : [
    "codeql-cli-2.25.1"
    ],

  8. hfhbd commented on Apr 16, 2026

    @hfhbd
    Author

    @mudasar187 You also need to use the codeql-action 4.35.2. This setup works for me (as expected).

  9. mudasar187 commented on Apr 16, 2026

    @mudasar187

    Ah off course, thank you for help :)

  10. hfhbd commented on Jun 4, 2026

    @hfhbd
    Author

    Here we go again for 2.4.0: #21938

  11. locked as resolved and limited conversation to collaborators on Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions