Skip to content

Conversation

mbani01
Copy link
Contributor

@mbani01 mbani01 commented Jul 14, 2025

Changes proposed ✍️

Implement a pick repository from the database with locking by priority to prevent multiple workers from processing the same repo at the same time.

What

copilot:summary

copilot:poem

Why

How

copilot:walkthrough

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 requested review from epipav and themarolt July 14, 2025 17:06
@mbani01 mbani01 self-assigned this Jul 14, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR titles must follow Conventional Commits. Love from, Your reviewers ❤️.

@mbani01 mbani01 changed the title feat(git_integration): pick repo implementation [CM-2384] feat: pick repo implementation [CM-2384] Jul 14, 2025
@github-actions github-actions bot dismissed their stale review July 14, 2025 17:06

Conventional Commits FTW!

Copy link
Collaborator

@epipav epipav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great 👍 added one nitpick

-- Processing state and priority
state VARCHAR(50) NOT NULL DEFAULT 'pending',
priority INTEGER NOT NULL DEFAULT 0, -- 0=urgent, 1=high, 2=normal
priority INTEGER NOT NULL DEFAULT 1, -- 0=urgent, 1=high, 2=normal
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: would be nice if we can add documentation on this as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I've added it to the TODOs 🫡

@mbani01 mbani01 merged commit d57f7f8 into feat/git_integration_processing_worker Sep 3, 2025
7 checks passed
@mbani01 mbani01 deleted the feat/git_integration_pick_repo branch September 3, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants