getappmap / getappmap/appmap-java

Agent falls back to the filesystem if there's no git entry for a file

Open
#275 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
88
Forks
17
Avg merge
2d 2h
Merged PRs (30d)
1

Description

If the agent can't find a source file in the project's git repo, it will fall back to looking in the filesystem.

For example, for the class in com.example.pkg.Foo, it will try src/main/java/com/example/pkg/Foo.java, src/main/test/com/example/pkg/Foo.java, and com/example/pkg/Foo.java, and use the first one it finds (if any). If the class is in the unnamed package, i.e. just Foo, it will look for Foo.java.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files, tests, or entry points. Start by locating the agent's handling of a missing Git source entry, then verify the documented package-path cases; done means the intended fallback behavior is covered by tests or clarified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.