Skip to content

feat: Maintenance container - #766

Merged
eldadfux merged 33 commits into
appwrite:0.7.xfrom
christyjacob4:feat-na-maintenance-task
Dec 30, 2020
Merged

eldadfux merged 33 commits into
appwrite:0.7.xfrom
christyjacob4:feat-na-maintenance-task

Conversation

@christyjacob4

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR contains the implementation of a maintenance container which is supposed to schedule maintenance tasks across the Appwrite system

Test Plan

Will be writing e2e tests for the same.

Related PRs and Issues

https://github.com/appwrite/rfc/blob/main/001-maintenance-worker.md

Have you read the Contributing Guidelines on issues?

Yes

Comment thread app/tasks/maintenance.php Outdated
Comment thread docker-compose.yml
Comment thread Dockerfile Outdated
Comment thread docker-compose.yml Outdated
Comment thread app/tasks/maintenance.php Outdated
Comment thread Dockerfile Outdated
Comment thread app/workers/deletes.php Outdated
Comment thread app/tasks/maintenance.php
Comment thread app/tasks/maintenance.php Outdated

@eldadfux eldadfux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Added a few more comments and answers.

Comment thread app/controllers/api/database.php Outdated
Comment thread app/tasks/maintenance.php Outdated
Comment thread docker-compose.yml
Comment thread app/workers/deletes.php Outdated
Comment thread app/workers/deletes.php Outdated
Comment thread app/workers/deletes.php Outdated
@christyjacob4
christyjacob4 marked this pull request as ready for review December 22, 2020 14:07
Comment thread docker-compose.yml Outdated
Comment thread app/workers/deletes.php Outdated
Comment thread app/workers/deletes.php Outdated
Comment thread app/controllers/api/health.php
Comment thread app/init.php Outdated
@eldadfux

eldadfux commented Dec 29, 2020 •

Copy link
Copy Markdown
Member

@christyjacob4 LGTM.

@TorstenDittmann this is a pretty big** change, can you please double check us?

@TorstenDittmann

Copy link
Copy Markdown
Contributor

@christyjacob4 LGTM.

@TorstenDittmann this is a pretty bug change, can you please double check us?

Will do during the day 👍

@eldadfux

Copy link
Copy Markdown
Member

big** hehe

@TorstenDittmann TorstenDittmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Only stumbled upon some minor things 🙂

lgtm 👍

Comment thread app/tasks/maintenance.php Outdated
Comment thread app/workers/deletes.php Outdated
@eldadfux
eldadfux merged commit de70f71 into appwrite:0.7.x Dec 30, 2020
@eldadfux

Copy link
Copy Markdown
Member

Great work @christyjacob4 👏🏻

@eldadfux eldadfux changed the title feat: starter for maintenance task feat: Maintenance container Jan 5, 2021
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