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

fix: scheduled tasks should not derive names #2840

Merged
merged 4 commits into from
Sep 26, 2024
Merged

Conversation

matt2e
Copy link
Contributor

@matt2e matt2e commented Sep 26, 2024

Singleton scheduled tasks were broken due to the job functions being wrapped. This was causing the derived name for each job to be the same, which meant they all competed for the same lease.

Since we recently added a name for each of the scheduled tasks, this PR passes those names along to the scheduler rather than relying on a derived name.

@matt2e matt2e added the run-all A PR with this label will run the full set of CI jobs in the PR rather than in the merge queue label Sep 26, 2024
@matt2e matt2e requested review from alecthomas and a team as code owners September 26, 2024 05:39
@matt2e matt2e requested review from gak and removed request for a team September 26, 2024 05:39
@ftl-robot ftl-robot mentioned this pull request Sep 26, 2024
@matt2e matt2e enabled auto-merge (squash) September 26, 2024 05:48
@matt2e matt2e merged commit e577c0c into main Sep 26, 2024
90 of 91 checks passed
@matt2e matt2e deleted the matt2e/fix-scheduled-tasks branch September 26, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-all A PR with this label will run the full set of CI jobs in the PR rather than in the merge queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants