Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Run init evals on CI

オープン
#290 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
github-actions

調査の方向性

まず test/init-eval/ と、コミット d5d0b22 における以前のワークフローを確認し、その後 Mastra サーバーを CI にどのように提供するかを決定します。要求されたトリガー、環境シークレット、同時実行設定、6 プラットフォームのマトリックスを含む .github/workflows/init-eval.yml を追加します。CI で eval スイートが正常に実行されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Summary

Set up a CI workflow to run the test/init-eval/ eval suite automatically (on PRs and/or on a schedule).

Context

The eval tests exercise sentry init against real project templates and use an LLM judge to score correctness. They currently only run locally because they require a running Mastra API server.

The Mastra agent lives in https://github.com/getsentry/cli-init-api/.

Requirements

  • Mastra server: Either deploy a persistent dev instance or spin one up as a service container in the workflow (pull from getsentry/cli-init-api).
  • GitHub environment: Create an init-eval environment with secrets:
    • MASTRA_API_URL — URL of the Mastra server
    • OPENAI_API_KEY — for the LLM judge
  • Workflow: Add .github/workflows/init-eval.yml with push/pull_request/workflow_dispatch triggers. A previous version existed but was removed in d5d0b22 — can be used as a starting point.
  • Concurrency: Use a concurrency group to cancel in-progress runs on new pushes.
  • Matrix: Run each platform (express, nextjs, python-fastapi, python-flask, react-vite, sveltekit) as a separate matrix job with fail-fast: false.

Open questions

  • Should the Mastra server be a persistent deployment (e.g. Cloudflare Worker) or spun up per-run?
  • Should this run on every PR or only on a schedule / manual trigger to save costs?
主要言語
TypeScript
スター
121
フォーク
14
平均マージ
22時間 3分
マージ済み PR(30日)
94

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/cli のほかの issue

getsentry/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。