WIP: Automating graph builds on Kubernetes cluster - #406
Draft
hina-shah wants to merge 6 commits into
Draft
Conversation
hina-shah
force-pushed
the
feat/cronjob-setup
branch
2 times, most recently
from
July 7, 2026 13:30
52505d5 to
671b5b8
Compare
- Replace email with Slack webhook in ReportHandler (send_slack_notification) - Wire ORION_SLACK_WEBHOOK_URL into CronJob template and values - Add hinashah-values.yaml and renci-values-schedule-test.yaml to repo Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Required for Sterling where there is no default StorageClass. Fix undefined PYTHONPATH variable warning in Dockerfile Write CronJob logs to /ORION_storage/logs instead of a separate NFS subPath The separate /ORION_logs NFS subPath mount was fragile — stale NFS mounts from force-deleted pods blocked subsequent container starts. Logs naturally belong in storage anyway, consistent with non-Kubernetes ORION deployments. Make ORION_LOGS optional in CronJob to avoid robokop_genetics import crash robokop_genetics tries to open a log file at import time if ORION_LOGS is set. If the path doesn't exist or has stale NFS locks this causes a PermissionError before any build code runs. When unset, it falls back to stdout only. Introduced orion.logsPath value so it can be set explicitly when needed. Track source dependency builds in outcomes and fix ORION_LOGS setup - Add sources sub-dict to outcomes tracking which sources were built, already cached, or failed during build_dependencies() - Show source outcomes in Slack notification (built/cached/failed per source) - Update write_report to include sources section; fix total count bug (was calling len() on nested dict) - CronJob args now run mkdir -p <logsPath> before orion-build when logsPath is set, ensuring the directory exists as uid 30000 before robokop_genetics imports and opens RotatingFileHandler
hina-shah
force-pushed
the
feat/cronjob-setup
branch
from
July 7, 2026 13:36
671b5b8 to
a1515dd
Compare
Show the version hash for each built and already-built graph so it's easy to identify which version is current without checking the NFS. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR modifies helm charts to enable automated scheduled jobs to build the Robokop graph.