Skip to content

ci(release): add opencode integration test job#499

Merged
sergeyklay merged 2 commits intomainfrom
ci/opencode-integration-pipeline
Apr 26, 2026
Merged

ci(release): add opencode integration test job#499
sergeyklay merged 2 commits intomainfrom
ci/opencode-integration-pipeline

Conversation

@sergeyklay
Copy link
Copy Markdown
Member

🎯 Scope & Context

Type: Chore

Intent: Adds a test-integration-opencode CI job to the release workflow, ensuring the OpenCode adapter is exercised against the real CLI before every release. Missing secrets produce a clear error; a failed test blocks the release.

Related Issues: #477

🧭 Reviewer Guide

Complexity: Low

Entry Point

.github/workflows/release.yml — the new test-integration-opencode job starts after test-integration-codex. It follows the exact same pattern as test-integration-claude: secret validation, Go setup, Node.js lts/*, npm install -g opencode-ai, then the env-gated integration test run against ./internal/agent/opencode/....

Sensitive Areas

  • .github/workflows/release.yml: the release job needs: list now includes test-integration-opencode, so a regression in this job will block all releases.

⚠️ Risk Assessment

  • Breaking Changes: No breaking changes
  • Migrations/State: No migrations or state changes

Mirrors the test-integration-claude job pattern. Uses ANTHROPIC_API_KEY,
installs opencode-ai via npm, and guards execution with SORTIE_OPENCODE_TEST=1.

The new job is added to the release needs list so a failing OpenCode
integration blocks the release.

Closes #477
@sergeyklay sergeyklay requested a review from cicdbot as a code owner April 26, 2026 18:17
Copilot AI review requested due to automatic review settings April 26, 2026 18:17
@sergeyklay sergeyklay added the area:agent-adapter Agent interface, Claude Code adapter, Copilot adapter, mock label Apr 26, 2026
@sergeyklay sergeyklay linked an issue Apr 26, 2026 that may be closed by this pull request
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an OpenCode CLI integration test gate to the release workflow so the OpenCode adapter is exercised against the real CLI before tagging/publishing a release.

Changes:

  • Introduces a new test-integration-opencode job that installs the OpenCode CLI and runs ./internal/agent/opencode/... integration tests.
  • Adds test-integration-opencode to the release job’s needs: list so failures block the release.

Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sergeyklay sergeyklay merged commit 90a26a2 into main Apr 26, 2026
5 checks passed
@sergeyklay sergeyklay deleted the ci/opencode-integration-pipeline branch April 26, 2026 18:29
@github-project-automation github-project-automation Bot moved this from Todo to Done in Sortie Roadmap Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

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

3 participants