Migrate YAML workflow Examples to DSL
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず test/dsl/support/functional_test.rb と test/dsl/functional/roast_dsl_examples_test.rb から始めて、既存の DSL VCR インフラストラクチャとテストケースを理解します。次に dsl/simple_chat.rb と dsl/simple_agent.rb を調べます。chat と agent の例に機能カバレッジがあり、HTTP インタラクションが記録または再生され、外部依存関係なしでテストが CI 上で安定して実行されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
This issue tracks adding VCR (Video Cassette Recorder) infrastructure to DSL functional tests, enabling HTTP request recording/playback for testing workflows that make API calls without requiring real credentials or incurring costs.
Context
Currently, DSL functional tests only cover workflows that don't make HTTP requests (like loops, conditionals, file operations). We need VCR support to test chat and agent workflows that interact with external APIs.
Implementation Tasks
✅ Core VCR Infrastructure
- Implement VCR for the DSL functional tests (refer to how @dersam set it up for the legacy functional tests in
test/support/functional_test.rb, but leave that setup as-is)
🔄 Basic Chat Workflow Tests
- Add the
dsl/simple_chat.rbexample DSL workflow to the functional test suite - Write some additional example workflows that use chat in more interesting, complex, real-world ways, with VCR to run them in tests
🔄 Agent Workflow Support
- Figure out a good way to mock agent calls in functional tests
- Add a functional test case for
dsl/simple_agent.rbusing that mocking setup - Write some additional example workflows that use agent (perhaps in combination with chat) and hook them up as functional tests
Success Criteria
- DSL functional tests can record/playback HTTP requests for chat workflows
- Agent workflows can be tested with appropriate mocking
- New example workflows demonstrate real-world usage patterns
- All tests run reliably in CI without external dependencies
Related Files
test/dsl/support/functional_test.rb- DSL VCR infrastructuretest/dsl/functional/roast_dsl_examples_test.rb- Test casesdsl/simple_chat.rb- Basic chat exampledsl/simple_agent.rb- Basic agent example
- 主要言語
- Ruby
- スター
- 1.3k
- フォーク
- 80
- 平均マージ
- 21分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Shopify/roast のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
Shopify/roast#1009 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
KevinSaison/fuchikoma#14 ·
-
Mend: dependency security vulnerability
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
PowerShell session to_cmd doesn't escape embedded newlines/carriage returns, allowing statement injection対応中かも @kx7m2qd が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rapid7/metasploit-framework#22230 ·
メンテナーはふだん 2 日以内に返信
-
blast/small refactor risk/medium spend-dem
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
chriskelly/MusicWall#83 ·
メンテナーはふだん 1 日以内に返信