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

Backend API of Deleting Obsolete Action Runs (#26219) #32915

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

cclvi256
Copy link

@cclvi256 cclvi256 commented Dec 19, 2024

As the Issue (#26219) mentioned, this is a xorm function to query the obsolete actions runs by date or time span.

Only the database query is done, for further work.

As the Issue (go-gitea#26219) mentioned, this is a database-level support to
query the obsolete actions runs.

I'll temporarily add a draft for further work.
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 19, 2024
@pull-request-size pull-request-size bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 19, 2024
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Dec 19, 2024
@cclvi256
Copy link
Author

I have added the query of old action runs. But due to lack of knowledge of the whole project, I have temporarily created this small PR.

If this feature is not emergence, I will turn this to a draft PR and may try my best to implement a backend interface in this PR.

@cclvi256 cclvi256 marked this pull request as draft December 23, 2024 01:57
@cclvi256
Copy link
Author

I should prepare for my final exams and I will continue this on 4 January 2025.

@cclvi256 cclvi256 changed the title Query the old action runs by date or time span in DB (part of #26219) Backend API of Deleting Obsolete Action Runs (#26219) Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/go Pull requests that update Go code size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants