Repository navigation
ci: register copilot eval workflows on main - #12
Merged
Merged
Conversation
Workflow files only — `workflow_dispatch` triggers register from the default branch, so the two `manual / github copilot cli <- llm judge` workflows must land on `main` before they appear in the Actions tab or accept a manual dispatch against any branch. The implementation that the workflows exercise (driver, pytest cases, `agentTargets` copilot row) lives on `feat/copilot-eval-backend`; dispatch the workflows against that ref to run a real eval. A dispatch against `main` itself will fail — the test files and the `copilot` agent target don't exist on this branch yet. That is the documented tradeoff in `docs/internal/adding-agent-eval-backend.md` §6 (land the workflow first as a small PR; dispatch against the feature branch). No code change beyond the two YAMLs. Signed-off-by: Tanzim Saqib <[email protected]>
3 tasks done
tsaqib
added a commit
that referenced
this pull request
May 26, 2026
* ci: register kilo eval workflows on main GitHub Actions registers `workflow_dispatch` triggers from the default branch only. Until `manual-kilo-judge.yml` exists on `main`, it won't show up in the Actions tab and `gh workflow run` will refuse it — even when targeting the feature branch that holds the implementation. This is the small focused PR described in `docs/internal/adding-agent-eval-backend.md` §6, same shape as PR #12 (copilot) and PR #13 (codex). The file is copied verbatim from `feat/kilo-eval-backend` (PR #16). No code changes, no test changes, no doc changes. Safe to merge now: - `workflow_dispatch:` only — no push / pull_request / schedule triggers, so merging this PR cannot run anything on its own. - The job depends on skills-evals files (`kilo_driver.py`, `test_kilo_*.py`, the `X_X_AGENT_UNDER_TEST`-aware conftest) that don't exist on `main` yet. Dispatching against `main` would fail at the pytest step; the workflow is only meaningful when dispatched with `ref=feat/kilo-eval-backend`. - No new secrets. `DEEPSEEK_API_KEY` is already configured for the other manual-*-judge workflows. After merge: open Actions, pick "manual / kilo code <- llm judge", set **Use workflow from: feat/kilo-eval-backend**, and dispatch. Signed-off-by: Tanzim Saqib <[email protected]> * ci: add user-scope variant to the kilo registration Mirrors the project-scope manual-kilo-judge.yml with X_X_INSTALL_SCOPE=user added so `x-x init` lands skills under ~/.kilo/skills/ instead of <workspace>/.kilo/skills/. Matches the existing claude/codex/copilot patterns where every backend ships both scope variants. Same merge-safety story as the project-scope file: workflow_dispatch only, depends on skills-evals files from feat/kilo-eval-backend (#16) that aren't on main yet, no new secrets. Signed-off-by: Tanzim Saqib <[email protected]> --------- Signed-off-by: Tanzim Saqib <[email protected]>
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.
Why this PR exists separately from #10
GitHub Actions only registers
workflow_dispatchtriggers from the default branch. Until these two YAML files exist onmain, the Actions tab won't list them andgh workflow runwon't accept them — even against the feature branch that has the actual implementation. This is the small focused PR described indocs/internal/adding-agent-eval-backend.md§6.What's in the diff
Two files, copied verbatim from the #10 feature branch:
.github/workflows/manual-copilot-judge.yml— project-scope copilot eval.github/workflows/manual-copilot-judge-user-scope.yml— user-scope copilot evalNo code changes. No test changes. No doc changes.
How to use after merge
feat/copilot-eval-backend(the branch in PR test: add github copilot cli backend to skills-evals #10).actions/checkout@v6step will pull the feature branch's tree — driver, pytest cases, theagentTargetscopilot row — and run against it.Dispatching against
maindirectly will fail: this branch still lacks the test files, thecopilot_driver.pymodule, and thecopilotrow inconstants.go. That's the documented tradeoff.Test plan
manual / github copilot cli <- llm judgeagainstfeat/copilot-eval-backend— smoke test should pass; scenario tests run the real DeepSeek-routed eval.References
copilotagent targetdocs/internal/adding-agent-eval-backend.md§6 — explains why this two-PR pattern is needed