Skip to content

Add OpenCode integration pipeline to .github/workflows/release.yml #477

@sergeyklay

Description

@sergeyklay

Add an OpenCode CLI integration test pipeline to .github/workflows/release.yml. Mirrors the existing test-integration-codex, test-integration-copilot, and test-integration-claude jobs.

The new job runs go test -race -count=1 -v -timeout 300s -run 'Integration' ./internal/agent/opencode/... with SORTIE_OPENCODE_TEST=1 and the ANTHROPIC_API_KEY secret resolved from GitHub Actions secrets. Node.js setup may be required depending on how OpenCode is distributed. The install step reflects the distribution channel.

Changes:

  • Add test-integration-opencode job to .github/workflows/release.yml following the pattern of the existing agent integration jobs.
  • Add the new job to the needs: list of the release job so a failing OpenCode integration blocks the release.
  • Use ANTHROPIC_API_KEY the same as for test-integration-claude

Blocked by #476.

Verify: the test-integration-opencode job runs on a release workflow dispatch and passes against the real OpenCode CLI. Missing secrets produce a clear error. A failed integration test fails the release.

Metadata

Metadata

Assignees

Labels

area:agent-adapterAgent interface, Claude Code adapter, Copilot adapter, mock

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions