skills-eval: add nightly scheduled trigger#299
Draft
sarathm-nvidia wants to merge 1 commit into
Draft
Conversation
AI-Q's skills-eval workflow triggers only on push and workflow_dispatch, so it never runs on its own — unlike VSS and RAG, which run a nightly full sweep. Add a schedule cron (2am UTC, matching the RAG nightly) that runs a full harbor sweep so eval results flow to the skills dashboard automatically. A scheduled run carries no diff, so gate it like a manual dispatch: - detect-changes short-circuits to relevant=true on schedule (no path gate) - harbor-eval runs automatically on schedule (added to its if:) - SCOPE selectors already default to --all for non pull-request refs (github.ref_name is develop on a scheduled run), giving a full sweep. Push/workflow_dispatch behavior is unchanged. Signed-off-by: sarathm-nvidia <sarathm@nvidia.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
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.
AI-Q's skills-eval workflow (
.github/workflows/skills-eval.yml) currently triggers only onpush(develop / release/** / pull-request/) andworkflow_dispatch. It has no automated cadence, so it never runs on its own — unlike VSS (skills-eval-daily.yml) and RAG (skills-eval.yml), both of which run a nightly full sweep. This means AI-Q eval results only reach the skills dashboard when someone pushes or manually dispatches.Change
Add a
schedule:cron nightly trigger mirroring the RAG/VSS convention, so a full harbor sweep runs automatically each night and results flow to the skills dashboard.(2am UTC matches RAG's
skills-eval.ymlnightly.)A scheduled run carries no diff, so it is gated like a manual dispatch to guarantee a full sweep (never path-gated to zero):
relevant=trueonschedule(same asworkflow_dispatch), bypassing the path gate.if:now includesgithub.event_name == 'schedule'so the harbor trial runs automatically on the nightly.github.ref_nameisdevelop(notpull-request/<N>), so the existing default*) SCOPE="--all"case already produces a full sweep.Existing
push/workflow_dispatchbehavior is not altered — this only adds the schedule trigger plus the minimal gating needed for it to run a full sweep.Validation
yaml.safe_load).