Skip to content

ci: register copilot eval workflows on main - #12

Merged
tsaqib merged 1 commit into
mainfrom
feat/copilot-workflows-only
May 26, 2026
Merged

tsaqib merged 1 commit into
mainfrom
feat/copilot-workflows-only

Conversation

@tsaqib

@tsaqib tsaqib commented May 26, 2026 •

Copy link
Copy Markdown
Contributor

Why this PR exists separately from #10

GitHub Actions only registers workflow_dispatch triggers from the default branch. Until these two YAML files exist on main, the Actions tab won't list them and gh workflow run won't accept them — even against the feature branch that has the actual implementation. This is the small focused PR described in docs/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 eval

No code changes. No test changes. No doc changes.

How to use after merge

  1. Merge this PR.
  2. Open the Actions tab, pick "manual / github copilot cli <- llm judge" or its user-scope sibling.
  3. Click Run workflow and set the branch dropdown to feat/copilot-eval-backend (the branch in PR test: add github copilot cli backend to skills-evals #10).
  4. The job's actions/checkout@v6 step will pull the feature branch's tree — driver, pytest cases, the agentTargets copilot row — and run against it.

Dispatching against main directly will fail: this branch still lacks the test files, the copilot_driver.py module, and the copilot row in constants.go. That's the documented tradeoff.

Test plan

  • CI conform/lint pass on the two YAMLs.
  • After merge, confirm both workflows appear in the Actions tab.
  • Dispatch manual / github copilot cli <- llm judge against feat/copilot-eval-backend — smoke test should pass; scenario tests run the real DeepSeek-routed eval.

References

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]>
@tsaqib
tsaqib merged commit 3f82461 into main May 26, 2026
2 checks passed
@tsaqib
tsaqib deleted the feat/copilot-workflows-only branch May 26, 2026 04:39
@tsaqib tsaqib mentioned this pull request May 26, 2026
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant