a2ui-project / a2ui-project/a2ui

Add GEMINI_API_KEY as env variable for bot runs, to enable live tests.

オープン
#1,833 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
component: genui P2
主要言語
TypeScript
スター
16.4k
フォーク
1.3k
平均マージ
2日 13時間
マージ済み PR(30日)
134

説明

_↴ Ported from [flutter/genui#440](https://github.com/flutter/genui/issues/440) — originally opened by [polina-c](https://github.com/polina-c) on 2025-10-24._
_Original labels: P2, c: ebb_

---

Add GEMINI_API_KEY as env variable for bot runs and remove this condition, to start exercising tests against real model.

https://github.com/flutter/genui/blob/5c94d892666ea5935bb2b59e0aca94ef91c84a61/examples/custom_backend/test/backend_api_test.dart#L18

It will need to setup environment on github.

The tests can be configured to run on schedule, not on pre-submit, so that they are not blocking development.
In this case we will see results in the tab 'Actions'.

---

### 1 comment(s) from the original issue

**[jacobsimionato](https://github.com/jacobsimionato)** commented on 2025-11-03:

Removing the milestone label because this is a general purpose issue that would benefit the entire project.

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

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

調査の方向性

The issue points to a specific test file: examples/custom_backend/test/backend_api_test.dart, line 18. First, examine that line to understand the condition that needs removal. Then, research how to add GEMINI_API_KEY as a GitHub Actions secret and configure the workflow to run on a schedule. Look for existing GitHub Actions workflows in the repository to understand the pattern. The goal is to enable live tests against the Gemini API without blocking pre-submit checks.

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

評価

技術スタック
dart, github-actions, typescript
領域
backend-api-design, ci-cd, testing
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
65/100

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

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