Skip to content

Fix test failures introduced by #1086 #1091

Description

@marco-c
No description provided.

Activity

  1. marco-c commented on Aug 6, 2024

    @marco-c
    CollaboratorAuthor

    @alexle0nte are you going to work on this?

  2. alexle0nte commented on Aug 6, 2024

    @alexle0nte
    Contributor

    Yes, I'll create a PR to fix all the tests

  3. marco-c commented on Sep 24, 2024

    @marco-c
    CollaboratorAuthor

    @alexle0nte are you making progress on this?

  4. alexle0nte commented on Sep 25, 2024

    @alexle0nte
    Contributor

    @marco-c Yes, #1125 fixes all the metrics tests.
    However, there is a problem with repository tests, whose snapshots are contained in rca-output.

    Version 0.21.2 of tree-sitter-rust has a bug regarding parsing doc comments, that causes many serde tests to fail.
    This bug has been fixed in version 0.23.0, however, upgrading tree-sitter-rust to this version would also require upgrading all other grammars to 0.23.0, but tree-sitter-kotlin doesn't yet support tree-sitter 0.23.0.

    In the meantime, I could update the snapshots of all the files that don't contain doc comments, and then, when version 0.23.0 of tree-sitter-kotlin is released, we can do a new grammar upgrade and update the remaining snapshots as well.

  5. marco-c commented on Sep 26, 2024

    @marco-c
    CollaboratorAuthor

    @alexle0nte do you think we could submit a PR to tree-sitter-kotlin to support 0.23.0 or is it hard?

    Your plan seems fine otherwise.

  6. alexle0nte commented on Sep 27, 2024

    @alexle0nte
    Contributor

    @marco-c I've just opened a PR in tree-sitter-kotlin to bump the tree-sitter dependency to 23.0. Once it's merged and the new release is out, we can upgrade all the grammars to 23.0.

  7. marco-c commented on Sep 27, 2024

    @marco-c
    CollaboratorAuthor

    Thanks! If it still open in a couple of week, we could create a temporary fork to unblock the updates.

  8. Luni-4 commented on Sep 30, 2024

    @Luni-4
    Collaborator

    @marco-c and @alexle0nte

    We can also ask tree-sitter developers if they are willing to adopt the Kotlin grammar among their organization's parsers

  9. marco-c commented on Oct 31, 2024

    @marco-c
    CollaboratorAuthor

    @Luni-4 @alexle0nte it looks like the PR is still not merged, wdyt we should do?

  10. alexle0nte commented on Nov 4, 2024

    @alexle0nte
    Contributor

    @Luni-4 @alexle0nte it looks like the PR is still not merged, wdyt we should do?

    I think we can create a temporary fork as you suggested and use that until it gets merged

  11. marco-c commented on Mar 31, 2025

    @marco-c
    CollaboratorAuthor

    We can close this now, right @alexle0nte ?

  12. alexle0nte commented on Mar 31, 2025

    @alexle0nte
    Contributor

    We can close this now, right @alexle0nte ?

    Yes

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

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions