Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I18N-1195: Trigger BranchStatsJob when Branch is created #209

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

byronantak
Copy link
Collaborator

@byronantak byronantak commented Dec 16, 2024

Prior to this change, when a branch is created, the stats for the branch would only be created when a RepoStats Job is run. This would only happen when a text unit is updated in the DB.

Problem: for smaller repos which do not update text units often, this would mean a branch notification would only be sent much later

Now, we trigger a compute branch stats on branch create so that the branch gets notified as soon as possible

@byronantak byronantak force-pushed the feat/trigger-repo-stats-on-branch-create branch from 266b7ba to 54ac1f3 Compare December 16, 2024 15:38
@byronantak byronantak force-pushed the feat/trigger-repo-stats-on-branch-create branch from 54ac1f3 to 1968b16 Compare January 2, 2025 09:46
@byronantak byronantak changed the title Trigger RepoStatsJob when Branch is created I18N-1195: Trigger RepoStatsJob when Branch is created Jan 2, 2025
@byronantak byronantak force-pushed the feat/trigger-repo-stats-on-branch-create branch from 1968b16 to 3110b2d Compare January 3, 2025 11:49
@byronantak byronantak changed the title I18N-1195: Trigger RepoStatsJob when Branch is created I18N-1195: Trigger BranchStatsJob when Branch is created Jan 6, 2025
@byronantak byronantak self-assigned this Jan 9, 2025
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.

1 participant