You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The vulnerability upsert job is running out of disk space due to the job not properly cleaning up tmp dirs. Even with our best attempts at trying to make sure this is done correctly, it seems to still not be working:
yeah just call that function inside here https://github.com/lunasec-io/lunasec/blob/master/lunatrace/bsl/ingest-worker/cmd/ingestworker/vulnerability/vulnerability.go#L59
vulnerability.go
advisoryLocation := ctx.Args().First()
<https://github.com/lunasec-io/lunasec|lunasec-io/lunasec>lunasec-io/lunasec | Added by GitHub
white_check_mark
index
thinkies
12:37
as like defer util.RemoveCleanupDirs()
12:37
and we should be fine
12:37
it is a bit of a hack to make sure that all of your temporary resources are cleaned up no matter what happens to the application
12:38
oh weird i do have this run https://github.com/lunasec-io/lunasec/blob/master/lunatrace/bsl/ingest-worker/cmd/ingestworker/main.go#L52
main.go
fx.Invoke(func() {
<https://github.com/lunasec-io/lunasec|lunasec-io/lunasec>lunasec-io/lunasec | Added by GitHub
12:38
but i guess it is not working?
12:39
i wrote this specifically so that no matter what happened to the application, it would clean up the directories
12:39
very strange
The text was updated successfully, but these errors were encountered:
The vulnerability upsert job is running out of disk space due to the job not properly cleaning up tmp dirs. Even with our best attempts at trying to make sure this is done correctly, it seems to still not be working:
The text was updated successfully, but these errors were encountered: