Skip to content

ci: register kilo eval workflows on main - #17

Merged
tsaqib merged 2 commits into
mainfrom
feat/kilo-workflows-only
May 26, 2026
Merged

tsaqib merged 2 commits into
mainfrom
feat/kilo-workflows-only

Conversation

@tsaqib

@tsaqib tsaqib commented May 26, 2026 •

Copy link
Copy Markdown
Contributor

Why this PR exists separately from #16

GitHub Actions only registers workflow_dispatch triggers from the default branch. Until manual-kilo-judge.yml exists on main, the Actions tab won't list it and gh workflow run won't accept it — 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, mirroring #12 (copilot) and #13 (codex).

What's in the diff

One file, copied verbatim from the #16 feature branch:

  • .github/workflows/manual-kilo-judge.yml — project-scope kilo 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 / kilo code <- llm judge".
  3. Click Run workflow and set the branch dropdown to feat/kilo-eval-backend (the branch in PR feat: add Kilo Code eval backend #16).
  4. The job's actions/checkout@v6 step will pull the feature branch's tree — kilo_driver.py, pytest cases, the kilo row in constants.go, the X_X_AGENT_UNDER_TEST-aware conftest — and run against it.

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

Safe to merge now

  • workflow_dispatch: only — no push: / pull_request: / schedule: triggers. Merging this PR cannot run anything on its own.
  • No new secrets. DEEPSEEK_API_KEY is already configured for the other manual-*-judge workflows.

Test plan

  • CI conform/lint pass on the YAML.
  • After merge, confirm the workflow appears in the Actions tab.
  • Dispatch manual / kilo code <- llm judge against feat/kilo-eval-backend — smoke test should pass; scenario tests run the real DeepSeek-routed eval.

References

  • PR feat: add Kilo Code eval backend #16 — the full feature branch with driver + tests + first-class kilo agent target
  • docs/internal/adding-agent-eval-backend.md §6 — explains why this two-PR pattern is needed

tsaqib added 2 commits May 26, 2026 01:02
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]>
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]>
tsaqib added a commit that referenced this pull request May 26, 2026
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 file is being added to main via
feat/kilo-workflows-only (#17) so the two PRs land identical content
and don't conflict on merge.

The user-scope conftest path was already wired in the previous commit
on this branch — the workspace fixture reads X_X_INSTALL_SCOPE and
logs the resolved skills dir under either .kilo/skills/ (project) or
~/.kilo/skills/ (user). No code change here, workflow file only.

Signed-off-by: Tanzim Saqib <[email protected]>
@tsaqib
tsaqib merged commit 3e59695 into main May 26, 2026
2 checks passed
@tsaqib
tsaqib deleted the feat/kilo-workflows-only branch May 26, 2026 05:07
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