Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change job type value from "ml-simplefold" to "mlsimplefold" across config, enum, and service files. Fix upload_local_directory_to_minio to use an explicit minio_prefix instead of inferring the remote path from the last 2 local path components, which dropped the job_id in recursive uploads. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
Sorry for my delay on getting this reviewed, but this is looking great! 🙏
I was unable to deploy and test this on staging since I don't want to mess with ezspec-unidock in case anyone is testing right now. But if I should give the job itself another test before merging, I can coordinate with you and David to make sure I'm not changing things at a critical moment
Unrelated: I noticed ArgoCD has a weird diff for mmli-backend-staging that I hadnt noticed before 🤔

But this doesnt actually seem to be a problem, since we never override this value anyways.. so it is likely that it is not currently being read. And reading the code confirms that mmli-backend just assumes the namespace of all job types is the namespace that it is currently running in. It appears to fall back to the default in the config only for local dev situations where the current namespace can't be determined 👍
mmli-backend/app/services/kubejob_service.py
Lines 356 to 365 in f390282
| job_type_name = 'OpenEnzymeDB - Enzyme Recommendation' | ||
|
|
||
| elif job_type == JobType.ML_SIMPLEFOLD: | ||
| # SimpleFold jobs don't have a frontend URL yet - skip email for now |
There was a problem hiding this comment.
May need to circle back to fill out the email on success/failure eventually
But this is kind of an internal job, so maybe we don't need to notify at all on this one?
| initContainers: | ||
| - name: init | ||
| image: moleculemaker/mmli-backend:kubejob | ||
| image: moleculemaker/mmli-backend:pr-101 |
There was a problem hiding this comment.
Good eye on this! Sorry, I forgot that I had hardcoded these image tags 🙏
We may need to remember to circle back and update these after merging the PR
| containers: | ||
| - name: post-job | ||
| image: "moleculemaker/mmli-backend:kubejob" | ||
| image: "moleculemaker/mmli-backend:pr-101" |
There was a problem hiding this comment.
Good eye on this! Sorry, I forgot that I had hardcoded these image tags 🙏
We may need to remember to circle back and update these after merging the PR
|
Hi @bodom0015! Thanks for taking a look at this. If I am still working on a few things in Thanks Bingji for all of your work on this one. |
No description provided.