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

post run is very slow #10

Open
prabirshrestha opened this issue Dec 31, 2023 · 3 comments
Open

post run is very slow #10

prabirshrestha opened this issue Dec 31, 2023 · 3 comments
Assignees

Comments

@prabirshrestha
Copy link

prabirshrestha commented Dec 31, 2023

I have been trying to test different CI builds with static linking openssl in rust. Even if it fails or if I cancel the post run takes forever. is it possible to skip post run if the workflow has been cancelled or moon step has failed?

@milesj milesj self-assigned this Dec 31, 2023
@milesj
Copy link
Contributor

milesj commented Dec 31, 2023

@prabirshrestha I'll look into it. For now you can probably try the cache-base setting.

@prabirshrestha
Copy link
Author

Now that I think of another huge improvement could be to support a cache-provider which could be set to GitHub for GitHub cache, s3 of s3 aware cache or local file system. I'm using a self hosted runner so it seems weird that it uploads and downloads the cache wasting upload/download time. Expiring caches could be hard when using filesystem, since you would need to build cache invalidation. If using minio it supports expiration for objects. if they are not using self hosted they could use actual s3 provider.

@milesj
Copy link
Contributor

milesj commented Jan 3, 2024

@prabirshrestha If you're using a self hosted runner, you should probably just turn the cache off since I'm assuming the runner environment doesn't get reset between runs (thats how my self hosted works).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants