Skip to content

Conversation

@zenibako
Copy link
Owner

  • Created tests/integration.bun.test.ts with comprehensive Bun runtime tests
  • Added bun-integration job to CI workflow with 4 test scenarios
  • Updated package.json with test:bun script
  • Modified ci-success job to include Bun integration tests
  • Tests validate ES module loading, dependency resolution, and plugin execution
  • Emulates ~/.config/opencode plugin loading pattern in Bun environment

@github-actions
Copy link

PR Validation Results

✅ All checks completed!

Coverage report not available

Build artifacts generated successfully.

@github-actions
Copy link

PR Validation Results

✅ All checks completed!

Test Coverage

  • Statements: 98.38%
  • Branches: 90%
  • Functions: 100%
  • Lines: 98.36%

Build artifacts generated successfully.

@codecov
Copy link

codecov bot commented Nov 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions
Copy link

PR Validation Results

✅ All checks completed!

Test Coverage

  • Statements: 98.38%
  • Branches: 90%
  • Functions: 100%
  • Lines: 98.36%

Build artifacts generated successfully.

The package needs to be in BOTH devDependencies and peerDependencies:
- devDependencies: Required for TypeScript compilation and testing in CI
- peerDependencies: Required for users when they install the plugin

Without it in devDependencies, the build fails with:
"Cannot find module '@opencode-ai/plugin'"
@github-actions
Copy link

PR Validation Results

✅ All checks completed!

Test Coverage

  • Statements: 98.38%
  • Branches: 90%
  • Functions: 100%
  • Lines: 98.36%

Build artifacts generated successfully.

@zenibako zenibako merged commit b324db9 into main Nov 24, 2025
9 checks passed
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.

2 participants