Git metadata dropped in a git worktree (.git file with gitdir: pointer not followed)
@dividedmind đang làm issue này rồi.
Từ ngày 8/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Summary
Recording inside a git worktree makes the agent drop all git metadata, with a warning on every recording. Worktrees are the natural way to hold BASE and HEAD for a two-revision comparison (the appmap-review / gold-traces workflow), so this is the flagship workflow losing commit metadata.
Agent 1.30.1, Ubuntu, Java 17, spring-petclinic @ b26f235, Maven Surefire.
Repro
git clone https://github.com/spring-projects/spring-petclinic && cd spring-petclinic
git worktree add ../petclinic-base b26f235
cd ../petclinic-base
mvn -Dtest=PetClinicIntegrationTests#testOwnerDetails test # agent attached via -javaagent
Observed
Twice per test run:
AppMap WARN: Current git repository is an unsupported configuration.
No git metadata will be collected, and source paths may be incorrect.
The recordings have no metadata.git. The same test in the main checkout records git.commit, git.branch, etc.
Cause
In a worktree .git is a file containing gitdir: /path/to/repo/.git/worktrees/<name>, not a directory. The agent's repository detection expects a directory and does not follow the pointer.
Expected
Follow the gitdir: pointer (and its commondir) and collect metadata as in a normal checkout. If worktrees will not be supported, the docs/skills should say to use two full clones.
- Ngôn ngữ chính
- Java
- Star
- 88
- Fork
- 17
- Merge trung bình
- 2 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getappmap/appmap-java
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 28/100
getappmap/appmap-java#333 ·
-
appmap.yml packages path matching zero classes yields a healthy-looking recording with no warningĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
getappmap/appmap-java#332 · 1 bình luận ·
-
Labeled methods should always be recorded, even if they match trivial-method filtersCó thể đã có người làm @kgilpin đã nhận 191 ngày trước. Đang mở
getappmap/appmap-java#323 · 1 reaction · 2 người được giao ·
-
Warning with Java 25Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
getappmap/appmap-java#322 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
getappmap/appmap-java#308 ·
Tất cả issue của getappmap/appmap-java
Issue tương tự
-
[BUG] 订单:会员凭订单号即可取消其他会员的待付款订单(取消接口不校验订单归属)Có thể đã có người làm @dadiyang đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
macrozheng/mall#1016 ·
-
[Bug] The producer summary counts an unreported client version as a second version and warns about a version mixCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
apache/rocketmq-dashboard#6110 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Python 3.15 supportCó thể đã có người làm @amnesiaof đã nhận hôm nay. Đang mởL: python L: python:uv
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
dependabot/dependabot-core#16524 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`Processing lsp` never exits and leaves orphaned processesCó thể đã có người làm @overcast302 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
processing/processing4#1578 · 1 bình luận ·
-
bug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
PlayersCommittee/gemp-swccg-public#1174 ·
Maintainer thường phản hồi trong vòng 2 ngày