mfrancisc opened a new pull request, #8982:
URL: https://github.com/apache/devlake/pull/8982

   ## Summary
   \`WorkInProgress\` was extracted from the GitLab API and stored in 
\`_tool_gitlab_merge_requests\` but never forwarded to 
\`code.PullRequest.IsDraft\` during conversion. Draft/WIP MRs were 
indistinguishable from non-draft MRs at the domain layer.
   ## Changes
   - Add \`IsDraft: gitlabMr.WorkInProgress\` to the MR converter struct
   - Update e2e snapshot: MRs 145012495 and 158698019 now have \`is_draft=1\`
   ## Note
   GitLab deprecated \`work_in_progress\` in favor of \`draft\` (API v4, GitLab 
14.0+), but still returns it for backward compatibility. This fix uses the 
existing extracted field — adding support for the newer \`draft\` field is a 
separate concern.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to