Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 18, 2026

Implementation Complete: smoke-opencode Workflow

  • Create .github/workflows/smoke-opencode.md workflow file
    • Configure custom engine with OpenCode shared configuration
    • Set up proper permissions (contents, issues, pull-requests)
    • Configure triggers (schedule: daily, workflow_dispatch, pull_request)
    • Import shared/opencode.md for OpenCode engine setup
    • Configure safe-outputs for issue creation and commenting
    • Define test requirements (removed Tavily and gh.md due to custom engine limitations)
  • Compile the workflow to generate .github/workflows/smoke-opencode.lock.yml
  • Validate the compiled workflow structure
  • Run smoke test validation (fmt, lint, test) - ALL PASSED ✅
  • Update schedule to daily per feedback
  • Merge main branch (multiple times to keep up-to-date)
  • Standardize serena tool configuration syntax to languages: { go: {} }
  • Recompile all workflows to apply fixes
  • Format and lint all code

Changes Made

  1. Updated schedule from every 12h to daily to align with other smoke test workflows
  2. Merged latest changes from main branch multiple times:
    • Initial merge with serena standardization
    • Merged main with Docker image TOCTOU fix, campaign cleanup, action version resolution improvements
    • Merged main with validation error improvements, test coverage additions, markitdown fix
  3. Updated serena configuration from legacy serena: ["go"] to standard syntax serena: { languages: { go: {} } }
  4. Recompiled all workflows (132 workflows) to apply:
    • Custom engine syntax fix
    • Action pin updates
    • Latest compiler changes
  5. Formatted all code (JavaScript, JSON, Go)
  6. Passed all linting checks

Technical Details

The workflow uses opencode-ai (npm package) as the custom agentic engine:

  • Model: anthropic/claude-sonnet-3.5
  • Version: 0.15.13
  • MCP Integration: Automatic MCP server configuration with format transformation
  • Tests: GitHub MCP, Serena Go, Playwright, file operations, bash commands
  • Safe Outputs: Issue creation, PR comments, label application

The shared/opencode.md configuration provides a reusable setup for OpenCode custom engine integration that can be imported by other workflows.

Original prompt

Implement a smoke-opencode integrating opencode (see GitHub) as a custom agentic engine in a shared workflow


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.


Changeset

  • Type: patch
  • Description: Adds a smoke-opencode workflow to validate OpenCode (sst/opencode) as a custom agentic engine via a shared workflow configuration. The changeset file is .changeset/patch-smoke-opencode-workflow.md.

Ahoy! This treasure was crafted by 🏴‍☠️ Changeset Generator


Changeset

  • Type: patch
  • Description: Adds a smoke-opencode workflow to validate OpenCode (sst/opencode) as a custom agentic engine via a shared workflow configuration.

Ahoy! This treasure was crafted by 🏴‍☠️ Changeset Generator


Changeset

  • Type: patch
  • Description: Adds a smoke-opencode workflow to validate OpenCode (sst/opencode) as a custom agentic engine via a shared workflow configuration.

Ahoy! This treasure was crafted by 🏴‍☠️ Changeset Generator


Changeset

  • Type: patch
  • Description: Adds a smoke-opencode workflow to validate OpenCode (sst/opencode) as a custom agentic engine via a shared workflow configuration.

Ahoy! This treasure was crafted by 🏴‍☠️ Changeset Generator

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement smoke-opencode integration as custom agentic engine Add smoke-opencode workflow for OpenCode custom engine integration Jan 18, 2026
Copilot AI requested a review from pelikhan January 18, 2026 13:19
---
description: Smoke test workflow that validates OpenCode custom engine functionality by reviewing recent PRs twice daily
on:
schedule: every 12h
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot daily

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed schedule to daily in commit 7044761

@github-actions
Copy link
Contributor

github-actions bot commented Jan 18, 2026

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions
Copy link
Contributor

github-actions bot commented Jan 18, 2026

⚠️ MISSION ABORT... Smoke OpenCode failed! Houston, we have a problem...

@github-actions
Copy link
Contributor

github-actions bot commented Jan 18, 2026

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions
Copy link
Contributor

github-actions bot commented Jan 18, 2026

🎬 THE ENDSmoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨

@github-actions
Copy link
Contributor

github-actions bot commented Jan 18, 2026

🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰

@github-actions
Copy link
Contributor

GitHub MCP (last 2 merged PRs): ✅
[WIP] Merge add reactions step into activation job
Treat container image validation as warning instead of error
Serena go version: ❌ (no serena exec tool)
Playwright title check: ✅
Tavily search: ✅
File write: ✅
Bash cat: ✅
Overall: FAIL

AI generated by Smoke Codex

@github-actions
Copy link
Contributor

Smoke Test Results

Last 2 Merged PRs:

✅ GitHub MCP | ❌ Serena Go | ✅ Playwright | ✅ File Writing | ✅ Bash Tool

Overall Status: FAIL (4/5 passed, Go command not available)

AI generated by Smoke Copilot

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@github-actions
Copy link
Contributor

Smoke Test Results

PR #10546: Move campaign-generator from .github/workflows to .github/aw
PR #10564: Fix smoke tests referencing nonexistent serena-go tool

✅ GitHub MCP
✅ Serena
✅ Playwright
✅ Tavily
✅ File Writing
✅ Bash

Overall: PASS

AI generated by Smoke Claude

@github-actions
Copy link
Contributor

github-actions bot commented Jan 18, 2026

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 2026

🎬 THE ENDSmoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨

@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 2026

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 2026

🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰

@github-actions
Copy link
Contributor

github-actions bot commented Jan 19, 2026

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions
Copy link
Contributor

Smoke Test: Copilot - ✅ PASS

Last 2 PRs:

Results: ✅ GitHub MCP | ✅ Serena | ✅ Playwright | ✅ File Write | ✅ Bash

@pelikhan

AI generated by Smoke Copilot

@github-actions
Copy link
Contributor

Smoke Test (Codex)
GitHub MCP: ✅ (Fix TOCTOU race condition in Docker image download logic; chore: campaign generation cleanup)
Serena go version: ❌
Playwright title contains GitHub: ✅
Tavily search results: ✅
File write + cat: ✅
Overall: FAIL

AI generated by Smoke Codex

@github-actions
Copy link
Contributor

Smoke Test Results

PRs:

✅ GitHub MCP
✅ Serena Go
✅ Playwright
✅ Tavily
✅ File Writing
✅ Bash Tool

Overall Status: PASS

AI generated by Smoke Claude

@pelikhan
Copy link
Contributor

Configure open-code to use copilot-cli. Look up the required model names and update the shared agentic-workflow accordingly. @copilot

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 19, 2026

Configure open-code to use copilot-cli. Look up the required model names and update the shared agentic-workflow accordingly. @copilot

Configured OpenCode to use GitHub Copilot CLI in commit 7dd48cc. Changes:

  • Switched from opencode-ai npm package to gh copilot (GitHub Copilot CLI extension)
  • Updated model to gpt-5-mini (Copilot's fastest model, optimized for code tasks)
  • Updated version to 0.0.384 (latest Copilot CLI version from constants)
  • Simplified MCP config (Copilot CLI uses same format as gh-aw, no transformation needed)
  • Uses GITHUB_TOKEN authentication
  • Supports multiple models: gpt-5, gpt-5-mini, gpt-5.2, gpt-4.1, Claude, Gemini

Copilot AI changed the title Add smoke-opencode workflow for OpenCode custom engine integration Add smoke-opencode workflow using GitHub Copilot CLI custom engine integration Jan 19, 2026
@pelikhan pelikhan closed this Jan 20, 2026
@pelikhan pelikhan reopened this Jan 20, 2026
@pelikhan
Copy link
Contributor

@copilot revert 7dd48cc and merge main

Copilot AI and others added 3 commits January 20, 2026 02:20
…model"

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Jan 20, 2026

@copilot revert 7dd48cc and merge main

Reverted commit 7dd48cc (commit 88a524c) and merged main (commit 933845a). The workflow now uses opencode-ai with anthropic/claude-sonnet-3.5 model as before. Also fixed an unused function lint error from the merge.

Copilot AI changed the title Add smoke-opencode workflow using GitHub Copilot CLI custom engine integration Add smoke-opencode workflow for OpenCode custom engine integration Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants