apache / apache/devlake

[Bug][GitHub] Activities not present in worklogs

Open
#8,698 8 comments 2 reactions 0 assignees View on GitHub
component/plugins type/bug
Dominant language
Go
Stars
3.1k
Forks
808
Avg merge
1d 8h
Merged PRs (30d)
49

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues.

### What happened

After adding a new user via the /api/rest/plugins/org/users.csv API, we are seeing only `Finish a commit` activities in the work logs.

Image

### What do you expect to happen

We should also be able to see activities like `Review PR` or `Open a PR`, as we see from the GitHub profile

Image

### How to reproduce

I haven’t found a way to reproduce the issue yet, and I’m not sure if you have any insights.

### Anything else

For users who were already present, it's working fine.

### Version

v1.0.3-beta9

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

No contributing guide indexed for this repository

Research direction

Trace the GitHub plugin flow after the /api/rest/plugins/org/users.csv endpoint adds a user, focusing on how Review PR and Open a PR activities enter worklogs. Compare newly added users with existing users and verify that those activity types appear for the new user; the payload provides no reproduction steps or test file.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, go
Domain
backend, data-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.