github / github/codeql

Flaky [MethodCall]<Call to unknown method> in databases created by linux/osx binary

Open
#16,689 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

Hello,

We were querying a method call `CompletableFuture.join()` but noticed that some method calls did not go into the results. They are somehow marked as `[MethodCall]` in AST Viewer of the VSCode extension.

Furthermore, this only happened in the database created from pipeline (using linux binary), but not in the database created locally (using osx binary).

Both use codeql cli v2.17.0, `--language=java --build-mode=none`.

Could you please help check what would cause a method call to be marked as ``, and could it be a different behaviour in binaries for linux and osx? Thanks a lot.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the missing CompletableFuture.join() method calls with CodeQL CLI v2.17.0, Java, and --build-mode=none, comparing databases made by the Linux pipeline binary and the local macOS binary. Inspect the VSCode extension's AST Viewer output and determine whether the platform-specific databases produce different unknown-method results; done means identifying the cause or confirming the binary difference.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.