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 Task Scheduler Teardown & Improve Scheduler Creation #132

Merged

Conversation

mehrancodes
Copy link
Owner

@mehrancodes mehrancodes commented Mar 3, 2025

This PR brings back the task for removing the task scheduler during teardown if it’s enabled. It also ensures the “Destroy Site” task waits until the scheduler is removed, preventing the site from getting stuck in the Removing status when Harbor attempts to delete it.

Additionally, this improves the task scheduler creation process by using the site’s username instead of hardcoding forge when setting up the scheduler.

#106

@mehrancodes mehrancodes self-assigned this Mar 3, 2025
@mehrancodes mehrancodes changed the title Site does not get removed when scheduler is on WIP: Site does not get removed when scheduler is on Mar 3, 2025
@mehrancodes mehrancodes changed the title WIP: Site does not get removed when scheduler is on [WIP] #106: Site does not get removed when scheduler is on Mar 3, 2025
@mehrancodes mehrancodes changed the title [WIP] #106: Site does not get removed when scheduler is on [WIP] Site does not get removed when scheduler is on Mar 3, 2025
@mehrancodes mehrancodes changed the title [WIP] Site does not get removed when scheduler is on Fix Task Scheduler Teardown & Improve Scheduler Creation Mar 3, 2025
@mehrancodes mehrancodes marked this pull request as ready for review March 3, 2025 07:24
@mehrancodes mehrancodes merged commit fa23d4b into main Mar 5, 2025
1 check passed
@mehrancodes mehrancodes deleted the 106-site-does-not-get-removed-when-scheduler-is-on branch March 5, 2025 06:53
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