Skip to content

fix: add support for extracted activities in git integration v2#3370

Merged
mbani01 merged 2 commits into
mainfrom
fix/extracted_activities_git_integration
Sep 9, 2025
Merged

fix: add support for extracted activities in git integration v2#3370
mbani01 merged 2 commits into
mainfrom
fix/extracted_activities_git_integration

Conversation

@mbani01
Copy link
Copy Markdown
Contributor

@mbani01 mbani01 commented Sep 8, 2025

Changes proposed ✍️

This pull request enhances the commit activity extraction and processing logic in the Git integration service, particularly in how activities are parsed from commit messages and prepared for downstream processing. It also includes a minor formatting update to the settings configuration.

Commit activity extraction and processing improvements:

  • The create_activities_from_commit method now processes activities extracted from the commit message (e.g., "Signed-off-by") and generates corresponding activity records, ensuring that these are included alongside standard commit activities. Extracted activity types are normalized to match legacy conventions (e.g., "signed-off-commit"), and unique source IDs are generated for each extracted activity.
  • The return value of create_activities_from_commit has been updated to a tuple containing both database and queue activity lists, clarifying the method's output and supporting downstream processing.

Configuration and formatting:

  • Improved formatting for the REPOSITORY_UPDATE_INTERVAL_HOURS environment variable assignment in settings.py for better readability.

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screenshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@mbani01 mbani01 self-assigned this Sep 8, 2025
@mbani01 mbani01 requested a review from joanagmaia September 8, 2025 16:42
@mbani01 mbani01 added the Bug Created by Linear-GitHub Sync label Sep 8, 2025
@mbani01 mbani01 changed the title fix: add support for extracted activities fix: add support for extracted activities in git integration v2 Sep 9, 2025
@mbani01 mbani01 merged commit 384c3b5 into main Sep 9, 2025
14 checks passed
@mbani01 mbani01 deleted the fix/extracted_activities_git_integration branch September 9, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant